Automic VaultAutomic Vault

brew

Installer cargo-audit avec Homebrew, apk, Nix, pacman, zypper

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

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install cargo-audit

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add cargo-audit

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

Nixvérifié · 92%
nix profile install nixpkgs#cargo-audit

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S cargo-audit

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

openSUSE zyppervérifié · 92%
sudo zypper install cargo-audit

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

aperçu

Résumé du paquet

Audit Cargo.lock files for crates with security vulnerabilities

Commandes et alias

  • cargo-audit

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
cargo-auditcliexécutable global

fraîcheur

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

page générée2026-07-25
version du gestionnaire0.22.2
gestionnaire mis à jour2026-06-05
données localesOK
amontà jour
dernière version détectéecargo-audit/v0.22.2

https://github.com/rustsec/rustsec

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:cargo-audit
Version0.22.2
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/cargo-audit
Page d'accueilhttps://rustsec.org/
Dépôthttps://github.com/rustsec/rustsec
Docs amonthttps://github.com/rustsec/rustsec/tree/main/cargo-audit#readme
LicenceApache-2.0 OR MIT
Archive sourcehttps://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.22.2.tar.gz
Dernière mise à jour2026-06-05T15:11:00Z
Pulseupdated
Dépendances de compilationrust
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

cargo-audit

nix profile install nixpkgs#cargo-audit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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