cargo-audit – Cargo subcommand

cargo-audit is a Cargo subcommand for Rust projects that checks the dependencies recorded in Cargo.lock against the RustSec Advisory Database to help identify crates with known security vulnerabilities.

It’s designed to be run from the top level of a Cargo project and also includes functionality for remediating vulnerable requirements and auditing compiled binaries.

This is free and open source software.

Key Features

  • Provides an experimental cargo audit fix subcommand that can automatically update vulnerable dependency requirements in Cargo.toml.
  • Includes a cargo audit bin subcommand for auditing compiled binaries.
  • Works especially well with binaries built using cargo auditable, where dependency information is embedded in the executable.
  • Lets users ignore specific advisories with the --ignore option or via an audit.toml configuration file.
  • Distributed as the cargo-audit crate and categorized as a Cargo plugin for Rust development workflows.

Website: github.com/rustsec/rustsec/tree/main/cargo-audit
Support:
Developer: RustSec Project Contributors
License: Apache License 2.0 or MIT License

cargo-audit is written in Rust. Learn Rust with our recommended free books and free tutorials.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted