davepoon/buildwithclaude/exploits
Claude Code and agent skill by davepoon/buildwithclaude
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Analyze exploit intelligence for a vulnerability against the current repository
Install
npx vskill@latest install davepoon/buildwithclaude/exploitsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as davepoon/buildwithclaude/exploits.
Vulnetix Exploit Analysis Skill
This skill analyzes exploit intelligence for a specific vulnerability (CVE, GHSA, etc.) and assesses its impact against the current repository. This skill does not modify application code — it only updates .vulnetix/memory.yaml to track findings. Use /vulnetix:fix for remediation.
Output & Analysis Guidelines
Primary output format: Markdown. All reports, tables, assessments, and evidence summaries MUST be presented as formatted markdown text directly — never generate scripts or programs to produce output that can be expressed as markdown.
Visual data — use Mermaid diagrams to display data visually when it aids comprehension. Mermaid renders natively in markdown and requires no external tools. Use it for:
- Attack path / kill chain visualization →
graph TD - CWSS factor breakdown →
pieorquadrantChart - Exploit timeline (discovery dates, PoC releases) →
timeline - Threat model reachability →
flowchart(dependency → vulnerable code → exposure) - Priority comparison across multiple vulns →
barorxychart-beta
Example — CWSS factor breakdown:
pie title CWSS Priority Factors (Score: 87.5) "Technical Impact (100)" : 25 "Exploitability (95)" : 25 "Exposure (100)" : 15 "Complexity (90)" : 15 "Repo Relevance (70)" : 20
Example — attack path:
graph LR A[Internet] -->|network| B[Web App] B -->|imports| C[log4j-core 2.14.1] C -->|JNDI lookup| D[RCE] style C fill:#f66,stroke:#333 style D fill:#f00,color:#fff
If `uv` is available, richer visualizations can be generated with Python (matplotlib, plotly) and saved to .vulnetix/:
When Python charts are generated, display them inline and keep the Mermaid version as a text fallback.
Data processing — tooling cascade (strict order):
- jq / yq + bash builtins (preferred) —
jqfor JSON extraction/filtering (API responses, CycloneDX SBOMs),yqfor YAML (memory file reads). Pipe tohead,tail,cut,sed,grep,sort,uniq,wcfor shaping. - uv (for complex analysis or charts) — If CWSS scoring, statistical aggregation, or visualization beyond Mermaid are needed, check
uvfirst:
``bash command -v uv &>/dev/null && uv run --with pandas,matplotlib python3 -c '...' ``
- python3 stdlib (last resort) — Only if
uvis unavailable. Usejson,csv,collections,statistics,mathmodules — no pip dependencies:
``bash command -v python3 &>/dev/null && python3 -c 'import json, sys; ...' ``
Never assume any runtime is available — always check with command -v before use. If all programmatic tools are unavailable, perform CWSS calculations manually and present results as markdown with Mermaid diagrams.
CWE pattern matching (Step 5 grep commands for code analysis) uses the Grep tool directly — these are not data processing and are exempt from this cascade.
Vulnerability Memory (.vulnetix/memory.yaml)
This skill reads and updates the .vulnetix/memory.yaml file in the repository root. This file is shared with /vulnetix:fix and /vulnetix:package-search and tracks all vulnerability encounters, threat models, priority scores, and user decisions across sessions.
Schema
The canonical schema is defined in /vulnetix:fix. This skill adds and maintains the threat_model and cwss fields on each vulnerability entry. The full per-vulnerability entry structure:
MITRE ATT&CK Mapping
Use ATT&CK technique IDs internally in threat_model.techniques. Always communicate to the user using the developer-friendly language in `threat_model.tactics`. Never surface ATT&CK IDs, tactic names, or technique names to the user — those are internal metadata only.
| ATT&CK ID | ATT&CK Name | Developer Language (store in tactics) | |
|---|---|---|---|
| T1190 | Exploit Public-Facing Application | "Attackable from the internet — web app or API is the entry point" | |
| T1195.001 | Supply Chain: Compromise Software Dependencies | "Compromised dependency — malicious code injected via a package you use" | |
| T1195.002 | Supply Chain: Compromise Software Supply Chain | "Tampered build or distribution — the package source or registry was compromised" | |
| T1059 | Command and Scripting Interpreter | "Can run arbitrary commands on your server" | |
| T1203 | Exploitation for Client Execution | "Exploitable via user interaction — opening a file or clicking a link triggers it" | |
| T1068 | Exploitation for Privilege Escalation | "Can escalate to admin or root access" | |
| T1210 | Exploitation of Remote Services | "Exploitable over the network between services" | |
| T1212 | Exploitation for Credential Access | "Can steal credentials — passwords, tokens, or keys" | |
| T1005 | Data from Local System | "Can read sensitive data — files, env vars, or secrets on the host" | |
| T1499 | Endpoint Denial of Service | "Can crash your service or exhaust resources" | |
| T1565 | Data Manipulation | "Can tamper with, corrupt, or inject data" |
How to select techniques: Map from the CWE, CVSS vector, and exploit analysis:
- CWE-78/CWE-77 (OS/Command injection) → T1059
- CWE-502 (Deserialization) → T1059 + T1068
- CWE-89 (SQL injection) → T1005 + T1565
- CWE-79 (XSS) → T1203 + T1212
- CWE-22 (Path traversal) → T1005
- CWE-400/CWE-770 (Resource exhaustion) → T1499
- CWE-306/CWE-287 (Auth issues) → T1068
- CVSS AV:N → T1190 or T1210
- Supply chain advisory → T1195.001 or T1195.002
- RCE impact → T1059
- Privilege escalation impact → T1068
- Info disclosure impact → T1005 or T1212
Multiple techniques may apply to a single vulnerability.
CWSS Priority Scoring
Compute a CWSS-derived priority score (0–100) from Vulnetix data to help developers decide what to fix first. This uses Common Weakness Scoring System principles simplified into five factors that map directly to available API data and repo analysis.
Factors:
| Factor | Weight | Source | How to score (0–100) | |
|---|---|---|---|---|
| Technical Impact | 25% | CVSS impact sub-score, CWE consequence | RCE → 100, Priv escalation → 90, Data exfil → 85, Data tampering → 70, DoS → 40, Info disclosure → 30 | |
| Exploitability | 25% | EPSS score, exploit records, CISA KEV | Base: EPSS × 100. Adjustments: Metasploit module → +20, Verified PoC → +15, CISA KEV → +15. Cap at 100. | |
| Exposure | 15% | CVSS attack vector + repo deployment analysis | Network + public-facing → 100, Network + internal → 70, Adjacent → 50, Local → 30, Physical → 10 | |
| Complexity | 15% | CVSS attack complexity, privileges, user interaction (inverted: higher = easier to exploit) | Low complexity + no auth + no interaction → 100. Each: high complexity → −30, auth required → −25, interaction required → −20. Floor at 0. | |
| Repo Relevance | 20% | Dependency analysis from Step 5 | Direct dep + reachable code → 100, Direct dep + unknown reachability → 70, Transitive dep → 40, Not found → 0 |
Composite score:
Priority tiers (shown to user):
| Priority | Score Range | Developer Language | |
|---|---|---|---|
| P1 | ≥ 80 | "Act now — actively exploited, trivial to attack, you're exposed" | |
| P2 | 60–79 | "Plan this sprint — public exploits exist, you're likely affected" | |
| P3 | 40–59 | "Schedule it — known issue, limited exploitability or exposure" | |
| P4 | < 40 | "Track it — low risk, no known exploitation, limited exposure" |
Risk Treatment Decisions
When the user makes a decision about a vulnerability, map it to one of four risk treatment categories. Use these categories as internal guidance only — always communicate using the developer-friendly language.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/vulnetix/skills/exploits/SKILL.md
Popularity
- Repository stars
- 3,193
- Repository forks
- 432
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/davepoon/buildwithclaude/exploits)