macOS
brew install cargo-auditlocal Homebrew formula metadata
brew
cargo-audit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cargo-auditlocal Homebrew formula metadata
sudo apk add cargo-auditAlpine Linux edge package indexes · cargo-audit · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-auditnixpkgs package indexes · pkgs/by-name/ca/cargo-audit/package.nix · ソース: api.github.com
sudo pacman -S cargo-auditArch Linux sync databases · cargo-audit · ソース: geo.mirror.pkgbuild.com
sudo zypper install cargo-auditopenSUSE Tumbleweed package metadata · cargo-audit · ソース: download.opensuse.org
概要
Audit Cargo.lock files for crates with security vulnerabilities
履歴
cargo-audit is the canonical RustSec command-line tool for scanning Cargo.lock files against the RustSec Advisory Database. It is one of the Rust ecosystem's best-known supply-chain security utilities because it connects ordinary Cargo projects to a community-maintained vulnerability database.
The RustSec repository was created in February 2017 as RustSec API and tooling. cargo-audit became the user-facing Cargo subcommand for checking project lockfiles against advisories published in the RustSec Advisory Database.
The official RustSec site describes RustSec as a vulnerability database for Rust crates published through crates.io and lists cargo-audit as the get-started tool for auditing Cargo.lock files. The cargo-audit README documents lockfile auditing, advisory ignores, CI usage, an experimental fix command, and binary auditing.
cargo-audit became a standard safety check in Rust projects because it fits Cargo's workflow: install the subcommand, run it at the top level of a project, and fail CI when a dependency matches an advisory.
Distribution adoption is broad. The supplied Homebrew facts list Alpine, Homebrew, Nix, Arch Linux, and openSUSE packages, and the upstream README explicitly documents installation through Alpine, Arch Linux, Homebrew, and OpenBSD in addition to `cargo install`.
The common usage is `cargo audit` in a project containing Cargo.lock. The tool reports advisories from the RustSec database and can be wired into CI systems; the README includes examples for Travis CI and points GitHub Actions users to the RustSec audit-check action.
cargo-audit also has a binary-auditing path. The README documents `cargo audit bin`, noting that binaries built with cargo-auditable can be audited accurately because their dependency lists are embedded in the executable.
cargo-audit is package-nerd significant because it made Rust vulnerability metadata operational at package-install and CI time. For Rust projects, Cargo.lock is the exact package graph, and cargo-audit turns that graph into a security boundary.
It also helped normalize advisory-driven package hygiene in Rust. Instead of treating vulnerability feeds as external enterprise tooling, cargo-audit made them part of the everyday Cargo subcommand culture.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cargo-audit | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/rustsec/rustsec
インストールメタデータ
| パッケージキー | brew:cargo-audit |
|---|---|
| バージョン | 0.22.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cargo-audit |
| ホームページ | https://rustsec.org/ |
| リポジトリ | https://github.com/rustsec/rustsec |
| 上流ドキュメント | https://github.com/rustsec/rustsec/tree/main/cargo-audit#readme |
| ライセンス | Apache-2.0 OR MIT |
| ソースアーカイブ | https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.22.2.tar.gz |
| 最終更新 | 2026-06-05T15:11:00Z |
| Pulse | updated |
| ビルド依存関係 | rust |
| 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 | cargo-audit |
| 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 パッケージリンクとは分けて表示されます。
cargo-audit
nix profile install nixpkgs#cargo-auditcargo-audit 0.22.1-r0
Audit Cargo.lock for crates with security vulnerabilities
https://github.com/RustSec/rustsec
sudo apk add cargo-auditcargo-audit-doc 0.22.1-r0
Audit Cargo.lock for crates with security vulnerabilities (documentation)
https://github.com/RustSec/rustsec
sudo apk add cargo-audit-doccargo-audit 0.22.2-1
Audit Cargo.lock for crates with security vulnerabilities
https://github.com/RustSec/cargo-audit
sudo pacman -S cargo-auditcargo-audit 0.22.1~git0.efcde93-2.4
Audit rust sources for known security vulnerabilities
https://github.com/RustSec/cargo-audit
sudo zypper install cargo-auditソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.