macOS
brew install osv-scannerlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de osv-scanner pour les workflows d'agents IA.
installation
brew install osv-scannerlocal Homebrew formula metadata
sudo apk add osv-scannerAlpine Linux edge package indexes · osv-scanner · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#osv-scannernixpkgs package indexes · pkgs/by-name/os/osv-scanner/package.nix · Source: api.github.com
sudo pacman -S osv-scannerArch Linux sync databases · osv-scanner · Source: geo.mirror.pkgbuild.com
sudo zypper install osv-scanneropenSUSE Tumbleweed package metadata · osv-scanner · Source: download.opensuse.org
scoop install main/osv-scannerScoop official bucket manifest trees · bucket/osv-scanner.json · Source: api.github.com
winget install --id Google.OSVScanner -eWindows Package Manager source index · Google.OSVScanner · Source: cdn.winget.microsoft.com
aperçu
Vulnerability scanner which uses the OSV database
historique
OSV-Scanner is Google's command-line vulnerability scanner for matching project dependencies, source trees, SBOMs, and container contents against the OSV.dev vulnerability database. It is significant because it turns the OSV schema and distributed advisory corpus into a developer-facing tool that package maintainers, security teams, and CI systems can run without buying into a proprietary advisory database.
Google's GitHub repository records `google/osv-scanner` as created on 2022-11-14, and the Google Online Security Blog announced OSV-Scanner on 2022-12-13 as a free tool from the Google Open Source Security Team. The announcement framed it as an access layer for OSV vulnerability information: it would scan manifests, lockfiles, SBOMs, and git directories, then report known vulnerabilities affecting the discovered packages.
The project later moved beyond a thin OSV lookup client. Its README describes OSV-Scanner as both the officially supported frontend to the OSV database and a CLI interface to OSV-Scalibr, Google's extraction/scanning library. The V2 line added broader package extraction, OS package detection, container image scanning, license scanning through deps.dev data, offline database downloads, and guided remediation workflows for selected ecosystems.
OSV-Scanner's adoption path is closely tied to OSV.dev itself. OSV.dev presents OSV as an open, precise, distributed vulnerability database and publishes GitHub workflows that run OSV-Scanner in CI/CD. That made the scanner useful not just as a local audit command, but also as a reusable supply-chain check for pull requests and scheduled repository scans.
Package-manager availability widened the audience beyond Go developers: the input metadata records packages for Homebrew, Alpine, Nix, Arch, Scoop, winget, and zypper. Homebrew packaging is especially important for a CLI security tool because it lets macOS developers add the scanner to local and CI environments with the same command style they use for other developer tools.
Developers use OSV-Scanner to recursively scan a source directory, point it at lockfiles and manifests, scan SBOMs, or inspect container images. Its documented `scan source` and `scan image` modes cover the common package-nerd cases: checking npm, Go, Maven, PyPI, Cargo, RubyGems, Composer, NuGet, and other ecosystem metadata against advisories.
Security teams use it in automation because the output is tied to machine-readable OSV records and because it can run without a custom service. The README also documents offline scanning after downloading local OSV databases, which matters for reproducible audits and restricted build environments.
OSV-Scanner is package-nerd infrastructure: it operationalizes lockfile parsing, package URL/ecosystem mapping, advisory matching, and remediation suggestions. Its significance is not just that it scans dependencies, but that it exposes how much package metadata quality determines vulnerability precision.
The tool also sits at the intersection of multiple package ecosystems and OS package databases. For av.db-style metadata, it is a useful example of a CLI whose value comes from being able to understand many package managers consistently rather than from managing one package format deeply.
posture de sécurité
escape, surveillance, or offensive capability signal.
risque red · confiance moyen · escape-surveillance-offensive
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
osv-scanner.tomlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
osv-scanner | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/google/osv-scanner
métadonnées d'installation
| Clé du paquet | brew:osv-scanner |
|---|---|
| Version | 2.4.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/osv-scanner |
| Page d'accueil | https://google.github.io/osv-scanner/ |
| Dépôt | https://github.com/google/osv-scanner |
| Docs amont | https://github.com/google/osv-scanner#readme |
| Licence | Apache-2.0 |
| Archive source | https://github.com/google/osv-scanner/archive/refs/tags/v2.4.0.tar.gz |
| Dernière mise à jour | 2026-06-18T16:37:24Z |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | osv-scanner |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
osv-scanner
nix profile install nixpkgs#osv-scannerosv-scanner 2.3.8-r1
Vulnerability scanner written in Go which uses the data provided by https://osv.dev
https://github.com/google/osv-scanner
sudo apk add osv-scannerosv-scanner 2.3.8-1
Vulnerability scanner written in Go which uses the data provided by https://osv.dev
https://github.com/google/osv-scanner
sudo pacman -S osv-scannerosv-scanner 2.3.8-1.1
Vulnerability scanner written in Go
https://github.com/google/osv-scanner
sudo zypper install osv-scannermain/osv-scanner
scoop install main/osv-scannerGoogle.OSVScanner
winget install --id Google.OSVScanner -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.