All Projects → RustSec → Cargo Audit

RustSec / Cargo Audit

Licence: other
Audit Cargo.lock files for crates with security vulnerabilities

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Cargo Audit

rustsec
Audit Cargo.lock files for dependencies with security vulnerabilities
Stars: ✭ 956 (+30.07%)
Mutual labels:  cargo
Juniper
GraphQL server library for Rust
Stars: ✭ 4,187 (+469.66%)
Mutual labels:  cargo
Cargo Release
Cargo subcommand "release": everything about releasing a rust crate.
Stars: ✭ 601 (-18.23%)
Mutual labels:  cargo
blackjack
Build cargo dependencies with Bazel
Stars: ✭ 34 (-95.37%)
Mutual labels:  cargo
Cargo Lipo
Cargo subcommand to automatically create universal libraries for iOS.
Stars: ✭ 290 (-60.54%)
Mutual labels:  cargo
Kondo
Save disk space by cleaning non-essential files from software projects.
Stars: ✭ 373 (-49.25%)
Mutual labels:  cargo
crm
Cargo registry manager (Cargo 注册表管理器),用于方便的管理和更换 Rust 国内镜像源
Stars: ✭ 103 (-85.99%)
Mutual labels:  cargo
Rust Python Example
Example of using Rust to Extend Python
Stars: ✭ 699 (-4.9%)
Mutual labels:  cargo
Cargo Profiler
Cargo subcommand to profile binaries
Stars: ✭ 348 (-52.65%)
Mutual labels:  cargo
Rustfix
Automatically apply the suggestions made by rustc
Stars: ✭ 586 (-20.27%)
Mutual labels:  cargo
Wargo
Easy Rust to WebAssembly
Stars: ✭ 260 (-64.63%)
Mutual labels:  cargo
Cargo Instruments
A cargo plugin to generate Xcode Instruments trace files
Stars: ✭ 284 (-61.36%)
Mutual labels:  cargo
Tokamak
Fusion Reactor for Rust - Atom Rust IDE
Stars: ✭ 404 (-45.03%)
Mutual labels:  cargo
cargo-wix
A cargo subcommand to build Windows installers for rust projects using the WiX Toolset
Stars: ✭ 142 (-80.68%)
Mutual labels:  cargo
Mongo Rust Driver
The official MongoDB Rust Driver
Stars: ✭ 633 (-13.88%)
Mutual labels:  cargo
broom
A disk cleaning utility for developers.
Stars: ✭ 38 (-94.83%)
Mutual labels:  cargo
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (-49.93%)
Mutual labels:  cargo
Cargo Fuzz
Command line helpers for fuzzing
Stars: ✭ 725 (-1.36%)
Mutual labels:  cargo
Cargo Generate
cargo, make me a project
Stars: ✭ 686 (-6.67%)
Mutual labels:  cargo
Cargo Deny
❌ Cargo plugin for linting your dependencies 🦀
Stars: ✭ 533 (-27.48%)
Mutual labels:  cargo

cargo audit

Latest Version Build Status Safety Dance MSRV Apache 2.0 OR MIT licensed Project Chat

Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database.

Requirements

cargo audit requires Rust 1.46 or later.

Installation

cargo audit is a Cargo subcommand and can be installed with cargo install:

$ cargo install cargo-audit

Once installed, run cargo audit at the toplevel of any Cargo project.

Screenshot

Screenshot

cargo audit fix subcommand

This tool supports an experimental feature to automatically update Cargo.toml to fix vulnerable dependency requirements.

To enable it, install cargo audit with the fix feature enabled:

$ cargo install cargo-audit --features=fix

Once installed, run cargo audit fix to automatically fix vulnerable dependency requirements:

Screenshot

This will modify Cargo.toml in place. To perform a dry run instead, which shows a preview of what dependencies would be upgraded, run cargo audit fix --dry-run.

Using cargo audit on Travis CI

To automatically run cargo audit on every build in Travis CI, you can add the following to your .travis.yml:

language: rust
cache: cargo # cache cargo-audit once installed
before_script:
  - cargo install --force cargo-audit
  - cargo generate-lockfile
script:
  - cargo audit

Using cargo audit on GitHub Action

Please use audit-check action directly.

Reporting Vulnerabilities

Report vulnerabilities by opening pull requests against the RustSec Advisory Database GitHub repo:

Report Vulnerability

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].