Skip to main content

Build

Replay Regression

Trail of BitsOfficialCertified

Use when independently verifying a supplied PoC against fresh live before/after deployments.

  • New
  • v1.0.0
  • Reviewed Oct 21
  • No reviews yet

Capabilities

  • When NOT to Use

    Authoring or repairing the PoC

  • Replay

    Save setup, versions, commands, observations and separate logs

  • Report Back

    Keep detailed evidence in the sealed package

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.0

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.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed

Reviews (0)

More from Trail of Bits

View source →

Frequently asked questions about replay-regression

What does the replay-regression skill do?

Use when independently verifying a supplied PoC against fresh live before/after deployments. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the replay-regression skill?

Run `npx @skills-hub-ai/cli install trail-of-bits-replay-regression` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/trail-of-bits-replay-regression/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does replay-regression work with?

replay-regression runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the replay-regression skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use replay-regression after installing it?

In Claude Code, type `/trail-of-bits-replay-regression` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the replay-regression skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/trail-of-bits-replay-regression)](https://skills-hub.ai/skills/trail-of-bits-replay-regression)
HTML
<a href="https://skills-hub.ai/skills/trail-of-bits-replay-regression"><img src="https://skills-hub.ai/api/badges/skill/trail-of-bits-replay-regression" alt="Install on Skills Hub"></a>

More options in the badge docs.