← Explore all skills

TESTING / trailofbits

LibAFL Fuzzer Architecture

Design a custom fuzzer from observers, feedback, objectives, schedulers and executors.

“Builds custom fuzzers with LibAFL, the modular Rust fuzzing library. Covers composing observers, feedbacks, mutators, schedulers, and executors into a fuzzer for targets the standard”

01 / THE REASONING

Why this made the selection.

  • LibAFL is presented as a Rust library for a custom fuzzer when libFuzzer or AFL++ do not fit the target.
  • The install steps clone AFLplusplus/LibAFL and build with a host LLVM. The library is not vendored in this skill.
  • The definition explains observer/feedback/objective roles, corpus persistence, compiler wrapping and optional backtrace-based crash deduplication.
  • Choose custom corpus/feedback behavior beyond a standard libFuzzer harness

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • plugins/testing-handbook-skills/skills/libafl/SKILL.md
  • LICENSE
  • README.md

Our findings

  • Getting the library means cloning GitHub and running the upstream build script. The skill has no offline copy.
  • It is the wrong default when a stock libFuzzer or AFL++ target is enough, which is the comparison the file itself draws.
  • It does not hide duplicate crashes from the same bug on purpose. The text says to avoid storing those duplicates.
  • The definition explains observer/feedback/objective roles, corpus persistence, compiler wrapping and optional backtrace-based crash deduplication.

Not established by this review

  • The resource was not executed and its tools were not called.
  • LibAFL was not cloned or built.
  • No skill execution, authenticated service operation, or outcome benchmark was performed.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add trailofbits/skills/plugins/testing-handbook-skills/skills/libafl

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/trailofbits/skills/tree/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/testing-handbook-skills/skills/libafl
  1. Install the pinned skill directory interactively, retaining its bundled references and scripts.
  2. Select compatibility mode or a custom Rust design, then use matching upstream examples and dependency versions.
  3. Verify instrumentation and a seed input before a long run; choose persistent corpus storage and bounded worker/core allocation.

Before you start

  • Rust and a compatible LLVM/Clang toolchain
  • Build dependencies for the chosen LibAFL revision

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Pinned skill definition ↗Checked

    https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/testing-handbook-skills/skills/libafl/SKILL.md

    Supports: summary, whySelected, bestFor, limitations, install, access, review

  2. https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/README.md

    Supports: install

  3. CC-BY-SA-4.0 licence ↗Checked

    https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/LICENSE

    Supports: license

Evidence & Ask