Cargo Fuzz
Guides the setup, harness authoring, execution, and coverage analysis of libFuzzer-backed fuzz testing for Rust Cargo projects.
The Cargo Fuzz skill equips Claude Code with domain expertise to implement and run automated fuzzing campaigns on Rust codebases using cargo-fuzz and libFuzzer. It provides structured guidance on designing robust fuzz harnesses, applying structure-aware mutations with the arbitrary crate, configuring AddressSanitizer (ASan), managing corpus data, and generating HTML coverage reports with LLVM tools. This skill is ideal for Rust developers seeking to uncover memory corruptions, unexpected panics, and edge-case vulnerabilities across parsers, serialization formats, and unsafe code blocks.
Key Features
01Detailed HTML code coverage generation via LLVM tools and cargo-binutils
02AddressSanitizer (ASan) configuration and safe-Rust performance tuning
03Corpus seeding, dictionary integration, and crash reproduction workflows
040 GitHub stars
05Harness implementation patterns with the libfuzzer-sys and arbitrary crates
06Targeted troubleshooting for nightly toolchain and harness compilation issues
Use Cases
01Uncovering memory bugs, buffer overflows, and panics in Rust data parsers
02Measuring and closing code coverage gaps across critical Rust library functions
03Implementing structure-aware fuzz testing for complex Rust domain models