Skip to content
Skillpedia
Security8.0k · #12692

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.md

Copy 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

Use this skill to help me: https://github.com/trailofbits/skills/blob/main/plugins/patching-bugs/skills/validate-bug/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  1. Read finding.json, the reproduction's proof type, commands, any PoC, and raw receipts. Do not read the reproducer's transcript.

  2. 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, return inconclusive instead of inferring either presence or absence.

  3. Decide whether the target diagnostic or runtime assertion demonstrates the exact claim and violates the stated invariant. Write validate.json as confirmed, not_confirmed, or inconclusive with a short reason and agent identity.

    Validate record schema:

{
  "schema_version": 1,
  "outcome": "confirmed",
  "agent": "validator-1",
  "reason": "The unchanged PoC reached the assertion and demonstrated the claim."
}
  1. Manifest the complete validate/ directory with uv 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills