Skip to main content

Use when a bug PoC package needs an independent rerun and judgment before patching.

  • New
  • v1.0.0
  • Reviewed Oct 21
  • No reviews yet

Capabilities

  • When NOT to Use

    Do not use to repair a PoC, develop a patch, or infer reproduction from the

  • Procedure

    Do not read the reproducer's transcript

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.0

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:

json
{
  "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.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed

Reviews (0)

More from Trail of Bits

View source →

Frequently asked questions about validate-bug

What does the validate-bug skill do?

Use when a bug PoC package needs an independent rerun and judgment before patching. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the validate-bug skill?

Run `npx @skills-hub-ai/cli install trail-of-bits-validate-bug` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/trail-of-bits-validate-bug/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does validate-bug work with?

validate-bug runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the validate-bug skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use validate-bug after installing it?

In Claude Code, type `/trail-of-bits-validate-bug` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the validate-bug skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/trail-of-bits-validate-bug)](https://skills-hub.ai/skills/trail-of-bits-validate-bug)
HTML
<a href="https://skills-hub.ai/skills/trail-of-bits-validate-bug"><img src="https://skills-hub.ai/api/badges/skill/trail-of-bits-validate-bug" alt="Install on Skills Hub"></a>

More options in the badge docs.