cargo-audit checks Cargo.lock dependencies against the RustSec Advisory Database. It also scans compiled Rust binaries for known vulnerabilities. Building requires rust-opt. The supplied vendor archive allows offline compilation using the upstream Cargo.lock. Default binary scanning is enabled. The experimental fix feature is not enabled. Run "cargo audit" in a Rust project, or use "cargo-audit audit" directly. Audits normally fetch the advisory database and check the crates.io index for yanked crates. These runtime downloads are separate from the offline package build. Run audits as your normal user, not root. Use "cargo audit update-db" to fetch or refresh the advisory database without auditing a project. For offline checks, provide an existing advisory database Git repository with --db PATH and use --no-fetch --no-yanked. Offline results are only as current as that database. An example configuration is installed in /usr/doc/cargo-audit-/audit.toml.example. "cargo audit bin PATH" scans binaries. Binaries built with cargo-auditable (optional, available from SBo) contain dependency metadata for more complete scanning. Other binaries provide only partial dependency data. This tool does not perform source-level vulnerability reachability checks. Homepage: https://rustsec.org Optional cargo-auditable: https://github.com/rust-secure-code/cargo-auditable