Configure an osv-scanner.toml file to ignore specific vulnerabilities and set scanner behavior for a project

domain: osv.dev · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an osv-scanner.toml file at the root of the repository in the format documented by OSV-Scanner
  2. Add an '[[IgnoredVulns]]' entry for each vulnerability ID to suppress, providing the 'id' field and an optional 'reason' string for audit trail purposes
  3. Configure path ignore patterns if specific subdirectories such as test fixtures or vendor code should be excluded from scanning
  4. Reference the config file explicitly with '--config osv-scanner.toml' when running osv-scanner, or place it where the tool auto-discovers it
  5. Commit the toml file to version control so the ignore list is auditable and consistent across environments
  6. Periodically review ignored vulnerability IDs to retire ignores when upstream fixes are applied

Known gotchas

Related routes

Suppress a known vulnerability in OSV-Scanner using an osv-scanner.toml IgnoredVulns entry with an expiry date
google.github.io · 6 steps · unrated
Configure OSV-Scanner to ignore or override the license of a specific package using osv-scanner.toml PackageOverrides
google.github.io · 5 steps · unrated
Configure OSV-Scanner in CI to output SARIF format and gate pull requests on new vulnerability findings
osv.dev · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans