Giverny

Harness Writing

Designs and improves fuzzing harnesses for C/C++ and Rust. Covers mapping raw bytes onto a target API, generating structured inputs, avoiding non-determinism and false crashes…

by Trail of Bits★ 8,529Security

What Harness Writing does

Designs and improves fuzzing harnesses for C/C++ and Rust. Covers mapping raw bytes onto a target API, generating structured inputs, avoiding non-determinism and false crashes, and deciding what to fuzz together. Use when writing a first LLVMFuzzerTestOneInput or fuzz_target! harness, when a campaign finds nothing or reports crashes that will not reproduce, or when the target API needs structured rather than raw input.

How to install Harness Writing in Claude Code

Giverny gives you a ready prompt with the exact install command from trailofbits/skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone trailofbits/skills and copy the plugins/testing-handbook-skills/skills/harness-writing folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Harness Writing on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the harness-writing skill on my current project.”

More Claude skills for security