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

hunt-regressions

できること

このスキルは、エージェントに、凍結されたコードの変更を読み、それが他のコードにどう影響するかをたどり、回帰の可能性を一覧にさせます。変更が以前の振る舞いを壊していないか確認するセキュリティ研究者向けです。

使う場面

  • ✓プルリクエストやコミットが生んだ、バグの可能性を見つけたいとき。
  • ✓疑わしい箇所の最初の確認として、変更のリストが必要なとき。
  • ✓証明が必要な点についての注記とともに、疑いのある箇所の書面のリストが必要なとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このプルリクエストをレビューして、以前は動いていた振る舞いを壊したかもしれない変更を教えてください。”

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

仕組み

エージェントは変更全体を読み、変更されたコードを、それを呼び出す場所までたどり、各可能性のある問題を、賛成と反対の理由とともに書き出します。証明は、後の別の工程で行います。

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

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Discover candidates

When to Use

Input: sealed preparation, frozen S0/S1, change context and registry assignment. On retry, include this assignment's prior candidate-ID mapping. The caller supplies these, including for independent use. Follow project guidance before target work.

When NOT to Use

Proving a known candidate; use reproduction. Discovery cannot confirm findings.

Hunt

  1. Read the standard and file contract. Verify preparation; read frozen change messages, PR discussion and security documentation for intent and supported use.
  2. Review the entire diff; trace changed behavior through callers to real interfaces. Use frozen sources and supplied context, not later fixes, advisories or other reviews.
  3. Record each lead's changed code, previously supported behavior, reachable trigger, proposed new defect, false-positive checks and required proof. Retain supplied leads suggesting old bugs or incomplete fixes for adjudication. Leave PoC construction to reproduction.
  4. Reserve each lead's ID through registry.py candidate using its stable hypothesis key and assigned agent handle. Reuse the key on retry. Write candidate files and hunt.json with IDs, file mappings, coverage and limitations. An empty list is valid. If blocked, record partial coverage and uninspected areas. Seal the package.

Report Back

Keep detailed evidence in the sealed package. Return only:

  • Status: complete or blocked, matching the record.
  • Record: sealed hunt.json path, or why none was produced.
  • Result: candidate count and material coverage gaps.
  • Blocker: missing prerequisite or required caller action, if blocked.

Rationalizations to Reject

  • “A helper fails on invented input”: show a supported interface that reaches it.
よくある質問

このスキルは回帰が存在することを証明しますか?

いいえ。候補を見つけるだけです。それぞれを確認するには、別途ビルドして実行するテストが必要です。

開始するために何を渡せばいいですか?

変更の固定されたバージョン、その前のバージョン、変更が意図したことのメモです。

まだ開いている変更もレビューできますか?

まず、変更を正確なバージョンに固定する必要があります。そうすると、レビューは固定されたスナップショットを見ます。

詳細

作者による元の説明

Use when discovering possible regressions from a pinned change and its callers before reproduction.

repo: trailofbits/skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル