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

validate-bug

できること

バグの再現を独立して再実行し、主張が確認済み、未確認、または判定不能のいずれかを決めます。パッチの前に、2つ目の独立した確認を求めるレビュー担当者向けです。

使う場面

  • ✓再現パッケージが、パッチの前に独立した再実行を必要とするとき。
  • ✓レビュー担当者が、再現者の話に頼らずにバグの主張を判断したいとき。
  • ✓チームが、修正の作業を始める前に、確認済みまたは未確認の結果を必要とするとき。

スキルのリンク

https://github.com/trailofbits/skills/blob/main/plugins/patching-bugs/skills/validate-bug/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“この概念実証をベースラインで再実行して、バグが確認されるかどうか教えてください。”

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

仕組み

このスキルは、発見と保存された証明を読みますが、再現者の説明は読みません。同じコマンドやプログラムを再実行して出力を保存し、短い理由とともに判定を記録します。

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

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

Validate Bug

When to Use

Use after reproduce-bug has supplied a finding and PoC package. Read the record contract. Before target commands, follow its project guidance.

When NOT to Use

Do not use to repair a PoC, develop a patch, or infer reproduction from the reproducer's narrative.

Procedure

  1. Read finding.json, the reproduction's proof type, commands, any PoC, and raw receipts. Do not read the reproducer's transcript.

  2. Rerun the same baseline compiler command for compile failures, or rebuild and rerun the unchanged runtime PoC and planned scoped inputs. Save stdout, stderr, exit status and timing in validate/receipts/. If an observation is unreliable, return inconclusive instead of inferring either presence or absence.

  3. Decide whether the target diagnostic or runtime assertion demonstrates the exact claim and violates the stated invariant. Write validate.json as confirmed, not_confirmed, or inconclusive with a short reason and agent identity.

    Validate record schema:

{
  "schema_version": 1,
  "outcome": "confirmed",
  "agent": "validator-1",
  "reason": "The unchanged PoC reached the assertion and demonstrated the claim."
}
  1. Manifest the complete validate/ directory with uv run --no-project <script> manifest <validate-step-dir>, then run the record checker. Return the package without editing the PoC or finding.

Rationalizations to Reject

Shortcut Required action
Fix the PoC to make the claim work. Mark it inconclusive and explain why.
Trust the reproducer's conclusion. Rerun the unchanged package independently.
よくある質問

再現者のメモを読みますか?

いいえ。再現者の記録ではなく、発見と生の証拠から作業します。

出力が不明確な場合は?

バグがあるとも、ないとも推測せず、判定不能を返します。

証明を修復しますか?

いいえ。概念実証を直したり、パッチを書いたりはしません。

詳細

作者による元の説明

Use when a bug PoC package needs an independent rerun and judgment before patching.

repo: trailofbits/skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル