Real protobuf CVEs, found before release.
protofuzz is one static binary. No runtime. No network. Point it at a .proto file and it does two things:
- Scans the schema for CVE-pattern vulnerabilities. A span-aware parser flags the exact constructs behind documented protobuf CVEs — recursive message references, deprecated
groupfields — with compiler-style diagnostics pointing at the offending field and line. - Generates fuzz harnesses in four languages. One command emits ready-to-run decode/round-trip harnesses for Python, C++, Go, and Rust. Snapshot tests prove all four generators emit correct code.
cargo build --release --locked ./target/release/protofuzz scan tree.proto
A schema with a recursive Tree message and a group field yields three critical findings and exit code 1. Try it on your own protos.
- CVE-pattern detection with source-span diagnostics (via
miette), rendered like compiler errors. - Harness generation:
protofuzz generate -l rust -l go -o ./harnesses schema.proto. - One static binary. CI-friendly exit codes.
- It detects schema-shape risk patterns, not runtime behavior. It flags the constructs; it does not fuzz your running service.
- The advisory catalog is small (three advisories), not a broad rule database.
- Generated harnesses are decode/round-trip templates. Running a real fuzz campaign needs a libFuzzer-capable setup.
- Requires a Rust 1.85+ toolchain to build.
Part of Zion — public infrastructure for trust in agents. The eval layer for the long-horizon era.
