vulnhunter-fix

vulnhunter-fix is a skill for Claude Code, Codex from capitalone/VulnHunter. It costs 135 tokens per session (7,866 once invoked), scanned A, original, Apache-2.0.

An automated process for fixing security weaknesses reported by VulnHunter, a vulnerability-scanning tool, using TDD, or test-driven development.

In plain words
What is it for?
Use it to remediate VulnHunter findings and deliver the verified fixes as pull requests or, when needed, GitHub issues.
Why use it?
It turns each scan finding into an exploit demonstration, a failing security test, a fix, and a verification step.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to remediate VulnHunter findings and deliver the verified fixes as pull requests or, when needed, GitHub issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/capitalone/vulnhunter/vulnhunter-fix
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add capitalone/VulnHunter --skill vulnhunter-fix
Clone the repo
git clone --depth 1 https://github.com/capitalone/VulnHunter

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vulnhunter-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/capitalone/vulnhunter/vulnhunter-fix/github.svg)](https://agentmods.dev/skills/capitalone/vulnhunter/vulnhunter-fix)
Your own site
<a href="https://agentmods.dev/skills/capitalone/vulnhunter/vulnhunter-fix"><img src="https://agentmods.dev/badge/skills/capitalone/vulnhunter/vulnhunter-fix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vulnhunter-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/capitalone/vulnhunter/vulnhunter-fix"><img src="https://agentmods.dev/badge/skills/capitalone/vulnhunter/vulnhunter-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 223
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 168
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 175
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Excessive Agency · line 346
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00135 $0.07866
Opus 5 $0.00068 $0.03933
Sonnet 5 $0.00027 $0.01573
Haiku 4.5 $0.00014 $0.00787

Measured 10d ago against content hash 836f15939203, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

vulnhunter-fix scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (scripts/_skill_bootstrap.py, scripts/anti-merge-check.py, scripts/build_graph.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `gh issue list` fails → trying `git ls-remote` or `curl https://api.github.com/...`.
vulnhunter-fix/SKILL.md · 407 lines

How it starts

The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VulnFix — Automated Security Remediation via TDD

Overview

VulnFix takes VulnHunter scan results and automates the full remediation lifecycle:

  1. Parse findings from the report (or from vulnhunter-labeled issues in in-place mode)
  2. Plan fix order and approach
  3. For each vulnerability: write exploit demo → write failing test → implement fix → verify test passes
  4. Deliver as PRs — to a private fork (fork mode) or to the same repo (in-place mode)

Modes

The skill runs in one of two modes, dispatched automatically.

Mode Trigger Workflow
In-place (default when invoked from inside a target repo checkout) User runs /vulnhunter-fix with no args from inside a git working tree whose origin is on GitHub. Findings are harvested from vulnhunter-labeled GitHub issues on that repo. The full report is staged from the publish repo named by the vulnhunt-results-dir marker. Fixes happen on per-finding worktrees rooted at <repo>/.vulnhunter-fix/. Delivery pushes branches and opens PRs back to the same repo; the source issue is commented and closed. See prompts/parse_issues.md, then plan.mdimplement.mdverify.mddeliver.md (in-place section).
Fork (legacy / cross-org) User passes TARGET_REPO + RESULTS_PATH explicitly. Skill clones into ./work/, forks the target into a configured org, and delivers PRs to the fork. See prompts/parse.md, then the same downstream phases (fork section in deliver.md).

Mode dispatch (mandatory)

Before any other action, decide the mode. Run the canonical dispatcher script and parse its stdout:

# Returns one of: mode=in_place / mode=fork / mode=ambiguous / mode=none
# Exit 0 for in_place/fork/none; exit 2 for ambiguous (caller must resolve).
DISPATCH="$(bash "${SKILL_DIR}/scripts/detect_mode.sh" \
    "${TARGET_REPO:-}" "${RESULTS_PATH:-}")"
echo "$DISPATCH"

The script is the source of truth for the dispatch rule — it has its own tests under tests/test_detect_mode_sh.py. Behavior summary:

Read the full file on GitHub · 407 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 407 lines · 135 tokens per session scan A 836f15939203

Subscribe to this mod's changes

vulnhunter-fix is a skill published in the GitHub repository capitalone/VulnHunter (985 stars, last pushed 25d ago), licensed Apache-2.0. It adds 135 tokens to every session and 7,866 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.