replay-regression
できること
このスキルは、別のエージェントに、疑われるバグの保存されたテストが本当に問題を示すかを確認させます。報告の前に、2回目の独立した確認が欲しいレビュー担当者向けです。
使う場面
- ✓誰かが回帰を示すテストを書いていて、新しいレビュー担当者にそれを確認してもらいたいとき。
- ✓古いバージョンは正しく動き、新しいバージョンは同じ入力で失敗することの証明が必要なとき。
- ✓報告書に入る前に、発見を検証しなければならないとき。
スキルのリンク
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
- 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.
よくある質問
なぜ別のエージェントを使うのですか?
新鮮な確認によって、元の作者のセットアップが間違いを隠す可能性が減るためです。
テストがうまくいかない場合、直しますか?
いいえ。テストへの変更は書いた人に戻り、もう一度確認する必要があります。
元のテストと同じマシンが必要ですか?
いいえ。すべてを自分のフォルダーで改めてビルドし、実行します。
詳細
作者による元の説明
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
コメント
- …
このリポジトリの他のスキル
audit-context-building
8.0kエージェントが、セキュリティ監査の前に、見慣れないコードベースを学べるよう支援します。各関数が何を前提とし、何を保証し、何に依存しているかを整理します。
algorand-vulnerability-scanner
8.0kエージェントが、TEALやPyTealで書かれたAlgorandのスマートコントラクトを、リレーキー攻撃や未検査の手数料など、11種類の一般的なセキュリティ問題について検査できるよう支援します。
audit-prep-assistant
8.0kエージェントが、外部のセキュリティレビューに向けてコードベースを準備できるよう支援します。静的解析、テストカバレッジ、不要コードの整理、分かりやすい文書化を含みます。
cairo-vulnerability-scanner
8.0kエージェントが、StarkNet上のCairoのスマートコントラクトを、算術オーバーフロー、危険なレイヤー間メッセージ、署名のリプレイなど、6つの深刻な問題について検査できるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。