OverviewDeveloperHacker

Fuzz a Tiny Parser: Harness, Crashes, and Triage Notes

Advanced0 enrolled · 0 submitted

Want in? Run /enroll in Discord to claim this tier before the build window closes.

The brief

Pick a small, self-contained parser and fuzz it locally, then triage what you find.

Core scope:

  • Choose a target: a small open-source parsing library (INI, JSON, URL, CSV, image header, etc.), or a deliberately buggy parser you write yourself in C or Rust.
  • Build a fuzzing harness with a free tool such as AFL++, libFuzzer, cargo-fuzz or Python Atheris, plus a small seed corpus.
  • Run it for a reasonable period (hours, not weeks), collect any crashes or hangs, and minimize them.
  • For at least one finding, explain the root cause and how you would fix it.

No novel CVE is expected. A clean harness and a clear explanation of a real (or self-planted) bug is a great outcome. If the fuzzer finds nothing, document coverage and what you tried. Only fuzz code on your own machine. If you do find a real bug in someone else's project, follow responsible disclosure.

Deliverables

  • Harness code, build instructions, and seed corpus in a public repo
  • A triage report covering run setup, time and coverage stats, and minimized crashing input(s)
  • Root-cause analysis and a proposed patch for at least one bug (real or self-planted)
  • A brief reflection on harness design choices and what you would try next

Resources

  • AFL++ docs (aflplus.plus) and the libFuzzer tutorial in the LLVM docs
  • cargo-fuzz book (Rust) or Google Atheris (Python) on GitHub
  • AddressSanitizer / UBSan documentation for triaging crashes
  • Fuzzing Book (fuzzingbook.org) for concepts and examples