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

reproduce-regression

できること

このスキルは、エージェントに、プログラムの変更前と変更後のバージョンを展開させ、実際のユーザーの経路を通してバグに到達するテストを実行させます。疑われる回帰の実際の証明が必要なセキュリティ研究者向けです。

使う場面

  • ✓疑われるバグがあり、それを実行中のソフトウェアの上で証明したいとき。
  • ✓同じ入力で、古いバージョンは動き、新しいバージョンは失敗することを示す必要があるとき。
  • ✓バグ報告のために、セットアップ、コマンド、結果の書面の記録が欲しいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

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

  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.
よくある質問

偽物の部品やモックのシステムを使いますか?

このスキルは、それを使わないと説明しています。実際に動いているソフトウェアと、サポートされたインターフェースを使うことを意図しています。

ソフトウェアがビルドや起動できない場合は?

このスキルは止まり、試したことを保存し、欠けている前提条件を一覧にします。

ビルドの出力はどこに行きますか?

各試行は自分のフォルダーでビルドされるため、他の試行のビルドと混ざりません。

詳細

作者による元の説明

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

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

0

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

コメント

  • …

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

似ているスキル