Cargo Supply Chain Audit

•
147
•

Audits Rust crates and Cargo dependencies for supply chain vulnerabilities, malicious build scripts, and metadata anomalies.

This skill provides a comprehensive framework for securing Rust projects by auditing the supply chain of Cargo crates. It automates the verification of checksums against lockfiles, inspects published .crate tarballs for provenance via .cargo_vcs_info.json, and reviews high-risk surfaces like build.rs scripts and procedural macros. By integrating with industry-standard tools like cargo-audit, cargo-deny, and cargo-vet, it helps developers detect compromised maintainers, yanked versions, and unauthorized code execution at build time before they impact your production environment.

주요 기능

01Provenance tracking via .cargo_vcs_info.json and crates.io metadata
02Security review of build.rs and procedural macro execution vectors
03Integration with RustSec advisory database and cargo-vet trust policies
04Checksum and lockfile verification to prevent dependency tampering
05147 GitHub stars
06Automated diffing of published crate sources between version bumps

사용 사례

01Investigating suspicious version updates or potential maintainer account compromises
02Enforcing organizational trust policies and licensing compliance for Cargo crates
03Reviewing third-party dependencies before integration into a production Rust project