reproduce-regression
What it does
This skill has the agent deploy the before and after versions of a program and run a test that reaches the bug through a real user path. It is for security researchers who need live proof of a suspected regression.
When to use it
- ✓When you have a suspected bug and want to prove it on running versions of the software.
- ✓When you need to show that the old version works and the new version fails with the same input.
- ✓When you want a written record of the setup, commands, and results for a bug report.
Skill link
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/reproduce-regression/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 to set up the old and new versions of my app and test whether the suspected bug actually happens in the new one.”
5 new skills a week. 1 minute to read.
How it works
The agent builds each version in its own folder, runs the needed services, and sends the same input to both. It saves the setup details, commands and logs, and notes any checks that might have given a false alarm.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Reproduce a candidate
When to Use
Input: sealed preparation/discovery packages, candidate and registry assignment. Follow project guidance before target work.
When NOT to Use
Independent verification of an existing PoC; use replay.
Reproduce
- Read the standard and file contract. Verify inputs; read security guidance. Stop execution if prerequisites fail.
- Build and run actual S0/S1 with required services. Trace the candidate to a real user/attacker entry point. Build/install CLIs and libraries; exercise supported interfaces. For build findings, execute the supported build workflow.
- Create and execute a portable PoC against both live deployments with identical input and comparable configuration. Record whether S0 behaves correctly and S1 exhibits the claimed failure. No mocks, extracted functions or simulated systems.
- Save setup, tool/dependency versions, sanitized configuration, input, PoC,
revisions, commands and separate logs. Record observations and false-positive
checks in
reproduce.json. If blocked, retain attempted setup and exact prerequisites. Build and deploy only inside your attempt directory, and list every build directory inbuild_dirs. - Release temporary resources without deleting evidence. Record their disposition, then seal the package.
Report Back
Keep detailed evidence in the sealed package. Return only:
- Status:
completeorblocked, matching the record. - Record: sealed
reproduce.jsonpath, or why none was produced. - Result: one sentence describing observed S0/S1 behavior.
- Blocker: missing prerequisite or required caller action, if blocked.
Completion means the experiment finished, not that the regression is confirmed.
Rationalizations to Reject
- “The unit test proves it”: synthetic tests cannot establish a regression.
FAQ
Will the agent use fake parts or mock systems?
The skill says no. It is meant to use the real running software and supported interfaces.
What if the software will not build or start?
The skill stops, saves what it tried, and lists the missing prerequisites.
Where does the build output go?
Each attempt builds in its own folder, so builds do not mix with other attempts.
Details
Original description by the author
Use when deploying before/after systems and building a live-system PoC for a regression candidate.
repo: trailofbits/skills
Popularity
- GitHub stars
- 8.0k
- Ranking position
- #12701
- 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.