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 Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments