davepoon/buildwithclaude/exploits

Claude Code and agent skill by davepoon/buildwithclaude

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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/exploits

Semi-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 → pie or quadrantChart
  • Exploit timeline (discovery dates, PoC releases) → timeline
  • Threat model reachability → flowchart (dependency → vulnerable code → exposure)
  • Priority comparison across multiple vulns → bar or xychart-beta

Example — CWSS factor breakdown:

`markdown

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:

`markdown

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/:

bash
command -v uv &>/dev/null && uv run --with matplotlib python3 -c '
import matplotlib.pyplot as plt
# ... generate chart ...
plt.savefig(".vulnetix/chart.png", dpi=150, bbox_inches="tight")
'

When Python charts are generated, display them inline and keep the Mermaid version as a text fallback.

Data processing — tooling cascade (strict order):

  1. jq / yq + bash builtins (preferred) — jq for JSON extraction/filtering (API responses, CycloneDX SBOMs), yq for YAML (memory file reads). Pipe to head, tail, cut, sed, grep, sort, uniq, wc for shaping.
  2. uv (for complex analysis or charts) — If CWSS scoring, statistical aggregation, or visualization beyond Mermaid are needed, check uv first:

``bash command -v uv &>/dev/null && uv run --with pandas,matplotlib python3 -c '...' ``

  1. python3 stdlib (last resort) — Only if uv is unavailable. Use json, csv, collections, statistics, math modules — 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:

yaml
# .vulnetix/memory.yaml
# Auto-maintained by Vulnetix Claude Code Plugin
# Do not remove — tracks vulnerability decisions and fix history
schema_version: 1
vulnerabilities:
CVE-2021-44228: # Primary vuln ID (key)
aliases: # Other IDs for the same vuln
- GHSA-jfh8-c2jp-5v3q
package: log4j-core
ecosystem: maven
discovery:
date: "2024-01-15T10:30:00Z" # ISO 8601 UTC
source: manifest # manifest | lockfile | sbom | scan | user | hook
file: pom.xml # The manifest where it was found
sbom: .vulnetix/scans/pom.xml.cdx.json # CycloneDX v1.7 SBOM (when produced by scan/hook)
versions:
current: "2.14.1"
current_source: "lockfile: pom.xml"
fixed_in: "2.17.1"
fix_source: "registry: Maven Central"
severity: critical # critical | high | medium | low | unknown
safe_harbour: 0.82 # 0.00-1.00 confidence score
status: affected # VEX: not_affected | affected | fixed | under_investigation
justification: null # VEX justification (for not_affected)
action_response: null # VEX action (for affected)
threat_model: # Populated by /vulnetix:exploits
techniques: # MITRE ATT&CK technique IDs (internal reference)
- T1190
- T1059
tactics: # Developer-friendly descriptions (shown to user)
- "Attackable from the internet"
- "Can run arbitrary commands"
attack_vector: network # network | local | adjacent | physical
attack_complexity: low # low | high
privileges_required: none # none | low | high
user_interaction: none # none | required
reachability: direct # direct | transitive | not-found | unknown
exposure: public-facing # public-facing | internal | local-only | unknown
pocs: # PoC sources (static analysis only, never executed)
- url: "https://exploit-db.com/exploits/12345"
source: exploitdb
type: poc # poc | exploit-framework | article
local_path: ".vulnetix/pocs/CVE-2021-44228/exploit_12345.py"
fetched_date: "2024-01-15T10:35:00Z"
verified: true
analysis: "RCE via JNDI lookup injection, network vector, no auth required"
cwss: # CWSS-derived priority scoring
score: 87.5 # 0-100 composite priority score
priority: P1 # P1 | P2 | P3 | P4
factors:
technical_impact: 100 # 0-100 from CVSS impact / CWE consequence
exploitability: 95 # 0-100 from EPSS, exploit availability
exposure: 100 # 0-100 from attack vector + repo deployment
complexity: 90 # 0-100 inverted (higher = easier to exploit)
repo_relevance: 70 # 0-100 from dependency relationship, reachability
decision:
choice: investigating # See Decision Values below
reason: "Exploit analysis in progress"
date: "2024-01-15T10:30:00Z"
history: # Append-only event log
- date: "2024-01-15T10:30:00Z"
event: discovered
detail: "Found via /vulnetix:exploits CVE-2021-44228"
- date: "2024-01-15T10:35:00Z"
event: exploit-analysis
detail: "3 public exploits, EPSS 0.97, Metasploit module, CISA KEV listed. CWSS 87.5 (P1)."
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 IDATT&CK NameDeveloper Language (store in tactics)
T1190Exploit Public-Facing Application"Attackable from the internet — web app or API is the entry point"
T1195.001Supply Chain: Compromise Software Dependencies"Compromised dependency — malicious code injected via a package you use"
T1195.002Supply Chain: Compromise Software Supply Chain"Tampered build or distribution — the package source or registry was compromised"
T1059Command and Scripting Interpreter"Can run arbitrary commands on your server"
T1203Exploitation for Client Execution"Exploitable via user interaction — opening a file or clicking a link triggers it"
T1068Exploitation for Privilege Escalation"Can escalate to admin or root access"
T1210Exploitation of Remote Services"Exploitable over the network between services"
T1212Exploitation for Credential Access"Can steal credentials — passwords, tokens, or keys"
T1005Data from Local System"Can read sensitive data — files, env vars, or secrets on the host"
T1499Endpoint Denial of Service"Can crash your service or exhaust resources"
T1565Data 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:

FactorWeightSourceHow to score (0–100)
Technical Impact25%CVSS impact sub-score, CWE consequenceRCE → 100, Priv escalation → 90, Data exfil → 85, Data tampering → 70, DoS → 40, Info disclosure → 30
Exploitability25%EPSS score, exploit records, CISA KEVBase: EPSS × 100. Adjustments: Metasploit module → +20, Verified PoC → +15, CISA KEV → +15. Cap at 100.
Exposure15%CVSS attack vector + repo deployment analysisNetwork + public-facing → 100, Network + internal → 70, Adjacent → 50, Local → 30, Physical → 10
Complexity15%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 Relevance20%Dependency analysis from Step 5Direct dep + reachable code → 100, Direct dep + unknown reachability → 70, Transitive dep → 40, Not found → 0

Composite score:

CWSS = (technical_impact × 0.25) + (exploitability × 0.25) + (exposure × 0.15) + (complexity × 0.15) + (repo_relevance × 0.20)

Priority tiers (shown to user):

PriorityScore RangeDeveloper Language
P1≥ 80"Act now — actively exploited, trivial to attack, you're exposed"
P260–79"Plan this sprint — public exploits exist, you're likely affected"
P340–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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/davepoon/buildwithclaude/exploits/badge)](https://verified-skill.com/skills/davepoon/buildwithclaude/exploits)

Something wrong with this skill or its page? Tell us.