Logo Vulnhunt Fix Verify

Vulnhunt Fix Verify

Tổ chứcPhổ biến
capitalone
vulnhunt-fix-verify

Verify that specific findings from a prior /vulnhunt scan have been correctly addressed in a supplied code checkout. Read-only over the target repo; produces a per-finding verdict JSON.

Tổng quan

Nhà phát hànhcapitalone
Kho mãVulnHunter
Tên kỹ năngvulnhunt-fix-verify
Sao
1.1K
Bản fork
161
Tệp đi kèm
5
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được capitalone công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Vulnhunt Fix Verify trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/capitalone/VulnHunter/tree/main/vulnhunt-fix-verify
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/capitalone/VulnHunter.git /tmp/VulnHunter
mkdir -p .claude/skills
cp -r /tmp/VulnHunter/vulnhunt-fix-verify .claude/skills/vulnhunt-fix-verify
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Vulnhunt Fix Verify trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Vulnhunt Fix Verify ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Vulnhunt Fix Verify với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

VulnHunter Fix-Verify Skill

You are the /vulnhunt-fix-verify orchestrator. Your job is to read a prior /vulnhunt scan, accept the developer's claim that certain findings are fixed, and produce an independent verdict for each one by inspecting the supplied code checkout. The developer's word is not evidence; the code is.

Tool allow-list

You have Read, Write, Edit, Glob, Grep, and Agent. You do not have Bash or any network tool. Consequences:

  • You cannot run shell commands, exploit tests, or git.
  • You cannot create directories — every output path you write must already exist (the caller is responsible for out).
  • You cannot clone or fetch external sources. The orchestrator runs a pre-flight before invoking you that resolves cross-repo references found in developer comments and pre-clones them into ADDITIONAL_REPOS. Anything still outside the trusted roots (REPO plus ADDITIONAL_REPOS) at this point is treated as unverifiable per R2 — record it in the rationale and continue; do not halt.
  • You can dispatch subagents via the Agent tool, but it's not required. The phase files are procedures you execute yourself; dispatching is a tool for context isolation and parallelism when the workload calls for it. For 1–3 finding runs, inline is fine. Subagents inherit the same envelope: no Bash, no network, read-only over the trusted roots.

Kickoff arguments

The user invokes you with named arguments in the prompt. Parse them into these variables; reject the request if any required argument is missing or non-absolute:

VariableRequiredMeaning
REPOyesAbsolute path to the fixed-code checkout.
REPORTyesAbsolute path to the prior *_VULNHUNT_RESULTS_* directory.
FIXEDyesComma-separated VULN-NNN list, e.g. VULN-001,VULN-003.
OUTyesAbsolute path to an already-existing directory. All outputs land here.
COMMENTSnoAbsolute path to a free-form markdown file (typically a GitHub issue body).
ADDITIONAL_REPOSnoComma-separated absolute paths to additional read-only checkouts. Supplied by the orchestrator's pre-flight when developer comments reference external repositories that resolve to a clonable URL. Each path must exist at kickoff.

The trusted roots are REPO plus every path in ADDITIONAL_REPOS. Anything outside that set is off-limits to your reads.

If anything is missing, malformed, or non-absolute, stop immediately and tell the user what's wrong. Do not invent defaults.

Phase loading

Phases live under ${CLAUDE_SKILL_DIR}/phases/. Each phase file is a procedure, not a subagent prompt — you execute the procedure yourself. You have Agent available and may dispatch subagents when you judge they're useful (e.g. to keep your own context clean while verifying a finding that spans many files, or to parallelize across many findings). For a typical 1–3 finding run, inline is fine.

After each phase, check the file-existence signals described below before continuing.

PhaseFileSynchronization signal
0phases/phase0_preflight.mdWrites ${OUT}/phase0_state.json.
1phases/phase1_extract.mdWrites ${OUT}/extracted_findings.md.
2phases/phase2_verify.mdWrites one ${OUT}/disposition_VULN-NNN.json per ID in FIXED.
4phases/phase4_emit.mdWrites ${OUT}/verify_disposition.json.

Phase 3 is intentionally absent (reserved for exploit-test replay, a future scope per the design doc).

If a phase file is missing, stop the entire workflow and tell the user: "Phase file not found at [path]. The skill is not installed correctly. Run install.sh from the vulnhunter repository root." Do not improvise — a missing phase file is fatal.

Workflow

Step 0 — Read this skill file once

Bind the kickoff arguments to REPO, REPORT, FIXED, OUT, and COMMENTS (if provided). All later references to these variables in phase files mean the values you bound here.

Step 1 — Phase 0 (pre-flight)

Read phases/phase0_preflight.md and execute it inline. It will:

  1. Glob REPO, REPORT, OUT, and every path in ADDITIONAL_REPOS to confirm each exists. If OUT does not exist, you cannot create it — fail with a clear error. A missing ADDITIONAL_REPOS entry is also fatal (the caller asked you to consult it and it isn't there).
  2. Read REPORT's scan_manifest.json (or README.md fallback) and confirm every ID in FIXED appears.
  3. If COMMENTS was provided, evaluate each claim against comment_rules.md. A claim that references a path under any trusted root counts as local; a claim that references a path outside every trusted root is classified as rejected_unverifiable under R2 (the agent's pre-flight already attempted to resolve cross-repo references — anything still unresolved at this point is non-actionable).
  4. Write ${OUT}/phase0_state.json and continue. Partial misses are fine: IDs that aren't in the report are recorded in fixed_ids_missing and become INVALID_INPUT stubs at phase 4. Only when every ID is missing does fixed_ids_in_report come out empty — and in that case phases 1 and 2 have nothing to do; the orchestrator skips them and routes straight to phase 4 (see "After phase 0" below).

When phase 0 wrote phase0_state.json with an empty fixed_ids_in_report (every supplied FIXED ID was missing from the report), phases 1 and 2 have no work to do. Skip them and run phase 4 directly. Phase 4 will emit verify_disposition.json containing one INVALID_INPUT entry per missing ID.

Step 2 — Phase 1 (extract findings)

Read phases/phase1_extract.md and execute it. It produces ${OUT}/extracted_findings.md with one ## VULN-NNN section per ID in fixed_ids_in_report. You may dispatch a subagent for this if you prefer to keep the report parsing out of your context — for small reports inline is fine.

After the file is written, do not Read it in full. Phase 2 reads only one section at a time.

Step 3 — Phase 2 (per-VULN verification)

Read phases/phase2_verify.md once. Then for each VULN-NNN in fixed_ids_in_report, execute the gate procedure against that finding and write ${OUT}/disposition_VULN-NNN.json.

When the procedure is useful to parallelize (typically when fixed_ids_in_report has more than a few entries, or when individual findings would crowd your context), dispatch one general-purpose subagent per VULN in a single message — they run in parallel. Each subagent's prompt should include the finding ID, REPO, OUT, and a pointer to its ## VULN-NNN section in ${OUT}/extracted_findings.md, and tell it to follow phases/phase2_verify.md and write ${OUT}/disposition_VULN-NNN.json. When inline is simpler, run the procedure yourself, one VULN at a time.

SYNCHRONIZATION BARRIER — mandatory before continuing to Step 4:

When you dispatched subagents, their Agent tool calls are in-flight. You must not check for output files or proceed to phase 4 until every Agent tool-result block has been received (i.e., the tool-result content for every Agent call you issued appears in your context). Do NOT issue a Glob for disposition files in the same turn as the Agent calls — wait for the tool results first. Only after all Agent tool results have arrived should you Glob for the disposition files.

After all Agent tool results have been received, Glob for ${OUT}/disposition_*.json. If any per-VULN file is missing, re-do that finding (inline or via a fresh subagent). If a specific VULN still can't produce a disposition after one retry, write a stub INCONCLUSIVE for it with a rationale noting the failure and continue — a partial result is preferable to halting the whole run.

Step 4 — Phase 4 (emit final JSON)

Read phases/phase4_emit.md and execute it inline. It will:

  1. Read ${OUT}/phase0_state.json for target_repo and comments_evaluation.
  2. Read each ${OUT}/disposition_VULN-NNN.json.
  3. Assemble the final document.
  4. Write ${OUT}/verify_disposition.json validated against the shape in verify_disposition.schema.json at the repo root.

Step 5 — Final user-facing message

Output a concise summary to the user: one line per VULN with its verdict, plus a count summary. Example:

Verify complete.

  VULN-001  FIXED
  VULN-003  PARTIAL  (sweep found unaddressed instance at templates/admin/profile.html:9)
  VULN-007  NOT_FIXED  (sink at db/raw.go:42 still uses fmt.Sprintf)

  Summary: 1 FIXED, 1 PARTIAL, 1 NOT_FIXED
  Output:  /work/verify-2026-06-27/verify_disposition.json

Do not paste the full JSON inline; the user will read the file.

Operating principles

  1. Code is the source of truth. Anything stated in COMMENTS is a hint; the verdict stands or falls on what you read in REPO.
  2. No bridging assumptions. If you can't find the original location in REPO and Grep can't find a successor, the gate is skipped and the verdict is INCONCLUSIVE — do not guess.
  3. Fail-closed on schema drift. Every JSON you write must match verify_disposition.schema.json at the repo root. If you're unsure whether a field is required, check the schema.
  4. Read-only over the target. You inspect REPO; you do not modify it. The same applies to REPORT — those artifacts are historical record.
  5. Be terse in evidence. Each evidence entry is one sentence plus a file:line citation. Avoid restating the rationale.

Stopping rules

  • Every ID in FIXED was missing from the report → phase 0 records them in fixed_ids_missing and writes phase0_state.json with an empty fixed_ids_in_report. Skip phases 1 and 2, run phase 4 directly; it emits an all-INVALID_INPUT disposition document. Partial misses are not a stop signal — they flow through phase 4 as stubs alongside the real verdicts.
  • Any phase file missing → stop with the installation-error message above. Do not improvise.
  • All four gates skipped for a finding → verdict is INCONCLUSIVE, not FIXED. Absence of contradiction is not evidence of a fix.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

Kỹ năng AI Vulnhunt Fix Verify làm được gì?

Verify that specific findings from a prior /vulnhunt scan have been correctly addressed in a supplied code checkout. Read-only over the target repo; produces a per-finding verdict JSON.

Vì sao nên dùng Vulnhunt Fix Verify trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Vulnhunt Fix Verify là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Vulnhunt Fix Verify trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/capitalone/VulnHunter/tree/main/vulnhunt-fix-verify. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Vulnhunt Fix Verify?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Vulnhunt Fix Verify với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Vulnhunt Fix Verify với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Vulnhunt Fix Verify có miễn phí không?

Có. Kỹ năng này được capitalone phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇