Skip to content
Skillpedia
Security8.0k · #12701

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.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/reproduce-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 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

  1. Read the standard and file contract. Verify inputs; read security guidance. Stop execution if prerequisites fail.
  2. 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.
  3. 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.
  4. 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 in build_dirs.
  5. 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: complete or blocked, matching the record.
  • Record: sealed reproduce.json path, 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills