hunt-regressions
What it does
This skill has the agent read a frozen code change, trace how it affects other code, and list possible regressions. It is for security researchers checking whether a change broke earlier behavior.
When to use it
- ✓When you want to find possible bugs introduced by a pull request or commit.
- ✓When you have a list of code changes and need a first pass of suspect spots.
- ✓When you need a written list of leads with notes on what still has to be proven.
Skill link
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/hunt-regressions/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
“I want you to review this pull request and tell me which changes could have broken behavior that worked before.”
5 new skills a week. 1 minute to read.
How it works
The agent reads the full change, follows the changed code through the places that call it, and writes down each possible problem with the reasons for and against it. Proof comes later in a separate step.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
Does this skill prove that a regression exists?
No. It only finds candidates. Another step is needed to build and run a test that confirms each one.
What should I give the agent to start?
A fixed version of the code change, its earlier version, and any notes on what the change was meant to do.
Can it review a change that is still open?
The change needs to be pinned to exact versions first, so the review looks at a fixed snapshot.
Details
Original description by the author
Use when discovering possible regressions from a pinned change and its callers before reproduction.
repo: trailofbits/skills
Popularity
- GitHub stars
- 8.0k
- Ranking position
- #12696
- 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.