Chuyển đến nội dung
Skillpedia
Bảo mật11k · #11763

verify-fix

Skill này làm gì

Skill này kiểm tra xem một bản sửa bảo mật có hoạt động không, bằng cách rà soát mã hiện tại so với vấn đề ban đầu. Skill dành cho lập trình viên và người rà soát cần bằng chứng rằng một lỗ hổng đã được đóng lại.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu rõ ràng xác minh rằng một bản sửa bảo mật đã khắc phục lỗ hổng được báo cáo.
  • ✓Khi bạn muốn xác nhận không còn cách vượt qua được sau một bản sửa.
  • ✓Khi bạn muốn có kết luận cho từng phát hiện bảo mật trong bản checkout hiện tại.

Liên kết skill

https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/verify-fix/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/verify-fix/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy xác minh rằng bản sửa cho lỗi path traversal khi tải file thật sự đã đóng lỗ hổng này, và kiểm tra xem có cách nào vượt qua không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI theo dõi nguồn gốc ban đầu, cơ chế kiểm soát và bước nhạy cảm qua mã hiện tại. AI tìm các cách vượt qua có khả năng xảy ra và kiểm tra rằng hành vi hợp lệ vẫn hoạt động, dùng mã nguồn và các test hiện có làm bằng chứng. AI không thay đổi file nào.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

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.

Use standard verification unless the caller explicitly selects verificationMode: static. In static mode, assess the current source and diff, the original exploit path and plausible bypasses, and legitimate behavior through callers and existing tests read as source. Do not install dependencies or run builds, tests, reproducers, or the application, including when validation instructions request them. Repository-reading tools remain available. State in the evidence that this is a static assessment and runtime checks were not performed; do not count them as passed or require them for this assessment. Missing runtime tooling alone does not make the result inconclusive, but a material gap in the source evidence does.

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. In standard mode, 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

For interactive conversations, use readable Markdown unless the caller requests another format. Give a verdict for each finding, explain the supporting evidence with source references, and identify relevant checks and remaining proof gaps.

When the caller requests JSON or supplies an automated result contract, return exactly one JSON object in this shape. CLI verification workflows explicitly request this contract. Use the same verdicts and evidence requirements in either format.

{
  "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 checks required by the selected mode, 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.

Câu hỏi thường gặp

Skill có sửa mã không?

Không. Skill chạy ở chế độ chỉ xác minh và không tạo, sửa hay xóa file nào trong repository.

Có thể rà soát mà không chạy gì không?

Có. Chế độ tĩnh chỉ xem mã nguồn và diff, không cài đặt, build hay chạy test.

Khi nào tôi không nên dùng skill này?

Đừng dùng cho thay đổi mã thông thường, bản sửa không liên quan đến bảo mật, hoặc quét toàn bộ repository.

Chi tiết

Mô tả gốc của tác giả

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.

repo: openai/codex-security

Độ phổ biến

Sao GitHub
11k
Vị trí xếp hạng
#11763
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự