
Libafl
Build a bespoke fuzzer from LibAFL's modular Rust components for targets that standard fuzzers cannot handle.
- skills.sh installs
- 5.7K
- GitHub stars
- 8.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers composing observers, feedbacks, objectives, mutators, schedulers, and executors into a custom fuzzer
- Includes a libFuzzer drop-in mode (
libafl_libfuzzer_runtime/build.sh) and a Rust library mode built onlibafl0.13 crates - Provides a compiler wrapper (
libafl_cc) that adds coverage instrumentation to the target build automatically - Designed for custom mutators, non-standard architectures, and fuzzing research where libFuzzer and AFL++ lack control
Install
$ npx -y skills add trailofbits/skills --skill libafl -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
LibAFL
LibAFL is a modular fuzzing library that implements features from AFL-based fuzzers like AFL++. Unlike traditional fuzzers, LibAFL provides all functionality in a modular and customizable way as a Rust library. It can be used as a drop-in replacement for libFuzzer or as a library to build custom fuzzers from scratch.
When to Use
| Fuzzer | Best For | Complexity |
|---|---|---|
| libFuzzer | Quick setup, single-threaded | Low |
| AFL++ | Multi-core, general purpose | Medium |
| LibAFL | Custom fuzzers, advanced features, research | High |
Choose LibAFL when:
- You need custom mutation strategies or feedback mechanisms
- Standard fuzzers don't support your target architecture
- You want to implement novel fuzzing techniques
- You need fine-grained control over fuzzing components
- You're conducting fuzzing research
Quick Start
LibAFL can be used as a drop-in replacement for libFuzzer with minimal setup:
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
// Call your code with fuzzer-provided data
my_function(data, size);
return 0;
}
Details
- Repository
- github.com/trailofbits/skills
- Categories
- Security, Go, Rust
More from trailofbits/skills
All 74- Yara Rule Authoring5.7K
- Ruzzy5.7K
- Burpsuite Project Parser5.7K
- Skill Improver5.6K
- Zeroize Audit5.3K
- Let Fate Decide5.3K
- Mutation Testing4.9K
- Dimensional Analysis4.8K
- Diagramming Code4.8K
- Trailmark4.6K
- Audit Augmentation4.5K
- Crypto Protocol Diagram4.5K
- Trailmark Summary4.5K
- Graph Evolution4.5K
- Trailmark Structural4.5K
- Mermaid To Proverif4.4K
- Genotoxic4.4K
- Vector Forge4.4K
- C Review4.4K
- Chrome Mcp Troubleshooting2.9K
- Rust Review2.7K
- Vulnerability Triage Brocards2K
- Open Sourcing1.9K
- Github Triage1.9K
Similar to Libafl
More Security
libfuzzerSkilltrailofbits/skills5.8K installsCoverage-guided LLVM fuzzer for C/C++ harnesses, sanitizer builds, corpus handling, and campaign triage.
cargo-fuzzSkilltrailofbits/skills6K installsFuzzing harness setup and campaign runs for Rust crates using the libFuzzer backend and Cargo subcommand.
fuzzingSkillmohitmishra786/low-level-dev-skills701 installsCoverage-guided fuzzing guide for C/C++ covering libFuzzer, AFL++, sanitizers, corpus management, and CI.
odin-fuzzingPluginOutlineDriven/odin-claude-plugin40 starsODIN workflows for fuzz harnesses, fuzzer setup, sanitizers, and coverage analysis.
Claude FlowMCP serverruvnet82.2K starsAI orchestration of multi-agent swarms, shared memory, and configuration via 87 MCP tools.
rust-securitySkillmohitmishra786/low-level-dev-skills672 installsRust security guidance for auditing dependencies, enforcing supply chain policy, and reviewing memory-safe FFI.