Find known vulnerabilities in your project's dependencies, using OSV.dev
open sourceApache-2.0free
OSV-Scanner is Google's open source command-line scanner that matches a project's dependencies against the open OSV.dev vulnerability database. It reads lockfiles and manifests for C/C++, Dart, Elixir, Go, Java, JavaScript, PHP, Python, R, Ruby and Rust (npm, pip, yarn, Maven, Go modules, Cargo, gems, Composer, NuGet and more), OS packages on Linux and container images layer by layer, and can use call analysis to report only vulnerable functions your code actually reaches. It also scans licences, runs offline with a downloaded database, and offers guided remediation that suggests which upgrades to make. It's built on the OSV-Scalibr library and installs with Homebrew, distribution packages, release binaries or go install.
Problems it solves
- check my project's dependencies for known vulnerabilities
- scan a container image for vulnerable packages
- find out which vulnerable functions my code actually calls
- scan dependencies for vulnerabilities in CI without a paid tool
- check the licences of my dependencies
- suggest which dependency upgrades fix the most vulnerabilities
Features
- lockfiles for 11+ languages and their package managers
- OS package and layer-aware container image scanning
- call analysis to cut false positives
- licence scanning
- offline mode
- guided remediation
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what OSV-Scanner does.
- Trivy Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
- Snyk Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
- govulncheck Find known vulnerabilities that actually affect your Go code
- pip-audit Audit Python environments and dependency files for known vulnerabilities
- OWASP Dependency-Check Software composition analysis that finds publicly disclosed vulnerabilities in a project's dependencies
- bundler-audit Patch-level verification for Bundler
