CheckOps
OSV-Scanner
OSV-Scanner is Google's Apache-2.0 dependency vulnerability scanner and official frontend to the OSV database, covering many languages, package managers, OS packages and containers, with guided remediation and licence checks.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
OSV-Scanner finds existing vulnerabilities affecting your project’s dependencies. It is Google’s officially supported frontend to the OSV database (osv.dev) and a CLI to OSV-Scalibr, licensed Apache-2.0 with about 11,500 GitHub stars.
OSV is an open, distributed vulnerability database that aggregates advisories from ecosystems such as GitHub Security Advisories, PyPI, Go, Rust and many Linux distributions, using a precise, machine-readable format. That precision means OSV-Scanner can match affected versions accurately.
The README lists support for C/C++, Dart, Elixir, Go, Java, JavaScript, PHP, Python, R, Ruby and Rust; package managers including npm, pip, yarn, Maven, Go modules, Cargo, gem, Composer and NuGet; OS packages on Linux; and container images.
In the quality loop, OSV-Scanner is an SCA gate for pull requests and a scheduled scan for newly disclosed vulnerabilities in code that has not changed.
Features
- Lockfile and manifest scanning: Reads lockfiles and manifests across ecosystems.
- Container scanning: Checks base images and included packages.
- OS packages: Detects vulnerabilities in Linux packages.
- Guided remediation: Recommends upgrades based on dependency depth, severity, fix strategy and return on investment.
- Licence scanning: Checks dependency licences using deps.dev data.
- Offline mode: Download databases for air-gapped scanning.
- Ignore files: Configure accepted vulnerabilities with reasons.
- Output formats: Table, JSON, SARIF and more.
Pros
- Accurate data: Built on the precise OSV schema.
- Free: Apache-2.0, from Google.
- Broad ecosystems: Many languages and package managers.
- Remediation advice: Helps prioritise upgrades.
- Active: Commits on the day of review.
Cons
- Known vulnerabilities only: Does not find flaws in your own code.
- Reachability is limited: Findings may not be exploitable in your usage.
- Fix work remains: Upgrades can break things and need tests.
- CLI-centric: No built-in dashboard; use Dependency-Track or similar for portfolio views.
- Coverage varies: Some ecosystems have richer advisory data than others.
Usage and Links (Example)
Scan a project recursively:
osv-scanner scan source -r ./
Scan a container image:
osv-scanner scan image my-image:latest
Tips: run on pull requests and also nightly on the default branch, because new advisories appear even when your code does not change. Record accepted risks in the config file with a reason and review date.
Resources:
Pricing
OSV-Scanner is free and open source under Apache-2.0.
Recommended for?
- Development teams wanting free SCA in CI.
- Polyglot organisations with many package managers.
- Security teams standardising on OSV data.
- Not a fit for SAST or secrets; pair with CodeQL and Gitleaks.
Conclusion
OSV-Scanner is a free, accurate dependency scanner backed by the open OSV database, with useful remediation guidance.
Run it continuously and pair it with SAST and secret scanning for full coverage.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with OSV-Scanner side by side.
TTrivyTrivy is Aqua Security's Apache-2.0 all-in-one scanner for container images, filesystems, Git repos, VM images and Kubernetes, finding CVEs, IaC misconfigurations, secrets, licences and SBOM data.Compare with OSV-Scanner
GGrypeGrype is Anchore's Apache-2.0 vulnerability scanner for container images, filesystems and SBOMs, covering major OS package ecosystems and language packages.Compare with OSV-Scanner
DDependency-CheckOWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.Compare with OSV-Scanner
OOWASP Dependency-TrackOWASP Dependency-Track is an Apache-2.0 SBOM-driven component analysis platform that tracks components across your portfolio and flags vulnerable, outdated or policy-violating dependencies.Compare with OSV-Scanner
SSnykSnyk CLI scans and monitors your projects for security vulnerabilities.Compare with OSV-Scanner
Ppip-auditpip-audit is an Apache-2.0 PyPA tool that audits Python environments, requirements files and dependency trees for known vulnerabilities using the Python Packaging Advisory Database, and can fix them.Compare with OSV-Scanner