ossfuzz

Other Community

Skill notes

Overview

OSS-Fuzz provides a simple CLI framework for building and starting harnesses or calculating their coverage. Additionally, OSS-Fuzz can be used as a service that hosts static web pages generated from fuzzing outputs such as coverage information.

Key Concepts

Concept · Description helper.py · CLI script for building images, building fuzzers, and running harnesses locally Base Images · Hierarchical Docker images providing build dependencies and compilers project.yaml · Configuration file defining project metadata for OSS-Fuzz enrollment Dockerfile · Project-specific image with build dependencies

When to Apply

Apply this technique when: Setting up continuous fuzzing for an open-source project Need distributed fuzzing infrastructure without managing servers Want coverage reports and bug tracking integrated with fuzzing Testing existing OSS-Fuzz harnesses locally

Quick Reference

Task · Command Clone OSS-Fuzz · git clone https://github.com/google/oss-fuzz Build project image · uv run --no-project python infra/helper.py build_image --pull <project> Build fuzzers with ASan · uv run --no-project python infra/helper.py build_fuzzers --sanitizer=address <project> Run specific harness · uv run --no-project python infra/helper.py run_fuzzer <project> <harness>

OSS-Fuzz Project Components

OSS-Fuzz provides several publicly available tools and web interfaces:

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@trailofbits · no license declared
Token usage
Lean
Setup complexity
Manual integration
External API key
Not required
Operating systems
Linux · Docker
Runtime requirements
Python · Docker
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
  • Env read
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview ossfuzz.preview
# Pattern: Running irssi Example

# Clone and navigate to OSS-Fuzz
git clone https://github.com/google/oss-fuzz
cd oss-fuzz

# Build and run irssi fuzzer
uv run --no-project python infra/helper.py build_image --pull irssi
uv run --no-project python infra/helper.py build_fuzzers --sanitizer=address irssi
uv run --no-project python infra/helper.py run_fuzzer irssi irssi-fuzz

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.