Who it is forAn engineer on an air-gapped or privacy-sensitive build machine.
The problemSending dependency lists to an external API is not always allowed.
The outcomeA vulnerability scan that runs against a local database.
What you need first
- A prebuilt binary from the releases page, or Go to run go install
- A project directory with lockfiles or manifests, or a container image
- Network access to OSV.dev, unless you use offline mode
Steps
- Install OSV-Scanner from the releases page
- Run
osv-scanner --offline --download-offline-databases ./path/to/your/dironce with network access - Rerun the same command later without a connection
- Review the findings
Prompt for your agent
Using google/osv-scanner, run `osv-scanner --offline --download-offline-databases ./path/to/your/dir` on <my project> and report the vulnerabilities found.
Caveat. The database can also be downloaded manually per the README.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for google/osv-scanner and "Scan dependencies without a network connection"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer