macOS
brew install cargo-auditlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-audit in AI-Agent-Workflows.
Installation
brew install cargo-auditlocal Homebrew formula metadata
sudo apk add cargo-auditAlpine Linux edge package indexes · cargo-audit · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-auditnixpkgs package indexes · pkgs/by-name/ca/cargo-audit/package.nix · Quelle: api.github.com
sudo pacman -S cargo-auditArch Linux sync databases · cargo-audit · Quelle: geo.mirror.pkgbuild.com
sudo zypper install cargo-auditopenSUSE Tumbleweed package metadata · cargo-audit · Quelle: download.opensuse.org
Überblick
Audit Cargo.lock files for crates with security vulnerabilities
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cargo-audit | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/rustsec/rustsec
Installationsmetadaten
| Paketschlüssel | brew:cargo-audit |
|---|---|
| Version | 0.22.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cargo-audit |
| Homepage | https://rustsec.org/ |
| Repository | https://github.com/rustsec/rustsec |
| Upstream-Dokumentation | https://github.com/rustsec/rustsec/tree/main/cargo-audit#readme |
| Lizenz | Apache-2.0 OR MIT |
| Quellarchiv | https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.22.2.tar.gz |
| Zuletzt aktualisiert | 2026-06-05T15:11:00Z |
| Pulse | updated |
| Build-Abhängigkeiten | rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-auditQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.