Automic VaultAutomic Vault

brew

cargo-audit mit Homebrew, apk, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-audit in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cargo-audit

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add cargo-audit

Alpine Linux edge package indexes · cargo-audit · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#cargo-audit

nixpkgs package indexes · pkgs/by-name/ca/cargo-audit/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S cargo-audit

Arch Linux sync databases · cargo-audit · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install cargo-audit

openSUSE Tumbleweed package metadata · cargo-audit · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Audit Cargo.lock files for crates with security vulnerabilities

Befehle und Aliase

  • cargo-audit

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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`.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2017: rustsec/rustsec repository created on GitHub.
  • 2021: GitHub releases include cargo-audit/v0.16.0 under the rustsec repository release scheme.
  • 2026: RustSec site continues to list cargo-audit as primary tooling for Cargo.lock vulnerability auditing.

Related projects

  • cargo-audit is tied directly to the RustSec Advisory Database and the RustSec advisory-db repository where vulnerabilities are reported.
  • Related tools include cargo-auditable for binary dependency embedding, audit-check for GitHub Actions, cargo-deny for broader dependency policy checks, and reachsec as an experimental reachability companion mentioned by the cargo-audit README.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cargo-auditcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-25
Manager-Version0.22.2
Manager aktualisiert2026-06-05
lokale DatenOK
Upstreamaktuell
neueste erkannte Versioncargo-audit/v0.22.2

https://github.com/rustsec/rustsec

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cargo-audit
Version0.22.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cargo-audit
Homepagehttps://rustsec.org/
Repositoryhttps://github.com/rustsec/rustsec
Upstream-Dokumentationhttps://github.com/rustsec/rustsec/tree/main/cargo-audit#readme
LizenzApache-2.0 OR MIT
Quellarchivhttps://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.22.2.tar.gz
Zuletzt aktualisiert2026-06-05T15:11:00Z
Pulseupdated
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-audit
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

cargo-audit

nix profile install nixpkgs#cargo-audit
  • normalized package name match
  • Abgeglichen nach: Cargo Audit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-audit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-audit 0.22.1-r0

Audit Cargo.lock for crates with security vulnerabilities

https://github.com/RustSec/rustsec

sudo apk add cargo-audit
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-audit
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cargo Audit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-audit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-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-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-audit
  • normalized package name match
  • Abgeglichen nach: Cargo Audit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-audit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

cargo-audit 0.22.2-1

Audit Cargo.lock for crates with security vulnerabilities

https://github.com/RustSec/cargo-audit

sudo pacman -S cargo-audit
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cargo Audit
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-audit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

cargo-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
  • License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR
  • Category: Development/Languages/Rust
  • Architecture: x86_64
  • Source Package: cargo-audit
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cargo Audit
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cargo-audit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment