oss-fuzz-engineer
Skill13k starsChanged 10 months agoApache-2.0View on GitHub
This skill guides the agent how to use the OSS-Fuzz infrastructure to find and report bugs in open source software. The agent can use this skill to integrate new projects, extend and improve the fuzzing posture of projects, run fuzzing campaigns, and fix broken existing OSS-Fuzz projects. When working on OSS-Fuzz tasks then you should also use any fuzzing related skills you have, such as code analysis and fuzzing harness writing skills, to achieve the best results. There are multiple…
Trending
Quiet since June.about the whole repository
Who's talking about google/oss-fuzz
- A Hacker News story“OSS-Fuzz – Continuous Fuzzing for Open Source Software”Hacker News · Mar 1, 2018 · 74 points
- rust-lang/rust“proposal: make fuzzing a first class citizen”GitHub · Feb 17, 2017 · 70 reactions
- godotengine/godot-proposals“Add Godot Engine to oss-fuzz”GitHub · Oct 19, 2019 · 23 reactions
- @graemerocher.bsky.social“Some tremendous work by @yawk.at happening at github.com/micronaut-pr... Thanks to OSSFuzz billions of fuzz …”Bluesky · Jan 30, 2025 · 18 likes
- A Hacker News story“Xz: Disable ifunc to fix Issue 60259”Hacker News · Mar 29, 2024 · 18 points
The biggest 5 of 33 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 33
Talked about on GitHub, Hacker News and Bluesky (33 times).
On GitHub · 21
- Feb 17, 2017proposal: make fuzzing a first class citizen — rust-lang/rust70 reactions · 8 comments
- Oct 19, 2019Add Godot Engine to oss-fuzz — godotengine/godot-proposals23 reactions · 9 comments
- Oct 24, 2023Multiprocess tracking issue — bitcoin/bitcoin12 reactions · 2 comments
- Dec 3, 2020Added 2 fuzzers — go-gitea/gitea8 reactions · 21 comments
- Apr 22, 2024Node.js Security team Meeting 2024-04-25 — nodejs/security-wg6 reactions · 1 comment
16 more on GitHub
- Jan 15, 2024Node.js Security team Meeting 2024-01-18 — nodejs/security-wg6 reactions · 1 comment
- Dec 18, 2023Node.js Security team Meeting 2023-12-21 — nodejs/security-wg6 reactions · 2 comments
- Apr 8, 2024Fuzzing — envoyproxy/gateway5 reactions · 11 comments
- Jul 25, 2017have a go with oss-fuzz — libvips/libvips5 reactions · 10 comments
- May 20, 2024Node.js Security team Meeting 2024-05-23 — nodejs/security-wg4 reactions
- May 6, 2024Node.js Security team Meeting 2024-05-09 — nodejs/security-wg4 reactions
- Mar 25, 2024Node.js Security team Meeting 2024-03-28 — nodejs/security-wg4 reactions · 2 comments
- Mar 11, 2024Node.js Security team Meeting 2024-03-14 — nodejs/security-wg4 reactions · 3 comments
- Jan 29, 2024Node.js Security team Meeting 2024-02-01 — nodejs/security-wg4 reactions · 3 comments
- Dec 4, 2023Node.js Security team Meeting 2023-12-07 — nodejs/security-wg4 reactions · 2 comments
- Nov 4, 2022moving quic-go to its own org: quic-go/quic-go — quic-go/quic-go4 reactions · 16 comments
- Nov 24, 2020Continuous fuzzing by way of OSS-Fuzz integration — SerenityOS/serenity4 reactions · 18 comments
- Apr 13, 2020Integrating with OSS-Fuzz — bitcoin-core/secp256k14 reactions · 19 comments
- Mar 31, 2020Fuzzing Lua (LuaJit) in Tarantool — tarantool/tarantool4 reactions · 5 comments
- Jun 10, 2026OSS-Fuzz issue 522117389 — google/flatbuffers3 reactions
- Apr 8, 2026Support TSAN — tarantool/tarantool3 reactions · 4 comments
On Hacker News · 10
- Mar 1, 2018OSS-Fuzz – Continuous Fuzzing for Open Source Software74 points · 5 comments
- Mar 29, 2024Xz: Disable ifunc to fix Issue 6025918 points · 2 comments
- Jul 10, 2023Fixed Spelling Errors or Typos12 points · 3 comments
- Dec 6, 2022OSS-Fuzz – continuous fuzzing for open source software3 points · 1 comment
- Oct 31, 2016Google releases oss-fuzz: continuous fuzzing of open source software3 points
5 more on Hacker News
- Nov 28, 2017OSS-Fuzz2 points
- May 13, 2017OSS-Fuzz – continuous fuzzing of open source software2 points
- Nov 1, 2016Oss-fuzz: continuous fuzzing of open source software2 points
- Dec 2, 2016OSS-Fuzz – Continuous Fuzzing for Open Source Software1 point
- Oct 13, 2016Applying coverage-guided fuzzing on scale to Open Source Software1 point
On Bluesky · 2
- Jan 30, 2025Some tremendous work by @yawk.at happening at github.com/micronaut-pr... Thanks to OSSFuzz billions of fuzz tests (yes billions!) are being… — @graemerocher.bsky.social18 likes and reposts
- Mar 11, 2021Include a comprehensive test suite with test archives with the code. Add the project to OSS-Fuzz (https://github.com/google/oss-fuzz). I… — @admvonschneider.bsky.social0 likes and reposts · 1 reply
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- fuzzing-go-expertSkill
- fuzzing-jvm-expertSkill
- fuzzing-memory-unsafe-expertSkill
- fuzzing-python-expertSkill
- fuzzing-rust-expertSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
When working on OSS-Fuzz tasks then you should also use any fuzzing related skills you have, such as code analysis and fuzzing harness …
- Distinctive: line 29
When doing this type of work it's crucial the agent uses any skills it has related to code analysis and fuzzing harness writing.
- Distinctive: line 46
Only select targets from files with genuinely low coverage (< 30% lines hit), and classify the gap with the functions-vs-branches split …
- Very specific: line 116
If the tests fail when run_tests.sh is run, then check-tests *must* fail as well.
- Very specific: line 123
Always work from the base folder of the current OSS-Fuzz project unless otherwise specified.
- Very specific: line 125
Use the python3 infra/helper.py tool to build and test fuzz targets locally.
- Distinctive: line 136
use this reference to identify latest build status of a given project, and to identify if there are any build issues that need to be fixed.
- Distinctive: line 137
If you are tasked with fixing the build of a project, then use this data to identify the latest build error.
- Distinctive: line 138
If you are tasked with fixing the build of a project, then use this data to identify the conditions of the latest build error, e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OSS-Fuzz engineer
This skill guides the agent how to use the OSS-Fuzz infrastructure to find and report bugs in open source software. The agent can use this skill to integrate new projects, extend and improve the fuzzing posture of projects, run fuzzing campaigns, and fix broken existing OSS-Fuzz projects.
When working on OSS-Fuzz tasks then you should also use any fuzzing related skills you have, such as code analysis and fuzzing harness writing skills, to achieve the best results.
Workflows
There are multiple common workflows that an OSS-Fuzz engineer might follow and we describe some imporant ones here.
Integrating a new project
Given a reference to an open source project, such as a link to a GitHub repository, the agent can follow these steps to integrate the project into OSS-Fuzz:
- Assess the project: The agent should first assess whether the project is suitable for fuzzing. This includes checking if the project is open source, has a significant user base, and contains code that can be fuzzed (e.g., C/C++ code).
- Set up the environment: The agent should set up the necessary environment for fuzzing the project. This includes:
- A Dockerfile that defines the build environment for the project, using the OSS-Fuzz base images.
- A build script that compiles the project with the necessary instrumentation for fuzzing.
- A project.yaml that provides the necessary OSS-Fuzz meta data.
- Write fuzz targets: The agent should write fuzz targets for the project. Fuzz targets are small programs that call into the project's code and are used by the fuzzing engine to generate inputs and find bugs.
- Test the integration: The agent should test the integration by running the fuzz targets locally and ensuring that they work correctly. This project should be continue until the fuzz targets build and run well, and the OSS-Fuzz
check_buildscript passes without errors. - Conclude the integration: Once the integration is complete, the agent should conclude with a message of the results achieved and the next steps the security engineer guiding the agent should take. The agent should not make any commits or push anything to GitHub, but should conclude on the work for the security engineer to review. The agent should never submit any changes to OSS-Fuzz's Github.
When doing this type of work it's crucial the agent uses any skills it has related to code analysis and fuzzing harness writing.
Extending and improving fuzzing posture
The agent can also be used to extend and improve the fuzzing posture of existing OSS-Fuzz projects. This can include:
- Adding new fuzz targets to cover more code paths and functionality.
- Improving existing fuzz targets to make them more effective at finding bugs.
- Updating the build environment to include new dependencies or tools that can enhance fuzzing.
- Analyzing fuzzing results and identifying areas of the code that are not well covered by existing fuzz targets, and then writing new fuzz targets to cover those areas.
A useful approach for extending a project is to study the latest code coverage report for the project, which is publicly available, to identify areas of the code that are not well covered by existing fuzz targets. The agent can then write new fuzz targets to cover those areas, and test them locally before concluding on the work for the security engineer to review.
Critical: avoid targeting already-covered code. The most common mistake when extending an OSS-Fuzz project is writing harnesses that target functions already well-exercised by the existing production fuzzer corpus. Before selecting any target function:
- Fetch the latest public
summary.jsonvia thelatest_report_info/<project>.jsonpointer (never guess the date). See the code coverage reference for the pointer, the JSON schema, and how to read it. - Parse the per-file metrics. Line % is triage only — use the functions metric (which functions are never entered ⇒ a new harness may be needed) and the regions/branches metric (reached function, dark branches ⇒ a corpus/seed problem) to decide what kind of gap each file has. Relying on line % alone throws away the signals that tell harness-work from seed-work apart.
- Build an explicit blocklist of already-covered files (≥ 50% lines with most functions covered) — do NOT write harnesses whose primary target lives in one of these files.
- Only select targets from files with genuinely low coverage (< 30% lines hit), and classify the gap with the functions-vs-branches split before acting.
Reading the source code and identifying "important-looking" functions is not sufficient — important functions are frequently already covered. Coverage data is the authoritative source of truth for what needs work, and Fuzz Introspector (https://introspector.oss-fuzz.com) additionally surfaces reachable-but-unfuzzed functions — see the code coverage reference for the full workflow.
Structured seed generation. Adding a new harness is not the only way to extend coverage — often the existing harnesses already reach dark code, but the corpus never produces inputs valid enough to enter it. When a target parses a structured format (binary containers, codec/network bitstreams, text grammars), a script that constructs structurally-valid inputs from scratch is frequently the highest-leverage, lowest-review-cost improvement: random bytes rarely pass a parser's early magic/length/checksum checks, so the deep logic stays dark until seeded. Drive this the same coverage-first way: pick reachable files that are dark in summary.json, generate seeds that target them, validate each one actually parses, append them to the existing corpora (never replace), and confirm the union does not digress. See the structured seed generation reference for the full workflow, construction techniques, per-fuzzer tailoring, and pitfalls, and projects/vlc/generate_seeds.py for a worked example.
Use the local code coverage feature of the python3 infra/helper.py tool to generate code coverage reports for fuzz targets locally, for example to validate the code coverage achieved by a new fuzz target. This can be done by running python3 infra/helper.py introspector --coverage-only PROJECT_NAME and then studying the generated report in e.g. build/out/PROJECT_NAME/report. Some examples of this include:
# Generate a coverage report for htslib OSS-Fuzz project from running each
# fuzzer for 30 seconds, and store coverage directory in `htslib-cov-1`.
python3 infra/helper.py introspector --coverage-only --seconds 30 --out htslib-cov-1 htslib
# Generate a coverage report for leveldb OSS-Fuzz project from running each
# fuzzer for 45 seconds, and store coverage directory in `leveldb-cov-1`.
python3 infra/helper.py introspector --coverage-only --seconds 45 --out leveldb-cov-1 leveldbThe user may provide directions on how to extend the fuzzing, and it's crucial to follow instructions on this matter. For example, the user may ask to focus on a specific area of the code, or to target specific types of vulnerabilities. The agent should always provide a clear explanation of the rationale for each extension or improvement made to the fuzzing posture of the project.
When extending an OSS-Fuzz project it's crucial to have a good understanding of the target code. To this end, it's often useful to get a local version of the target source code into the OSS-Fuzz project structure to make working with the target project easy. This involves e.g. studying the Dockerfile of the target project, finding the e.g. git clone of the target project, and then cloning this repository locally and using e.g. COPY instead of RUN git clone in the Dockerfile to get the source code into the container.
The agent should always provide clear technical justification for each extension.
When doing this type of work it's crucial the agent uses any skills it has related to code analysis and fuzzing harness writing. It's important each extension is done through a personal assessment of the current fuzzing posture of the project, and a clear explanation of the rationale for each extension or improvement. The agent should never make any commits or push anything to GitHub, but should conclude on the work for the security engineer to review. The agent should never submit any changes to OSS-Fuzz's Github.
It is crucial when extending existing OSS-Fuzz project you must validate the existing code coverage does not digress. You should empirically evaluate this and give a justification that no digression has happened, or if it has happened then you should give a justification for why the digression is acceptable in light of the achieved extension.
Unless otherwise specified, the agent should focus on improving a single fuzzing harness for the target project, and not focus on making broad changes that will take a long time to review. Simple changes are often more effective than broad large changes.
Fixing broken existing OSS-Fuzz projects
The agent can also be used to fix broken existing OSS-Fuzz projects. This can include:
- Identifying and fixing build issues that prevent fuzz targets from running correctly.
- Updating dependencies or build scripts to ensure that the project can be fuzzed effectively.
- Analyzing fuzzing results to identify and fix issues that are causing the fuzzing campaign to fail or produce unreliable results.
A given OSS-Fuzz project must succeed with:
python3 infra/helper.py build_fuzzers PROJECT_NAME
python3 infra/helper.py check_build PROJECT_NAMEThe agent should never make any commits or push anything to GitHub, but should conclude on the work for the security engineer to review. The agent should never submit any changes to OSS-Fuzz's Github.
Chronos integration
A common task for an OSS-Fuzz engineer is to add Chronos support for a given OSS-Fuzz project.
Chronos is a feature of OSS-Fuzz that makes it possible to quickly rebuild OSS-Fuzz projects and run unit tests of a given OSS-Fuzz project. This is used to efficiently validate e.g. patches of a project without having to rebuild the entire target project image.
To add Chronos support a project needs to have two key scripts:
- replay_build.sh: used to quickly rebuild the project without network access.
- run_tests.sh: used to run unit tests of the project without network access.
There are several constraints on these scripts, e.g. no network access, and it's important to always check the infra/chronos/README.md file to understand the specifics.
A given Chronos integration must succeed with:
python3 infra/experimental/chronos/manager.py check-replay PROJECT_NAME
python3 infra/experimental/chronos/manager.py check-tests PROJECT_NAMEThe above two commands must succeed without error, and when integrating a new project these commands must be run before concluding on the work for the security engineer to review.
In addition to the above, there are some constraints on Chronos worth mentioning:
- If the tests fail when
run_tests.shis run, thencheck-testsmust fail as well. This is a crucial invariant that is used to validate if wrong patches lead to wrong outcomes, and we must be able to check wrong patches that break tests. - The
run_tests.shscript should leave a given repository in the state it was before the script was run. For example,git diffshould be the same before and afterrun_tests.shis run inside the target repository. run_tests.shhas no network connection, so if any tests requires network connection then these tests should be skipped inrun_tests.shand this should be clearly documented in the script.
Guidelines for working locally on OSS-Fuzz projects
- Always work from the base folder of the current OSS-Fuzz project unless otherwise specified.
- Make a local checkout of the target source code to make working with the target project easy. This involves e.g. studying the
Dockerfileof the target project, finding the e.g.git cloneof the target project, and then cloning this repository locally and using e.g.COPYinstead ofRUN git clonein the Dockerfile to get the source code into the container. - Use the
python3 infra/helper.pytool to build and test fuzz targets locally. - Analyse if build scripts can be optimized to improve local building efficiency.
Public data available for OSS-Fuzz projects
The OSS-Fuzz infrastructure provides a lot of public data that can be used to guide the work of an OSS-Fuzz engineer. This includes:
- Current build status of all OSS-Fuzz projects:
- html page: https://oss-fuzz-build-logs.storage.googleapis.com/index.html
- json file: https://oss-fuzz-build-logs.storage.googleapis.com/status.json
- use this reference to identify latest build status of a given project, and to identify if there are any build issues that need to be fixed.
- If you are tasked with fixing the build of a project, then use this data to identify the latest build error.
- If you are tasked with fixing the build of a project, then use this data to identify the conditions of the latest build error, e.g. which architecture, fuzzing engine and sanitizer is failing.
- Some build errors are due to the harnesses running into an issue immediately, meaning they build but
check_buildfails. These are bugs that likely indicate the fuzzing harnesses have a deficiency.
- in the references section guidance is provided on code coverage reports, helper script used for interacting with OSS-Fuzz projects and documentation on the structure of OSS-Fuzz projects.
- https://introspector.oss-fuzz.com : details insights on macro and micro level stats on OSS-Fuzz.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

