advisory-mining
Mine GitHub Security Advisories and CVE databases for incomplete fixes, finding variant vulnerabilities in patched code or similar patterns in related packages.
Systematic false positive elimination for security findings. 6-gate verification, 13-item checklist, devil's advocate questioning. MANDATORY before any CVE submission.
$ npx -y skills add ByamB4/find-cve-agent --skill fp-check --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fp-checkContext preview
The summary Claude sees to decide when to auto-load this skill.
Systematic false positive elimination for security findings. 6-gate verification, 13-item checklist, devil's advocate questioning. MANDATORY before any CVE submission.
name: fp-check
description: "Systematic false positive elimination for security findings. 6-gate verification, 13-item checklist, devil's advocate questioning. MANDATORY before any CVE submission."
priority: 100
metadata:
filePattern:
- "**/verdict*"
- "**/finding*"
- "**/poc_*"
bashPattern:
- "fp-check|false.positive|verify.finding"Before ANY finding is submitted. No exceptions. This is the final gate.
| Rationalization | Why It Is Wrong | Action | |---|---|---| | "This pattern looks dangerous" | Pattern recognition is not analysis | Trace actual data flow | | "Similar code was vulnerable elsewhere" | Each context differs | Verify this specific instance | | "This is clearly critical" | LLMs are biased toward seeing bugs | Complete devil's advocate | | "Skipping verification for efficiency" | No partial analysis allowed | Run all gates |
Restate the vulnerability in one precise sentence. If you cannot, it's likely false.
Half of false positives collapse at this step — the claim doesn't make coherent sense.
**Standard** — clear claim, single component, well-understood bug class, no concurrency. **Deep** — ambiguous claim, cross-component flow, race conditions, logic bugs, or standard was inconclusive.
Start with Standard. It has built-in escalation checkpoints.
| # | Check | If YES | |---|-------|--------| | 1 | README warns against untrusted input? | Gray area — document it | | 2 | Documented/intended behavior? | FALSE POSITIVE | | 3 | Library handles this gracefully? | FALSE POSITIVE | | 4 | Alpha/beta/pre-release? | Unlikely to get CVE | | 5 | JSON.parse does the same? | Show REAL crash beyond JSON.parse | | 6 | OOM crash or caught RangeError? | RangeError = lower severity | | 7 | Requires admin privileges? | Check if access is genuinely new | | 8 | Exact version already patched? | DUPLICATE | | 9 | Framework sanitizes at middleware? | FALSE POSITIVE | | 10 | Runtime blocks this? | FALSE POSITIVE | | 11 | >10 prior CVEs on this project? | Over-audited — proceed with caution | | 12 | Different package with similar name? | Verify exact package | | 13 | Only works with non-default config? | Severity drops significantly |
1. Am I seeing a vulnerability because the pattern "looks dangerous"? 2. Am I incorrectly assuming attacker control over trusted data? 3. **Am I hallucinating this?** LLMs are biased toward seeing bugs everywhere. 4. Am I dismissing complexity that makes exploitation impractical? 5. Am I inventing mitigations I haven't verified in source code? 6. Am I conflating "unsafe-looking code" with "exploitable vulnerability"? 7. Would a senior security researcher at Trail of Bits agree this is real?
VERDICT: TRUE POSITIVE / FALSE POSITIVE / NEEDS MORE INFO Gates passed: X/6 Checklist flags: [list any concerns] Devil's advocate: [key doubt and resolution] Evidence: [concrete proof] Confidence: HIGH / MEDIUM / LOW
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.