Skip to content
Skillpedia
Security8.0k · #12699

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.md

Copy 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

Use this skill to help me: https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  1. Read the standard and file contract. Verify the package; read setup and security guidance. Stop execution if prerequisites fail.
  2. 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.
  3. Check real interface reachability using only the claimed user's/attacker's access. Save setup, versions, commands, observations and separate logs.
  4. 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: complete or blocked, matching the record.
  • Record: sealed replay.json path, 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills