Skip to content
Security
Command

/hunt

Full CVE hunting pipeline. Usage: /hunt <package-name>. Orchestrates all agents: registry check, clone, code review, PoC build, validation, and report generation.

From plugin
find-cve-agent
607 skills5 agents7 commands3 hooks
$ npx -y skills add ByamB4/find-cve-agent --agent claude-code

Command definition

hunt.md
name: hunt
description: "Full CVE hunting pipeline. Usage: /hunt <package-name>. Orchestrates all agents: registry check, clone, code review, PoC build, validation, and report generation."

/hunt <package-name>

Run the full CVE hunting pipeline on a target package.

Pipeline Steps

Execute these steps in order. Stop if any step fails.

Step 1: Registry Check

Check if this package has already been investigated: 1. Read REGISTRY.md and search for the package name 2. Query NVD/OSV for existing CVEs:

   curl -s "https://api.osv.dev/v1/query" -d '{"package":{"name":"$ARGUMENTS","ecosystem":"npm"}}'

3. If found in registry as SUBMITTED/SKIP/DUPLICATE -> report status and STOP 4. If found as FALSE_POSITIVE -> show reason and ask Director if they want to re-investigate 5. If CLEAN -> proceed

Step 2: Target Reconnaissance

Gather target information: 1. Get repo metadata:

   gh search repos "$ARGUMENTS" --json fullName,stargazerCount,updatedAt,description --limit 5

2. Check npm download counts:

   curl -s "https://api.npmjs.org/downloads/point/last-week/$ARGUMENTS"

3. Check for SECURITY.md, bug bounty info 4. List existing security advisories:

   gh api "repos/<owner>/<repo>/security-advisories" 2>/dev/null

5. Create `targets/<package>/brief.md` with findings

Step 3: Clone and Setup

# Clone the repo
git clone --depth 1 <repo-url> targets/<package>/repo

# Check the version
cat targets/<package>/repo/package.json | python3 -c "import sys,json; print(json.load(sys.stdin)['version'])"

Step 4: Hunter Code Review

Perform systematic code review as the Hunter agent:

1. Map attack surface based on package type 2. Search for vulnerability patterns (Tier 1 first, then Tier 2, then Tier 3) 3. For each potential finding, trace the full data flow: source -> transforms -> sink 4. Document findings in `targets/<package>/findings.md`

If no findings after thorough review:

  • Record in REGISTRY.md as SKIP with vectors checked
  • Report to Director: "No vulnerabilities found in <package>. Checked: <vectors>."
  • STOP

Step 5: PoC Development

For each finding:

1. Present the PoC plan to the Director:

   Finding: <description>
   Root cause: <file:line>
   Plan: <approach>
   Chaining: <opportunities>
   CVSS: <estimated score>
   Approve?

2. Wait for Director approval 3. Write PoC script at `targets/<package>/poc_<vuln_type>.py` 4. Test that the PoC runs and produces expected output

Step 6: Validation

Run the full 6-gate verification process:

1. Gate 1 (Process): Verify all evidence is present 2. Gate 2 (Reachability): Confirm attacker can reach the vuln 3. Gate 3 (Real Impact): Confirm genuine security consequence 4. Gate 4 (PoC Validation): Run PoC 3 times, all must succeed 5. Gate 5 (Math Bounds): For DoS, verify exponential growth 6. Gate 6 (Environment): Check for runtime/framework protections

Apply the 13-item false positive checklist. Run the Devil's Advocate 7-question self-check.

Write verdict to `targets/<package>/verdict.md`.

Step 7: Report

If CONFIRMED: 1. Determine the best disclosure channel:

  • HackerOne (if program exists)
  • GitHub Security Advisory (preferred for open source)
  • Direct email (if SECURITY.md provides one)

2. Generate the disclosure report using `/report` 3. Present to Director for final submit/drop decision

If FALSE_POSITIVE: 1. Record in REGISTRY.md with reason 2. Report lesson learned to Director

Step 8: Registry Update

Update REGISTRY.md with the final outcome:

  • SUBMITTED: package, severity, channel, date
  • FALSE_POSITIVE: package, what was checked, why false, date
  • SKIP: package, vectors checked, date

Quick Reference

/hunt lodash-merge    # Hunt in a specific package
/hunt csv-parse       # Hunt in csv-parse
/hunt pug             # Hunt in pug template engine
Read more
@byamb4
Ships withfind-cve-agent

Open Source CVE Hunting Harness for Claude Code A Claude Code plugin that systematically finds real CVEs in open source packages through coordinated multi-agent security research.

6021 skills5 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
60
Star history of ByamB4/find-cve-agent on GitHub, a chart by star-history.com

Other commands on find-cve-agent.

check-nvd

check-nvd

Command

Query NVD and OSV.dev for existing CVEs. Usage: /check-nvd <package-name>. Shows CVE count, severity breakdown, and recent fixes.

@byamb4@byamb4Install Command
cross-pollinate

cross-pollinate

Command

Take a confirmed vulnerability pattern and find the same bug in similar packages. Usage: /cross-pollinate (run after confirming a…

@byamb4@byamb4Install Command
fp-check

fp-check

Command

Run the 6-gate false positive elimination process on the current finding. Usage: /fp-check (run from a target directory with…

@byamb4@byamb4Install Command
recon

recon

Command

Find targets in a category. Usage: /recon <category>. Examples: /recon csv-parsers, /recon template-engines, /recon archive-libs.

@byamb4@byamb4Install Command
registry

registry

Command

Query or update the research registry. Usage: /registry [query]. Examples: /registry stats, /registry check lodash, /registry…

@byamb4@byamb4Install Command
report

report

Command

Generate a disclosure report from the current finding. Auto-detects the best submission channel. Usage: /report (run from target…

@byamb4@byamb4Install Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

ironclaw12d13k
@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command