跳到正文
Skillpedia
安全8.0k · #12692

validate-bug

它能做什么

独立重新运行缺陷复现,并判断该说法是已确认、未确认还是不确定。适用于在修补前希望进行第二次独立检查的审查人员。

适用场景

  • ✓复现包在修补前需要独立重新运行的时候。
  • ✓审查人员希望在不依赖复现者说法的情况下判断缺陷说法的时候。
  • ✓团队在开始修复前需要确认或未确认结果的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/trailofbits/skills/blob/main/plugins/patching-bugs/skills/validate-bug/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 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

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能