本文へスキップ
Skillpedia
セキュリティ8.0k · #12699

replay-regression

できること

このスキルは、別のエージェントに、疑われるバグの保存されたテストが本当に問題を示すかを確認させます。報告の前に、2回目の独立した確認が欲しいレビュー担当者向けです。

使う場面

  • ✓誰かが回帰を示すテストを書いていて、新しいレビュー担当者にそれを確認してもらいたいとき。
  • ✓古いバージョンは正しく動き、新しいバージョンは同じ入力で失敗することの証明が必要なとき。
  • ✓報告書に入る前に、発見を検証しなければならないとき。

スキルのリンク

https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この保存されたテストが、私のコードの古いバージョンと新しいバージョンで本当にバグを示すか、独立して確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、両方のバージョンを、同じ入力を使って自分のフォルダーで一から構築し、実行します。古いバージョンが正しく振る舞い、新しいバージョンが失敗を示すかを書き留め、一致しない点があれば記録します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.
よくある質問

なぜ別のエージェントを使うのですか?

新鮮な確認によって、元の作者のセットアップが間違いを隠す可能性が減るためです。

テストがうまくいかない場合、直しますか?

いいえ。テストへの変更は書いた人に戻り、もう一度確認する必要があります。

元のテストと同じマシンが必要ですか?

いいえ。すべてを自分のフォルダーで改めてビルドし、実行します。

詳細

作者による元の説明

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

repo: trailofbits/skills

人気

GitHubのスター
8.0k
ランキング
#12699
ライセンス
CC-BY-SA-4.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル