reproduce-regression
できること
このスキルは、エージェントに、プログラムの変更前と変更後のバージョンを展開させ、実際のユーザーの経路を通してバグに到達するテストを実行させます。疑われる回帰の実際の証明が必要なセキュリティ研究者向けです。
使う場面
- ✓疑われるバグがあり、それを実行中のソフトウェアの上で証明したいとき。
- ✓同じ入力で、古いバージョンは動き、新しいバージョンは失敗することを示す必要があるとき。
- ✓バグ報告のために、セットアップ、コマンド、結果の書面の記録が欲しいとき。
スキルのリンク
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/reproduce-regression/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のアプリの古いバージョンと新しいバージョンをセットアップして、新しい方で疑われるバグが実際に起きるかを試してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、それぞれのバージョンを自分のフォルダーでビルドし、必要なサービスを動かし、同じ入力を両方に送ります。セットアップの詳細、コマンド、ログを保存し、誤検知の可能性があるチェックも記録します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
- Read the standard and file contract. Verify inputs; read security guidance. Stop execution if prerequisites fail.
- 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.
- 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.
- 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 inbuild_dirs. - 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:
completeorblocked, matching the record. - Record: sealed
reproduce.jsonpath, 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.
よくある質問
偽物の部品やモックのシステムを使いますか?
このスキルは、それを使わないと説明しています。実際に動いているソフトウェアと、サポートされたインターフェースを使うことを意図しています。
ソフトウェアがビルドや起動できない場合は?
このスキルは止まり、試したことを保存し、欠けている前提条件を一覧にします。
ビルドの出力はどこに行きますか?
各試行は自分のフォルダーでビルドされるため、他の試行のビルドと混ざりません。
詳細
作者による元の説明
Use when deploying before/after systems and building a live-system PoC for a regression candidate.
repo: trailofbits/skills
人気
- GitHubのスター
- 8.0k
- ランキング
- #12701
- ライセンス
- 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、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。