OSS-Fuzz-Gen is a companion project that helps automatically create or improve fuzz targets for open-source codebases, aiming to increase coverage in OSS-Fuzz with minimal maintainer effort. It analyses a library’s APIs, examples, and tests to propose harnesses that exercise parsers, decoders, or protocol handlers—precisely the code where fuzzing pays off. The system integrates with modern LLM-assisted workflows to draft harness code and then iterates based on build errors or low coverage signals. Importantly, it aligns with OSS-Fuzz conventions, generating corpus seeds, build rules, and sanitizer settings so projects can plug in quickly. Reports highlight what functions were targeted, how coverage evolved, and where manual hints could unlock more paths. The goal is pragmatic: shrink the gap between “we should fuzz this” and “we have robust fuzzing running in CI,” especially for understaffed maintainers.

Features

  • Automated fuzz harness generation aligned with OSS-Fuzz conventions
  • LLM-assisted iteration to fix builds and improve coverage
  • Seed corpus creation and sanitizer-ready build configurations
  • Coverage reports that pinpoint gaps and next best targets
  • Minimal maintainer overhead with reproducible scripts and PR artifacts
  • Works across many languages and parser-heavy libraries

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow OSS-Fuzz Gen

OSS-Fuzz Gen Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OSS-Fuzz Gen!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

5 days ago