Sandbox
@ByamB4/find-cve-agent

Claude Code plugin for CVE hunting workflows

This plugin gives Claude Code a structured CVE hunting process with separate roles for recon, hunting, exploitation, validation, and registry tracking. It also adds commands like `/hunt`, `/fp-check`, `/check-nvd`, and `/report`, plus hooks that check version data and reduce duplicate or low-quality findings.

48 stars9 forksJavaScriptUpdated 6mo ago
Who it's for

Builders who use Claude Code to research packages for security issues and responsible disclosure.

What it delivers

You can run a repeatable vulnerability research pipeline that filters out false positives before you write a report.

What it does

Five-agent research team

Defines Director, Recon, Hunter, Exploiter, Validator, and Registry roles for coordinated vulnerability work.

Hunting commands

Adds commands such as `/hunt`, `/recon`, `/check-nvd`, `/fp-check`, `/report`, `/registry`, and `/cross-pollinate`.

CVE search skills

Includes 20 skills for target discovery, attack surface mapping, common bug classes, PoC building, validation, and disclosure writing.

False positive elimination

Uses a 6-gate verification process and FP-focused knowledge files to reject weak findings early.

Hooks and checks

Ships hook scripts for session context, clone deduping, self-checks, and version verification.

Reporting templates

Provides disclosure templates for GitHub Security Advisories, HackerOne, email, verdicts, and PoC skeletons.

README

find-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.


What It Is

find-cve-agent is a battle-tested harness of 20 skills organized as a 5-agent team. It provides structured workflows for every phase of vulnerability research: target discovery, code review, PoC development, false positive elimination, and responsible disclosure.

Every skill encodes practical knowledge about what gets accepted, what gets rejected, and how to avoid wasting time on false positives.

Philosophy

  • Quality over quantity. One confirmed CVE beats ten false positives.
  • False positive elimination is a first-class concern. Every finding passes a 6-gate verification process before submission.
  • Responsible disclosure only. 90-day coordinated timeline, no production exploitation, PoCs run locally.
  • Learn from mistakes. The plugin encodes patterns from past false positives so you don't repeat them.

Quick Start

# Clone the plugin
git clone https://github.com/find-cve-agent/find-cve-agent.git

# Install into your project
cd your-research-workspace
bash /path/to/find-cve-agent/install.sh

# Start hunting
# In Claude Code:
/hunt <package-name>

Or manually copy the plugin contents into your project's .claude/ directory.

Recommended: Also install blader/humanizer to auto-clean AI patterns from disclosure reports before sending.


Agent Team

AgentRoleKey Responsibility
DirectorHuman leadApproves targets, approves PoC plans, final submit/drop
ReconTarget discoveryFinds promising packages on npm/PyPI/GitHub
HunterCode reviewTraces data flows from source to sink
ExploiterPoC builderWrites exploits, chains findings for max impact
ValidatorFP eliminator6-gate verification, kills false positives
RegistryBookkeeperTracks all targets, prevents duplicate work

Available Commands

CommandDescription
/hunt <package>Full pipeline: registry check -> clone -> review -> PoC -> validate -> report
/recon <category>Find targets in a category (e.g., "csv parsers", "template engines")
/check-nvd <package>Query NVD and OSV.dev for existing CVEs
/fp-checkRun the 6-gate false positive elimination on current finding
/reportGenerate a disclosure report from current finding
/registry [query]Query or update the research registry
/cross-pollinateFind the same vulnerability pattern in similar packages

Available Skills

Reconnaissance

  1. Target Discovery — Find under-audited packages with high attack surface
  2. Download Analysis — Assess real-world usage via registry download counts
  3. Advisory Mining — Find incomplete fixes for existing CVEs
  4. Attack Surface Mapping — Identify entry points and data flows

Hunting

  1. Command Injection Search — Find exec/spawn/system sinks
  2. Path Traversal Search — Find file write operations with user paths
  3. Template Injection Search — Find compile-from-string patterns
  4. Deserialization Search — Find unsafe object reconstruction
  5. SSRF Search — Find user-controlled URL fetching
  6. XXE Search — Find XML parsing without entity limits
  7. SQL Injection Search — Find string concatenation in queries
  8. Auth Bypass Search — Find missing or flawed auth checks
  9. ReDoS Search — Find exponential-backtracking regex patterns
  10. Prototype Pollution Search — Find unsafe merge/clone/assign

Exploitation

  1. PoC Builder — Structured exploit script generation
  2. Chain Escalation — Combine findings for higher impact
  3. CVSS Calculator — Accurate severity scoring

Validation

  1. FP-Check (6 Gates) — Systematic false positive elimination
  2. Version Verification — Confirm vuln exists in latest release

Reporting

  1. Disclosure Report Generator — Format findings for submission channels

Directory Structure

find-cve-agent/
+-- .claude-plugin/
|   +-- plugin.json          # Plugin manifest
+-- CLAUDE.md                # Agent architecture and instructions
+-- README.md                # This file
+-- LICENSE                  # Apache-2.0
+-- install.sh               # Installation script
+-- agents/
|   +-- recon.md             # Target discovery agent
|   +-- hunter.md            # Code review agent
|   +-- exploiter.md         # PoC builder agent
|   +-- validator.md         # FP elimination agent
|   +-- registry.md          # Tracking agent
+-- commands/
|   +-- hunt.md              # /hunt command
|   +-- recon.md             # /recon command
|   +-- check-nvd.md         # /check-nvd command
|   +-- fp-check.md          # /fp-check command
|   +-- report.md            # /report command
|   +-- registry.md          # /registry command
|   +-- cross-pollinate.md   # /cross-pollinate command
+-- hooks/
|   +-- hooks.json           # Hook configuration
|   +-- session-start-context.mjs
|   +-- pretooluse-clone-dedup.mjs
|   +-- pretooluse-finding-selfcheck.mjs
|   +-- posttooluse-version-check.mjs
+-- templates/
    +-- REGISTRY.md          # Empty registry template

Environment Requirements

  • Required: git, gh (GitHub CLI), python3, node, curl
  • Optional: npm, pip3 (for target-specific testing)
  • Platform: macOS or Linux
  • Claude Code: Latest version with plugin support

Contributing

Contributions welcome. Areas of interest:

  • New vulnerability search patterns — Add skills for emerging vuln classes
  • False positive patterns — Document new FP patterns you've encountered
  • Disclosure templates — Improve report formatting for different channels
  • Agent improvements — Better prompts, better workflows

Please open an issue first to discuss significant changes.


License

Apache-2.0. See LICENSE.


Disclaimer

This tool is for authorized security research only. It is designed for:

  • Coordinated vulnerability disclosure in open source projects
  • Security research with responsible disclosure timelines
  • CTF competitions and educational contexts

Do NOT use this tool to:

  • Attack production systems without authorization
  • Exploit vulnerabilities for malicious purposes
  • Bypass responsible disclosure timelines
  • Mass-scan repositories without manual review

The authors assume no liability for misuse. You are responsible for ensuring your research complies with applicable laws and the target project's security policy.

Files in the repo

Repository payload15 top-level entries
  • .claude-plugin
  • agents
  • commands
  • grep-patterns
  • hooks
  • knowledge
  • rules
  • scripts
  • semgrep
  • skills
  • templates
  • CLAUDE.md
  • install.sh
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More plugins

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

138k
1 add

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

82k
code-yeongyu/
oh-my-openagent

OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.

69k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

94k

Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns

4.3k