advisory-mining
Mine GitHub Security Advisories and CVE databases for incomplete fixes, finding variant vulnerabilities in patched code or similar patterns in related packages.
Target discovery methodology for finding high-quality npm/PyPI/GitHub packages to audit for vulnerabilities, with evaluation criteria and search strategies.
$ npx -y skills add ByamB4/find-cve-agent --skill target-recon --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/target-reconContext preview
The summary Claude sees to decide when to auto-load this skill.
Target discovery methodology for finding high-quality npm/PyPI/GitHub packages to audit for vulnerabilities, with evaluation criteria and search strategies.
name: target-recon
description: "Target discovery methodology for finding high-quality npm/PyPI/GitHub packages to audit for vulnerabilities, with evaluation criteria and search strategies."
metadata:
filePattern:
- "**/package.json"
- "**/requirements.txt"
- "**/go.mod"
bashPattern:
- "npm search"
- "gh search repos"
- "pip search"
priority: 70Starting a new research cycle. Need fresh targets with high CVE potential but low existing researcher attention.
The ideal target is a package that:
# Search by category npm search xml parser npm search csv parse npm search template engine npm search file upload npm search schema validator # Check weekly downloads on npmjs.com # Look for packages with 100K-10M weekly downloads
# Search repos by language and star count gh search repos "xml parser" --language javascript --stars 500..15000 gh search repos "yaml" --language python --stars 500..10000 gh search repos "template engine" --language javascript --stars 500..15000 gh search repos "archive extract" --language go --stars 500..10000
Search for vulnerable patterns across many repos:
https://grep.app/search?q=new%20Function®exp=false&filter[lang][0]=JavaScript https://grep.app/search?q=eval%28®exp=false&filter[lang][0]=JavaScript
Check dependency counts -- packages depended on by many other packages have higher impact.
| Category | Vulnerability Classes | Example Packages | |----------|----------------------|------------------| | Parsing (XML/CSV/YAML) | Entity expansion, ReDoS, clobbering | fast-xml-parser, csv-parse, js-yaml | | Validation/Schema | Code injection, ReDoS, proto pollution | ajv, joi, fastest-validator | | Template Engines | SSTI, code injection | ejs, nunjucks, handlebars, pug | | Archive/Compression | Zip Slip, decompression bomb, path traversal | adm-zip, decompress, fflate | | File Handling | Path traversal, symlink attacks | express-fileupload, formidable | | Deep Merge/Clone | Proto pollution, recursion DoS | deepmerge, rfdc, klona | | Expression Evaluators | Sandbox escape, code injection | simpleeval, expr-eval, filtrex | | HTTP Clients | SSRF, header injection, auth leak | got, superagent, needle | | Serialization | Clobbering, code injection, recursion | flatted, superjson, msgpackr | | URL/Path Utilities | SSRF bypass, path traversal | url-parse, normalize-url |
For each candidate:
1. **Check Registry**: Is it already in REGISTRY.md? 2. **Check NVD**: Search for existing CVEs 3. **Check GitHub Advisories**: Look at security tab 4. **Read README**: Does it warn about untrusted input? 5. **Check SECURITY.md**: Does the project accept security reports? 6. **Read recent CHANGELOG**: Any "security fix" entries? (incomplete patches are goldmines) 7. **Check HackerOne/bug bounty**: Bonus, not required 8. **Estimate attack surface**: What untrusted input does it process? 9. **Match to vuln classes**: Which skills apply?
Write a brief for each approved target:
# Target Brief: [package-name] - **GitHub**: [URL] - **Stars**: [count] - **Weekly Downloads**: [count] - **Last Commit**: [date] - **Language**: [JS/Python/Go/etc.] ## Attack Surface - [What untrusted input does it process?] ## Existing CVEs - [none / list with CVE IDs] ## Bug Bounty - [yes/no + link] ## Top 3 Vectors 1. [Most likely vulnerability class + why] 2. [Second most likely] 3. [Third most likely] ## Why Promising [1-2 sentences on why this target is worth investigating]
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
Mine GitHub Security Advisories and CVE databases for incomplete fixes, finding variant vulnerabilities in patched code or similar patterns in related packages.
Detect authentication and authorization bypass vulnerabilities including missing auth middleware, JWT algorithm confusion, IDOR, and session fixation.
Detect code injection vulnerabilities in packages that dynamically generate or evaluate code via new Function(), eval(), vm.run*, or template literal…
Detect OS command injection via shell execution sinks where user-controlled input reaches system commands without proper sanitization.
Cross-pollination multiplier technique: find a vulnerability in one package, then search for the same pattern across all similar packages to multiply findings.
Detect decompression bomb vulnerabilities where compressed input can expand to exhaust memory, targeting buffer-based decompression without size limits.