macOS
brew install osv-scannerlocal Homebrew formula metadata
brew
osv-scanner のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install osv-scannerlocal Homebrew formula metadata
sudo apk add osv-scannerAlpine Linux edge package indexes · osv-scanner · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#osv-scannernixpkgs package indexes · pkgs/by-name/os/osv-scanner/package.nix · ソース: api.github.com
sudo pacman -S osv-scannerArch Linux sync databases · osv-scanner · ソース: geo.mirror.pkgbuild.com
sudo zypper install osv-scanneropenSUSE Tumbleweed package metadata · osv-scanner · ソース: download.opensuse.org
scoop install main/osv-scannerScoop official bucket manifest trees · bucket/osv-scanner.json · ソース: api.github.com
winget install --id Google.OSVScanner -eWindows Package Manager source index · Google.OSVScanner · ソース: cdn.winget.microsoft.com
概要
Vulnerability scanner which uses the OSV database
履歴
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.
セキュリティ状態
escape, surveillance, or offensive capability signal.
リスク red · 信頼度 中 · escape-surveillance-offensive
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
osv-scanner | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/google/osv-scanner
インストールメタデータ
| パッケージキー | brew:osv-scanner |
|---|---|
| バージョン | 2.4.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/osv-scanner |
| ホームページ | https://google.github.io/osv-scanner/ |
| リポジトリ | https://github.com/google/osv-scanner |
| 上流ドキュメント | https://github.com/google/osv-scanner#readme |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/google/osv-scanner/archive/refs/tags/v2.4.0.tar.gz |
| 最終更新 | 2026-06-18T16:37:24Z |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.