What problem does it solve?
Provide actionable guidance to discover and remediate dependency vulnerabilities, enforce policy, and eliminate unsafe patterns in Rust codebases so teams can reduce supply chain and memory-safety risk.
Core Features & Use Cases
- Dependency auditing: Run cargo-audit to find CVEs and integrate JSON outputs into CI pipelines.
- Policy enforcement: Configure cargo-deny to enforce license, advisory, ban, and source policies in automated checks.
- Advisory and soundness checks: Use the RUSTSEC advisory database, Miri for undefined behavior detection, and fuzzing to find security-critical bugs.
- Safe FFI guidance: Review and apply memory-safe patterns at language boundaries to avoid pointer, lifetime, and buffer risks.
- Use Case: Security engineer adds cargo-deny to CI and runs cargo-audit and fuzzing together with Miri to triage and fix a transitive dependency CVE.
Quick Start
Use the rust-security instructions to run a cargo-audit scan, enforce deny.toml policies with cargo-deny, and produce CI-friendly reports for the current repository.