advisory-mining
Mine GitHub Security Advisories and CVE databases for incomplete fixes, finding variant vulnerabilities in patched code or similar patterns in related packages.
Generate polished, human-sounding vulnerability disclosure reports for GHSA, HackerOne, and email. Auto-selects channel, calculates CVSS, and adapts tone.
$ npx -y skills add ByamB4/find-cve-agent --skill report-writing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/report-writingContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate polished, human-sounding vulnerability disclosure reports for GHSA, HackerOne, and email. Auto-selects channel, calculates CVSS, and adapts tone.
name: report-writing
description: "Generate polished, human-sounding vulnerability disclosure reports for GHSA, HackerOne, and email. Auto-selects channel, calculates CVSS, and adapts tone."
metadata:
filePattern:
- "**/verdict.md"
- "**/findings.md"
- "**/poc_*"
bashPattern:
- "report"
- "disclose"
- "submit"
priority: 85Reports go to real maintainers. They can spot AI-generated text instantly and will take your report less seriously.
**Avoid:**
**Do:**
| Channel | Tone | Length | Format | |---------|------|--------|--------| | GHSA | Professional, structured | Medium (300-500 words) | Markdown with headers | | HackerOne | Concise, impact-focused | Short-medium (200-400 words) | Their template format | | Email (first contact) | Friendly, brief | Short (100-150 words) | Plain text, no attachments | | Email (full report) | Professional, thorough | Medium (300-500 words) | Plain text or markdown | | Follow-up / clarification | Conversational, helpful | Short (50-150 words) | Plain text |
Read these files from the target directory:
Does the project have a HackerOne program?
YES -> HackerOne report
NO -> Does the project have SECURITY.md with email?
YES -> Email first, then GHSA if no response in 7 days
NO -> Does the repo have Security Advisories enabled?
YES -> GHSA
NO -> Find maintainer email from package.json/GitHub profile -> EmailUse CVSS 3.1 calculator logic:
| Factor | Question | Values | |--------|----------|--------| | AV (Attack Vector) | How does attacker reach it? | N=network, A=adjacent, L=local, P=physical | | AC (Attack Complexity) | Special conditions needed? | L=no special conditions, H=race/specific config | | PR (Privileges Required) | Auth needed? | N=none, L=low user, H=admin | | UI (User Interaction) | Victim must do something? | N=no, R=yes (click link, open file) | | S (Scope) | Breaks out of component? | U=no, C=yes (sandbox escape, affects other users) | | C (Confidentiality) | Data exposed? | N=none, L=limited, H=all data | | I (Integrity) | Data modified? | N=none, L=limited, H=full control | | A (Availability) | Service disrupted? | N=none, L=degraded, H=full DoS |
Common patterns:
Select the appropriate template from `templates/` and fill it in. Then apply these rewrites:
**Humanization pass:** 1. Read the draft aloud in your head — does it sound like a person wrote it? 2. Replace any "It is important to note that X" with just "X" 3. Replace "This vulnerability allows an attacker to" with varied openers: "An attacker can...", "Parsing untrusted input...", "When processing...", "The [function] doesn't..." 4. Remove duplicate information — don't say the same thing in Summary and Description 5. Check that the PoC section is copy-pasteable (exact commands, exact version) 6. Add one human touch — a note about what you tested on, or a brief suggestion for the fix
**Structure check:** 1. Summary is one sentence, max two 2. Impact section answers "so what?" for a non-security person 3. PoC has exact reproduction steps a developer can follow in 2 minutes 4. Suggested fix is actionable (not just "validate input" — say HOW)
Format: `[Security] [SEVERITY] vulnerability in [PROJECT] [VERSION]`
Good: `[Security] HIGH severity path traversal in archiver v5.3.1` Bad: `Security Vulnerability Found In Your Project` Bad: `URGENT: Critical Security Issue Detected`
Hi [name], Just following up on my security rep
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.