Agent Skillsopenai/codex-security › verify-fix

verify-fix

GitHub

用于在用户明确要求时,验证安全修复是否有效消除了报告中的漏洞。该技能仅执行只读验证,不修改代码或提交更改,通过追踪攻击路径和检查控制措施来判定修复状态,并返回包含具体证据的JSON结果。

plugins/codex-security/skills/verify-fix/SKILL.md openai/codex-security

Trigger Scenarios

用户明确请求验证安全修复 直接调用 $verify-fix

Install

npx skills add openai/codex-security --skill verify-fix -g -y
More Options

Non-standard path

npx skills add https://github.com/openai/codex-security/tree/main/plugins/codex-security/skills/verify-fix -g -y

Use without installing

npx skills use openai/codex-security@verify-fix

指定 Agent (Claude Code)

npx skills add openai/codex-security --skill verify-fix -a claude-code -g -y

安装 repo 全部 skill

npx skills add openai/codex-security --all -g -y

预览 repo 内 skill

npx skills add openai/codex-security --list

SKILL.md

Frontmatter
{
    "name": "verify-fix",
    "description": "Use only when the user explicitly requests verification that a security fix remediates a reported vulnerability. Do not invoke automatically while implementing fixes, reviewing ordinary code changes, or running tests. Do not use for non-security fixes, candidate finding validation, or full repository scans."
}

Verify Fix

When to Use

Invoke this skill only for an explicit request to verify a security fix, including a direct $verify-fix invocation. A request to implement a fix or run its tests does not by itself request this skill. For other tasks, follow the user's requested workflow and response format without applying this skill's JSON result contract.

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

  1. Establish the original vulnerability, its preconditions, affected security boundary, and legitimate behavior that must continue to work.
  2. 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.
  3. Trace the original exploit path through the current implementation and check the nearest relevant control, equivalent paths, and plausible bypasses.
  4. 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.
  5. 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 fixed only when evidence proves the original security boundary is closed and legitimate behavior remains intact.
  • Use still_vulnerable only when evidence proves the original vulnerable path remains reachable.
  • Use inconclusive for 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

  • 746fb84 Current 2026-09-08 20:15

    新增 'When to Use' 章节,强调仅在用户显式请求时调用此技能,禁止自动触发或用于非安全任务。

  • 69c5003 2026-09-02 22:22

Same Skill Collection

plugins/codex-security/skills/assess-patch-risk/SKILL.md
plugins/codex-security/skills/attack-path-analysis/SKILL.md
plugins/codex-security/skills/deep-security-scan/SKILL.md
plugins/codex-security/skills/define-security-policy/SKILL.md
plugins/codex-security/skills/finding-discovery/SKILL.md
plugins/codex-security/skills/fix-finding/SKILL.md
plugins/codex-security/skills/security-diff-scan/SKILL.md
plugins/codex-security/skills/security-scan/SKILL.md
plugins/codex-security/skills/threat-model/SKILL.md
plugins/codex-security/skills/track-findings/SKILL.md
plugins/codex-security/skills/triage-finding/SKILL.md
plugins/codex-security/skills/validation/SKILL.md
plugins/codex-security/skills/vulnerability-writeup/SKILL.md
sdk/typescript/_bundled_plugin/skills/assess-patch-risk/SKILL.md
sdk/typescript/_bundled_plugin/skills/attack-path-analysis/SKILL.md
sdk/typescript/_bundled_plugin/skills/deep-security-scan/SKILL.md
sdk/typescript/_bundled_plugin/skills/define-security-policy/SKILL.md
sdk/typescript/_bundled_plugin/skills/finding-discovery/SKILL.md
sdk/typescript/_bundled_plugin/skills/fix-finding/SKILL.md
sdk/typescript/_bundled_plugin/skills/security-diff-scan/SKILL.md
sdk/typescript/_bundled_plugin/skills/security-scan/SKILL.md
sdk/typescript/_bundled_plugin/skills/threat-model/SKILL.md
sdk/typescript/_bundled_plugin/skills/track-findings/SKILL.md
sdk/typescript/_bundled_plugin/skills/triage-finding/SKILL.md
sdk/typescript/_bundled_plugin/skills/validation/SKILL.md
sdk/typescript/_bundled_plugin/skills/verify-fix/SKILL.md
sdk/typescript/_bundled_plugin/skills/vulnerability-writeup/SKILL.md
plugins/codex-security/skills/propose-security-hardening/SKILL.md
sdk/typescript/_bundled_plugin/skills/propose-security-hardening/SKILL.md

Metadata

Files
0
Version
746fb84
Hash
3d453048
Indexed
2026-09-02 22:22

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 01:43
浙ICP备14020137号-1 $Гость$