adjudicate-regression
它能做什么
权衡源代码和复现证据,判断某项改动是否真的导致了新的缺陷。适用于需要就疑似回归作出谨慎、基于证据结论的审查人员。
适用场景
- ✓审查人员需要判断某项代码改动是否引入了新回归的时候。
- ✓复现和重放证据相互矛盾、需要独立判断的时候。
- ✓团队希望用有据可查的证据排除疑似回归的时候。
技能链接
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/adjudicate-regression/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请结合源代码和复现日志,判断这项改动是否真的导致了回归。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能读取冻结的源代码和实时复现证据,检查文件是否已封存,并寻找其他原因,例如修复不完整或早先的缺陷。然后它会确认、排除或将该案例标记为未解决,并说明理由。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Adjudicate evidence
When to Use
Input: candidate, frozen sources, available reproduction/replay packages and registry assignment. Use a fresh context distinct from the reproducer and replayer. Early exclusions may lack experiments. Follow project guidance before target work.
When NOT to Use
Producing missing evidence; return the gap to the caller.
Decide
- Read the standard, labels and file contract. Verify seals. Inspect source, setup, PoC, actual logs and security assumptions, not only summaries.
- Identify the claimed defect and assess whether the change introduced it. Rule out incomplete fixes, latent/pre-existing bugs, intentional changes, unsupported expectations and unreachable scenarios with cited evidence. Establish attacker access and applicable protections for security findings.
- Confirm only when reproduction and independent replay ran the same PoC/input against live S0/S1 through real interfaces, showing correct behavior before and failure afterward. Explain supported behavior, reachability and patch causality. Assign severity/likelihood with reasons.
- Otherwise select an evidenced exclusion or
UNRESOLVED; state what remains unproved. ForUNRESOLVED, put the standard's concise paragraph separating observed gaps, plausible explanations and resolving checks inreasonso reports retain it. Incomplete fixes and existing bugs stay outside regression totals. Check known findings/issues/PRs before claiming novelty; report unknown if unavailable. - For requested deduplication, establish whether supplied candidates share a root cause. Preserve change mappings; never deduplicate unresolved claims into confirmation.
- Write and seal
decision.json; cite evidence for every conclusion. Record any blocker preventing adjudication.
Report Back
Keep detailed reasoning in the sealed package. Return only:
- Status:
completeorblocked, matching the record. - Record: sealed
decision.jsonpath, or why none was produced. - Result: outcome and one-sentence reason.
- Gap: missing evidence or required caller action, if any.
A completed decision may be UNRESOLVED; task status and finding outcome differ.
Rationalizations to Reject
- “S0 passes and S1 fails”: exposing an existing defect is a latent bug.
常见问题
它会生成缺失的证据吗?
不会。如果缺少证据,它会把缺口返回给调用方,而不是自行制造。
什么算已确认的回归?
复现和独立重放必须针对实时版本运行相同的输入,并且只在改动之后才出现失败。
结论可以是未解决吗?
可以。证据不足时,该技能会明确说明,并指出仍未证明的内容。
详情
作者的原始描述
Use when deciding whether source and live reproduction evidence establish a new regression or an exclusion.
repo: trailofbits/skills
热度
- GitHub 星标
- 8.0k
- 排名
- #12695
- 许可证
- 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 类严重问题,包括算术溢出、有风险的跨层消息和签名重放。