macOS
brew install cargo-auditlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cargo-audit pour les workflows d'agents IA.
installation
brew install cargo-auditlocal Homebrew formula metadata
sudo apk add cargo-auditAlpine Linux edge package indexes · cargo-audit · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-auditnixpkgs package indexes · pkgs/by-name/ca/cargo-audit/package.nix · Source: api.github.com
sudo pacman -S cargo-auditArch Linux sync databases · cargo-audit · Source: geo.mirror.pkgbuild.com
sudo zypper install cargo-auditopenSUSE Tumbleweed package metadata · cargo-audit · Source: download.opensuse.org
aperçu
Audit Cargo.lock files for crates with security vulnerabilities
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
cargo-audit | 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/rustsec/rustsec
métadonnées d'installation
| Clé du paquet | brew:cargo-audit |
|---|---|
| Version | 0.22.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/cargo-audit |
| Page d'accueil | https://rustsec.org/ |
| Dépôt | https://github.com/rustsec/rustsec |
| Docs amont | https://github.com/rustsec/rustsec/tree/main/cargo-audit#readme |
| Licence | Apache-2.0 OR MIT |
| Archive source | https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.22.2.tar.gz |
| Dernière mise à jour | 2026-06-05T15:11:00Z |
| Pulse | updated |
| Dépendances de compilation | rust |
| 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 | 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 |
|
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.
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-auditpiste 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.