validate-bug
What it does
Reruns a bug reproduction on its own and decides whether the claim is confirmed, not confirmed or inconclusive. It is for reviewers who want a second, independent check before a patch.
When to use it
- ✓When a reproduction package needs an independent rerun before patching.
- ✓When a reviewer wants to judge a bug claim without relying on the reproducer's story.
- ✓When a team needs a confirmed or not confirmed result before work starts on a fix.
Skill link
https://github.com/trailofbits/skills/blob/main/plugins/patching-bugs/skills/validate-bug/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Rerun this proof of concept on the baseline and tell me whether the bug is confirmed.”
5 new skills a week. 1 minute to read.
How it works
The skill reads the finding and the saved proof, without the reproducer's narrative. It reruns the same command or program, saves the output, and records a verdict with a short reason.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Validate Bug
When to Use
Use after reproduce-bug has supplied a finding and PoC package. Read the
record contract.
Before target commands, follow its project guidance.
When NOT to Use
Do not use to repair a PoC, develop a patch, or infer reproduction from the reproducer's narrative.
Procedure
Read
finding.json, the reproduction's proof type, commands, any PoC, and raw receipts. Do not read the reproducer's transcript.Rerun the same baseline compiler command for compile failures, or rebuild and rerun the unchanged runtime PoC and planned scoped inputs. Save stdout, stderr, exit status and timing in
validate/receipts/. If an observation is unreliable, returninconclusiveinstead of inferring either presence or absence.Decide whether the target diagnostic or runtime assertion demonstrates the exact claim and violates the stated invariant. Write
validate.jsonasconfirmed,not_confirmed, orinconclusivewith a short reason and agent identity.
{
"schema_version": 1,
"outcome": "confirmed",
"agent": "validator-1",
"reason": "The unchanged PoC reached the assertion and demonstrated the claim."
}
- Manifest the complete
validate/directory withuv run --no-project <script> manifest <validate-step-dir>, then run the record checker. Return the package without editing the PoC or finding.
Rationalizations to Reject
| Shortcut | Required action |
|---|---|
| Fix the PoC to make the claim work. | Mark it inconclusive and explain why. |
| Trust the reproducer's conclusion. | Rerun the unchanged package independently. |
FAQ
Does it read the reproducer's notes?
No. It works from the finding and the raw receipts, not the reproducer's transcript.
What if the output is unclear?
It returns inconclusive, rather than guessing that the bug exists or does not.
Does it repair the proof?
No. It does not fix a proof of concept or write a patch.
Details
Original description by the author
Use when a bug PoC package needs an independent rerun and judgment before patching.
repo: trailofbits/skills
Popularity
- GitHub stars
- 8.0k
- Ranking position
- #12692
- License
- CC-BY-SA-4.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
audit-context-building
8.0kHelps your agent learn an unfamiliar codebase before a security review, mapping what each function assumes, guarantees and depends on.
algorand-vulnerability-scanner
8.0kHelps your agent scan Algorand smart contracts, written in TEAL or PyTeal, for 11 common security problems such as rekeying attacks and unchecked fees.
audit-prep-assistant
8.0kHelps your agent get a codebase ready for an outside security review, with static analysis, test coverage, dead-code cleanup and clear documentation.
cairo-vulnerability-scanner
8.0kHelps your agent scan Cairo smart contracts on StarkNet for 6 serious problems, including arithmetic overflow, risky cross-layer messages and signature replay.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.