ziggy
ziggy is a fuzzer manager for Rust projects which is built to:
- launch different fuzzers in parallel with a shared corpus
- create and monitor continuous fuzzing pipelines
Feature set
- π€Ή handling of different fuzzing processes in parallel (honggfuzz, AFL++)
- ποΈ one shared corpus for all fuzzers
- π€ effortless corpus minimization
- π insightful monitoring
- π― easy coverage report generation
- πΆβπ«οΈ Arbitrary trait support
Features will also include:
- π LibAFL integration
- π¨ notification of new crashes via bash hook
Usage example
First, install ziggy and its dependencies by running:
Here is the output of the tool's help:
$ cargo ziggy
A multi-fuzzer management utility for all of your Rust fuzzing needs π§βπ€
Usage: cargo ziggy <COMMAND>
Commands:
build Build the fuzzer and the runner binaries
fuzz Fuzz targets using different fuzzers in parallel
run Run a specific input or a directory of inputs to analyze backtrace
minimize Minimize the input corpus using the given fuzzing target
cover Generate code coverage information using the existing corpus
plot Plot AFL++ data using afl-plot
add-seeds Add seeds to the running AFL++ fuzzers
triage Triage crashes found with CASR - currently only works for AFL++
stability Analyze harness stability by detecting non-deterministic code paths
clean Remove generated artifacts from the target directory
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
To create a fuzzer, simply add ziggy as a dependency.
[]
= { = "1.7.0", = false }
Then use the fuzz! macro inside your main to create a harness.
For a well-documented fuzzer, see the url example.
The output directory
After you've launched your fuzzer, you'll find a couple of items in the output/<target> directory:
- the
corpusdirectory containing the full corpus - the
crashesdirectory containing any crashes detected by the fuzzers - the
timeoutsdirectory containing any timeouts/hangs detected by the fuzzers - the
logsdirectory containing fuzzer log files - the
afldirectory containing AFL++'s output - the
honggfuzzdirectory containing Honggfuzz's output - the
queuedirectory that is used by ziggy to pass items from AFL++ to Honggfuzz
Coverage
Generate an HTML coverage report from your existing shared corpus:
The report entry point will be in ziggy's output directory at ./<target>/coverage/index.html.
It can be changed to <dir>/index.html using the -o <dir> option.
You can select different output formats or specify a custom input corpus:
Trophy case
CVE-2026-24116 was found in wasmtime by differential fuzzing with wasmi