/odin-fuzzing:libaflfrom ODIN Fuzzing
Composes custom LibAFL fuzzers by selecting and combining executors, observers, feedback, mutators, schedulers, and objectives around a target. Writes Rust source artifacts.
Ships in ODIN Fuzzing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User needs a custom LibAFL fuzzer, observer, feedback, mutator, scheduler, or executor composition. |
| Authority | Reversible local: writes named local Rust source artifacts, corpus entries, and objective findings under the output directory; rollback is deleting the generated crate, the output directory, or reverting VCS changes. No remote mutation. |
| Side effect | Local-write: creates or modifies Rust source files implementing the composed fuzzing engine and target integration, plus corpus entries and crash/timeout findings under the output directory. |
| Done | The composed LibAFL fuzzer compiles, runs the target, records coverage feedback, and persists objective findings to disk. |
StdScheduledMutator and HitcountsMapObserver.ExitKind). Optional; defaults to crash detection../fuzz_out.Identify the target boundary. Determine the function signature or binary entry point to fuzz. Confirm the target accepts byte-slice input (&[u8]) or can be wrapped in a BytesInput harness. Done when: the target boundary is identified and confirmed compatible with byte-slice input.
Select the executor. Choose InProcessExecutor for in-process fuzzing or ForkserverExecutor / CommandExecutor for out-of-process. InProcessExecutor has no crash isolation in-process; when crash handling is needed, select InProcessForkExecutor, which forks per execution and catches crashes in the parent. Done when: one executor is selected and crash handling is configured.
Select the observer. Create a HitcountsMapObserver backed by a CoverageMap (typically AFL-style shared memory). Wrap in MultiMapObserver if tracking multiple maps. Done when: one observer is selected and backed by a coverage map.
Select the feedback. Combine MaxMapFeedback (coverage novelty) with TimeoutFeedback or CrashFeedback for objective classification. Use feedback_or! / feedback_and! macros to compose. Done when: feedback is composed with coverage novelty and objective classification.
Select the objective. Define the stopping condition using CrashFeedback, TimeoutFeedback, or a custom ExitKind-based feedback. This determines what the fuzzer reports as a finding. Done when: one objective feedback is selected.
Select the mutator. Choose StdScheduledMutator with a stack of mutations (havoc_mutations, token_mutations, or custom). For structured inputs, implement HasMaxSize and use encoded_mutations. Done when: one mutator is selected with its mutation stack.
Select the scheduler. Use QueueScheduler for corpus cycling, PowerScheduleScheduler for power scheduling, or MinimizerScheduler wrapping another scheduler for corpus minimization. Done when: one scheduler is selected.
Assemble the fuzzer. Create a StdFuzzer with the chosen scheduler and feedback. Wire the executor, observer, and objective. Done when: the StdFuzzer is assembled with all components wired.
Set up the event manager. Use SimpleEventManager for single-process or LlmpEventManager for multi-process. Connect to a StatsMonitor (e.g., MultiMonitor printing to stdout). Done when: the event manager is set up and connected to a stats monitor.
Initialize state and corpus. Create StdState with the initial corpus directory, the feedback, and the objective. Load seed inputs from the corpus directory or provide inline BytesInput seeds. Done when: StdState is initialized with corpus and seeds loaded.
Run the fuzzer. Call fuzzer.fuzz_loop(...). The fuzzer will mutate inputs, execute the target, observe coverage, and persist new corpus entries and objective findings to the output directory. Done when: the fuzz loop runs and persists corpus entries and findings.
Verify findings. After the run, inspect the output directory for crash/timeout artifacts. Replay each finding against the target to confirm reproducibility. Done when: every finding artifact is inspected and replayed against the target.
libafl crate version in Cargo.toml. If compilation fails, check the LibAFL changelog for breaking API changes and adjust component wiring.CoverageMap is shared with the executor (e.g., via OwnedMutRawPtr or forkserver shared memory). Fix the map linkage before re-running.catch_unwind or fix the harness. Do not widen scope to debug the target itself.MapFeedback or custom IsInteresting feedback to guide toward valid input regions, or switch to a structured mutator.Compiled fuzzing engine binary in target/, live corpus in the output directory, persisted crash and timeout findings (each replayable against the target), and coverage statistics printed to the event manager monitor.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/atherisUse when a user needs coverage-guided fuzzing for Python code or a Python native extension using Atheris. Not for remote, credential, publish, deploy, or irreversible changes./cargo-fuzzUse when initializing, running, measuring coverage, or triaging a cargo-fuzz target in a Rust crate. Not for remote, credential, publish, deploy, or irreversible changes./fuzz-harness-writingUse when a user needs to create or improve a deterministic, engine-agnostic fuzz harness for raw or structured target inputs. Not for coverage measurement: use fuzzing-coverage-analysis./fuzzingUse when planning an end-to-end fuzzing program for a project: engine and target selection, corpus management, and CI or nightly wiring. Not for harness design: use fuzz-harness-writing. Not for engine operation or triage: use libfuzzer. Not for sanitizer flag reference: use sanitizers./fuzzing-coverage-analysisUse when a user needs to measure fuzz corpus coverage, explain a coverage plateau, or turn uncovered regions into campaign work. Not for harness creation: use fuzz-harness-writing./fuzzing-dictionaryUse when a parser, protocol, or file format fuzzer stalls at fixed-token validation gates and needs a coverage dictionary. Not for patching the SUT: use fuzzing-obstacles.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-fuzzingOther plugins' skills for the same job