advisory-mining
Mine GitHub Security Advisories and CVE databases for incomplete fixes, finding variant vulnerabilities in patched code or…
Generate polished, human-sounding vulnerability disclosure reports for GHSA, HackerOne, and email. Auto-selects channel, calculates CVSS, and adapts tone.
Claude Code
$ npx -y skills add ByamB4/find-cve-agent --skill report-writing --agent claude-code
Codex
$ npx skills add ByamB4/find-cve-agent --skill report-writing -a codex -y
Cursor
$ npx skills add ByamB4/find-cve-agent --skill report-writing -a cursor -y
Gemini CLI
$ npx skills add ByamB4/find-cve-agent --skill report-writing -a gemini-cli -y
GitHub Copilot
$ npx skills add ByamB4/find-cve-agent --skill report-writing -a github-copilot -y
OpenCode
$ npx skills add ByamB4/find-cve-agent --skill report-writing -a opencode -y
Windsurf
$ npx skills add ByamB4/find-cve-agent --skill report-writing -a windsurf -y
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.
Mine GitHub Security Advisories and CVE databases for incomplete fixes, finding variant vulnerabilities in patched code or…
Detect authentication and authorization bypass vulnerabilities including missing auth middleware, JWT algorithm confusion, IDOR,…
Detect code injection vulnerabilities in packages that dynamically generate or evaluate code via new Function(), eval(), vm.run*,…
Detect OS command injection via shell execution sinks where user-controlled input reaches system commands without proper…
Cross-pollination multiplier technique: find a vulnerability in one package, then search for the same pattern across all similar…
Detect decompression bomb vulnerabilities where compressed input can expand to exhaust memory, targeting buffer-based…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…