Hunt Regressions skill for Claude
Use when discovering possible regressions from a pinned change and its callers before reproduction.
Hunt Regressions SKILL.md
The full skill file from trailofbits/skills (CC-BY-SA-4.0).
Discover candidates
When to Use
Input: sealed preparation, frozen S0/S1, change context and registry assignment. On retry, include this assignment's prior candidate-ID mapping. The caller supplies these, including for independent use. Follow project guidance before target work.
When NOT to Use
Proving a known candidate; use reproduction. Discovery cannot confirm findings.
Hunt
- Read the standard and file contract. Verify preparation; read frozen change messages, PR discussion and security documentation for intent and supported use.
- Review the entire diff; trace changed behavior through callers to real interfaces. Use frozen sources and supplied context, not later fixes, advisories or other reviews.
- Record each lead's changed code, previously supported behavior, reachable trigger, proposed new defect, false-positive checks and required proof. Retain supplied leads suggesting old bugs or incomplete fixes for adjudication. Leave PoC construction to reproduction.
- Reserve each lead's ID through registry.py
candidateusing its stable hypothesis key and assigned agent handle. Reuse the key on retry. Write candidate files andhunt.jsonwith IDs, file mappings, coverage and limitations. An empty list is valid. If blocked, record partial coverage and uninspected areas. Seal the package.
Report Back
Keep detailed evidence in the sealed package. Return only:
- Status:
completeorblocked, matching the record. - Record: sealed
hunt.jsonpath, or why none was produced. - Result: candidate count and material coverage gaps.
- Blocker: missing prerequisite or required caller action, if blocked.
Rationalizations to Reject
- “A helper fails on invented input”: show a supported interface that reaches it.
How to install Hunt Regressions
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit trailofbits/skills/plugins/regression-hunt/skills/hunt-regressions#main ~/.claude/skills/hunt-regressionsCodex
npx degit trailofbits/skills/plugins/regression-hunt/skills/hunt-regressions#main ~/.codex/skills/hunt-regressionsClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Hunt Regressions skill do?
Use when discovering possible regressions from a pinned change and its callers before reproduction.
+How do I install Hunt Regressions in Claude Code?
Copy the skill folder into ~/.claude/skills/hunt-regressions, for example with "npx degit trailofbits/skills/plugins/regression-hunt/skills/hunt-regressions#main ~/.claude/skills/hunt-regressions". Claude Code loads it automatically and uses it when a task matches.
+Does Hunt Regressions work with ChatGPT or Codex?
Yes. Hunt Regressions uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/hunt-regressions. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Hunt Regressions free?
Hunt Regressions is published on GitHub by trailofbits under the CC-BY-SA-4.0 license, which allows free use.