check-nvd
Query NVD and OSV.dev for existing CVEs. Usage: /check-nvd <package-name>. Shows CVE count, severity breakdown, and recent fixes.
Full CVE hunting pipeline. Usage: /hunt <package-name>. Orchestrates all agents: registry check, clone, code review, PoC build, validation, and report generation.
$ npx -y skills add ByamB4/find-cve-agent --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/huntContext preview
What this command does when you run it.
Full CVE hunting pipeline. Usage: /hunt <package-name>. Orchestrates all agents: registry check, clone, code review, PoC build, validation, and report generation.
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."
Run the full CVE hunting pipeline on a target package.
Execute these steps in order. Stop if any step fails.
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
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
# 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'])"
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:
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
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`.
If CONFIRMED: 1. Determine the best disclosure channel:
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
Update REGISTRY.md with the final outcome:
/hunt lodash-merge # Hunt in a specific package /hunt csv-parse # Hunt in csv-parse /hunt pug # Hunt in pug template engine
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.
Repo: ByamB4/find-cve-agent
Query NVD and OSV.dev for existing CVEs. Usage: /check-nvd <package-name>. Shows CVE count, severity breakdown, and recent fixes.
Take a confirmed vulnerability pattern and find the same bug in similar packages. Usage: /cross-pollinate (run after confirming a finding).
Run the 6-gate false positive elimination process on the current finding. Usage: /fp-check (run from a target directory with findings).
Find targets in a category. Usage: /recon <category>. Examples: /recon csv-parsers, /recon template-engines, /recon archive-libs.
Query or update the research registry. Usage: /registry [query]. Examples: /registry stats, /registry check lodash, /registry list in-progress.