replay-regression
What it does
This skill has a separate agent check whether a saved test of a suspected bug really shows the problem. It is for reviewers who want a second, independent confirmation before reporting.
When to use it
- ✓When someone has written a test that shows a regression and you want it checked by a fresh reviewer.
- ✓When you need proof that the old version works and the new version fails with the same input.
- ✓When you must verify a finding before it goes into a report.
Skill link
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-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 need you to check independently whether this saved test really shows the bug in the old and new versions of my code.”
5 new skills a week. 1 minute to read.
How it works
The agent builds and runs both versions from scratch in its own folder, using the same input. It writes down whether the old version behaves correctly and the new one shows the failure, and notes anything that does not match.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Independently replay a PoC
When to Use
Input: candidate, frozen source records, complete sealed reproduction package and registry assignment. Use a fresh context distinct from the reproducer. Follow project guidance before target work.
When NOT to Use
Authoring or repairing the PoC. Return changes to the caller for reproduction; changed PoCs require new reproduction and replay.
Replay
- Read the standard and file contract. Verify the package; read setup and security guidance. Stop execution if prerequisites fail.
- Independently build and run actual S0/S1 only inside your attempt directory; never reuse another attempt's build output. List every build directory in
build_dirs. Execute the unchanged PoC with the same input against both. Record whether S0 behaves correctly and S1 exhibits the claimed failure. - Check real interface reachability using only the claimed user's/attacker's access. Save setup, versions, commands, observations and separate logs.
- Write and seal
replay.json, referencing the reproduction record and original PoC/input. Record divergence or blockers; uncertainty stays unresolved. Release temporary resources without deleting evidence.
Report Back
Keep detailed evidence in the sealed package. Return only:
- Status:
completeorblocked, matching the record. - Record: sealed
replay.jsonpath, or why none was produced. - Result: one sentence describing observed agreement or divergence.
- Blocker: missing prerequisite or required caller action, if blocked.
Completion means the replay attempt finished, not that the regression is confirmed.
Rationalizations to Reject
- “The previous logs look right”: replay requires your own execution.
FAQ
Why use a separate agent for this?
A fresh check reduces the chance that the original author's setup hides a mistake.
Will it fix the test if it does not work?
No. Changes to the test go back to the person who wrote it, and they must be checked again.
Does it need the same machine as the original test?
No. It builds and runs everything again in its own folder.
Details
Original description by the author
Use when independently verifying a supplied PoC against fresh live before/after deployments.
repo: trailofbits/skills
Popularity
- GitHub stars
- 8.0k
- Ranking position
- #12699
- 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.