verify-fix
GitHub用于验证现有安全修复是否真正解决了原始漏洞,仅进行只读检查,不修改代码或提交变更。
Trigger Scenarios
Install
npx skills add openai/codex-security --skill verify-fix -g -y
SKILL.md
Frontmatter
{
"name": "verify-fix",
"description": "Use when the user asks whether an existing security fix, patch, finding, or completed issue actually remediates the original vulnerability without modifying the repository. Do not use to validate candidate findings, implement patches, or run full repository scans."
}
Verify Fix
Objective
Determine whether each supplied security finding has been fixed in the current checkout. Operate in standalone verification-only mode; do not create, modify, or delete repository files, apply patches, commit changes, write artifacts, or modify issue trackers.
Assessment Method
Use ../../references/static-finding-assessment.md to identify the original attacker-controlled source, security control, sensitive sink, reachable path, trust boundary, counterevidence, and proof gaps. If the caller already supplied that reference in the prompt, use the supplied contents without reading it again.
Verification Workflow
- Establish the original vulnerability, its preconditions, affected security boundary, and legitimate behavior that must continue to work.
- Confirm the current checkout contains the affected component. Follow moved or refactored code rather than treating a missing file, removed line, or changed function name as proof of remediation.
- Trace the original exploit path through the current implementation and check the nearest relevant control, equivalent paths, and plausible bypasses.
- Run the original reproducer, focused regression checks, or legitimate-behavior checks only when they can run without modifying the repository. Preserve exact static evidence when runtime checks are unavailable.
- Return one result per supplied finding, in the requested order. Treat closed tickets, unrelated passing tests, and the absence of a new scan finding as insufficient proof.
Result Contract
Return exactly one JSON object:
{
"results": [
{
"id": "finding-or-issue-id",
"status": "fixed|still_vulnerable|inconclusive",
"evidence": "specific current source, exploit, test, or proof-gap evidence"
}
]
}
- Use
fixedonly when evidence proves the original security boundary is closed and legitimate behavior remains intact. - Use
still_vulnerableonly when evidence proves the original vulnerable path remains reachable. - Use
inconclusivefor a repository mismatch, missing original context, unavailable relevant checks, an unproven legitimate control, or another material proof gap.
Never infer a stronger verdict by weakening the read-only boundary, substituting a different vulnerability, or hiding missing evidence.
Version History
- 5210198 Current 2026-08-27 10:07


