Analyzes CVE vulnerabilities in project dependencies by tracing code paths from user input to vulnerable functions, assessing exploitability, and generating PoC HTTP requests for Burp Suite validation.
Ships in agent-smith. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This workflow provides a structured methodology for analyzing whether a CVE affecting a project dependency poses a real security risk. It:
Language/Framework Agnostic: Works with Python, Node.js, Java, Go, Ruby, PHP, and more.
Read this before executing any workflow phase. Commit to MANDATORY chains before your first tool call.
| Trigger | Chain | Mandatory? |
|---|---|---|
After session(action="complete") (confirmed exploitable finding) | /gh-export | OPTIONAL — user request only |
| Exploitable CVE confirmed + live target available | /web-exploit | OPTIONAL |
| Exploitable CVE confirmed + Metasploit module available | /metasploit | OPTIONAL |
Invoking a chained skill: follow the per-client invocation table in the project's CLAUDE.md / AGENTS.md — do not hard-code client-specific syntax here.
RE-RUN TRIGGERS — run once PER distinct CVE, not once per scan. Each new CVE is its own trace + PoC; a prior CVE's analysis never covers another. Re-invoke this workflow for every additional CVE surfaced in the engagement.
Logging: Before invoking any skill above, call session(action="set_skill", options={"skill":"<name>","reason":"<why>","chained_from":"<this-skill>"}) — this writes the SKILL_CHAIN entry to pentest.log.
Read CVE Details
kali(command="searchsploit <product> <version>")Trust User-Provided Version Information
pyproject.toml, requirements.txt, Pipfilepackage.json, package-lock.jsonpom.xml, build.gradle, build.gradle.ktsgo.modGemfile, Gemfile.lockcomposer.jsonUnderstand Vulnerable Function from CVE
jackson-databind.readValue(), pymupdf.Document.open())Trace Usage in Application
Identify Entry Points
Trace User Input Flow
Construct Dataflow Graph
Exploitability Assessment
A CVE analysis usually has no live endpoint to attack, so the strongest evidence is to actually trigger the vulnerable code path. When the codebase is local and the build is tractable, confirm in the hardened sandbox (capabilities dropped, pid/mem/cpu-capped, staged copy — original source untouched; network ON by default so pip install/npm ci work — pass allow_network: false to isolate untrusted code):
scan(tool="exec_sandbox", target="<codebase path>", options={
"subdir": "<smallest dir that builds>",
"setup": "pip install -e .", # or: npm ci / go build ./... / mvn -q compile
"cmd": "python repro.py", # a minimal script that drives user input into the vulnerable sink
"image": "python:3.11-slim", # match the dependency's runtime
"timeout": 180
})
It returns an artifact_id with the captured stdout/stderr + exit code. A crash/traceback/exec from the vulnerable function proves exploitability — pass the artifact_id to report(action="finding", ...) as the reproduction artifact and rate it accordingly. If it cannot be built (private artifactories, complex multi-service setup) the tool returns a diagnostic and you simply fall back to the static dataflow trace — execution confirmation is opt-in and never required.
Craft HTTP Request
Document Expected Behavior
If pentest-agent MCP tools are available (e.g. when chained from /pentester), report findings to the live dashboard:
Log confirmed vulnerabilities
report(action="finding", data={...}) with the CVE ID, affected component, exploitability rating, and raw evidence (dataflow trace, code snippets)Route PoC through Burp Suite
http(action="request", options={"poc": true}) with the crafted exploit request — this lands it in Burp HTTP Historyhttp(action="save_poc", ...) with a descriptive title (e.g. cve-2024-xxxxx-rce-upload) and include the vulnerability description in notes.http file in pocs/ that can be pasted directly into Burp RepeaterSkip this phase if MCP tools are not available (standalone analysis). The markdown report is always produced regardless.
CVE-YYYY-XXXXX-analysis.md[Explanation]. Found in: file.ext:line, file.ext:line⚠️ CRITICAL: Every report MUST include the "Tracking Tool Summary" section at the end with file paths and line numbers. This section is MANDATORY and should NEVER be omitted.
# CVE-YYYY-XXXXX Analysis Report
## Executive Summary
**Exploitability**: [HIGH/MEDIUM/LOW/NOT EXPLOITABLE]
**Impact**: [Brief description]
**Recommendation**: [Immediate action needed]
## Vulnerability Information
- **CVE ID**: CVE-YYYY-XXXXX
- **Dependency**: [name]
- **Installed Version**: [version]
- **Vulnerable Versions**: [range]
- **Vulnerability Type**: [RCE/XSS/SQLi/etc.]
- **CVSS Score**: [if available]
## Vulnerability Description
[Detailed description from CVE source]
## Code Path Analysis
### Vulnerable Function
- **Location in Dependency**: [module.function]
- **Function Signature**: `[signature]`
- **Vulnerability Mechanism**: [how it works]
### Import Evidence
[Show where and how the vulnerable package is imported - this proves the dependency is loaded]
1. `file.ext:line` - Import statement:
```[language]
[line_number] [actual import statement from code with line numbers preserved]
file.ext:line - Import statement:
[line_number] [actual import statement from code with line numbers preserved]
Note: Include line numbers in all code snippets to show exact locations in source files.
[List all locations where vulnerable code is used]
file.ext:line - [context]
[line_number] [code snippet showing vulnerable function call with line numbers]
file.ext:line - [context]
[line_number] [code snippet showing vulnerable function call with line numbers]
[METHOD] /api/pathfile.ext:lineEntry: file.ext:line - [description]
[line_number] [code snippet with line numbers preserved]
Step 2: file.ext:line - [description]
[line_number] [code snippet with line numbers preserved]
[...continue for each step...]
N. Sink: file.ext:line - Vulnerable function called
[line_number] [code snippet with line numbers preserved]
Note: All code snippets must include line numbers from the original source files for precise traceability.
POST /api/endpoint HTTP/1.1
Host: localhost:PORT
Content-Type: application/json
Content-Length: XXX
[payload]
⚠️ MANDATORY SECTION - NEVER OMIT THIS
Quick Copy-Paste Summary (1-2 sentences + file locations): [Concise explanation of exploitability or why it's a false positive, followed by all relevant file:line references]
Required Format: [Explanation]. Found in: file.ext:line, file.ext:line, file.ext:line
This section MUST always be included at the end of every report
Examples:
config/settings.py:45, utils/loader.py:123"api/routes.py:12, usage at api/handlers.py:89"api/upload.py:34, sink: parsers/document.py:156"Analysis Date: [date] Analyst: Claude (Anthropic) Project: [project name]
---
## Project Auto-Detection
When you run the workflow, the following will be automatically detected:
### Framework Detection
- **Python**: FastAPI, Django, Flask (checks for imports, config files)
- **Node.js**: Express, NestJS, Koa (checks package.json dependencies)
- **Java**: Spring Boot, Jakarta EE (checks pom.xml/build.gradle)
- **Go**: Gin, Echo, Chi (checks import statements in main.go)
- **Ruby**: Rails, Sinatra (checks Gemfile)
- **PHP**: Laravel, Symfony (checks composer.json)
### Entry Point Detection
- API route definitions
- Controller files
- Request handlers
- Middleware configuration
### Dependency File Location
- Automatically searches for dependency manifests
- Reads installed versions
- Checks for lock files for exact versions
### Import Statement Examples (By Language)
When documenting import evidence, look for patterns like:
- **Python**: `import package`, `from package import module`, `from package.submodule import function`
- **Node.js**: `const pkg = require('package')`, `import { function } from 'package'`
- **Java**: `import com.example.package.Class;`, `import com.example.package.*;`
- **Go**: `import "github.com/user/package"`, `import ( ... )`
- **Ruby**: `require 'package'`, `require_relative 'package'`
- **PHP**: `use Vendor\Package\Class;`, `require 'vendor/autoload.php'`
---
## Best Practices
1. **Be Thorough**: Check all code paths, even indirect ones
2. **Document Everything**: Include file:line references for traceability
3. **Show Import Evidence**: Always capture and display how vulnerable packages are imported as proof they're loaded
4. **Preserve Line Numbers**: All code snippets must include original line numbers from source files for precise traceability
5. **Test Assumptions**: Verify dataflow actually reaches the sink
6. **Consider Context**: Security controls might mitigate vulnerability
7. **Realistic PoC**: Create exploits that work in real application context
8. **Actionable Output**: Provide clear, specific recommendations
9. **Tracking Summary**: Always include a concise 1-2 sentence summary at the end with ALL relevant file:line references for easy copy-paste into tracking tools
## Important Notes
- ✅ Works across multiple languages and frameworks
- ✅ Automatically detects project structure
- ✅ Generates ready-to-use Burp Suite requests
- ✅ **Trusts user-provided CVE and version information** (no verification required)
- ✅ **Works even without dependency files or installed packages**
- 🚨 **CRITICAL**: Every report MUST end with "Tracking Tool Summary" containing a copy-paste ready summary with all file:line references
- ⚠️ Vulnerability presence ≠ exploitability (thorough analysis required)
- ⚠️ Focus is on **code usage analysis**, not dependency verification
- ⚠️ User has already vetted CVE info through SCA tools (Snyk, Dependabot, etc.)
- ⚠️ Consider deployment environment and network exposure
---
**Version**: 1.0
**Last Updated**: 2024
**Supported Languages**: Python, Node.js, Java, Go, Ruby, PHP, and more
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
36 skills in this plugin
/ad-assessmentActive Directory security audit using the MITRE ATT&CK framework. Full domain enumeration, trust mapping, GPO analysis, ACL abuse paths, ADCS attacks (ESC1-ESC8), delegation abuse (constrained/unconstrained/RBCD), fine-grained password policies, LAPS deployment, service account security, and Kerberos configuration.
Uses enum4linux-ng, netexec, impacket, ldapsearch, certipy-ad, bloodhound-python, and rpcclient. Produces attack path diagrams, prioritized risk register, and PoCs. Chains into /gh-export for issue filing.
/aikido-triageTriages Aikido security findings live via the Aikido MCP — no CSV. Splits findings into SCA, SAST, Application Secrets, and Misconfiguration, applies a category-specific verification playbook to each (source-to-sink taint analysis with trust-boundary/reachability assessment for SAST, /analyze-cve chaining for SCA, usage + opt-in liveness checks for secrets, blast-radius reasoning with optional live-chain confirmation for misconfiguration), scores every finding's business impact and severity, then closes confirmed non-issues directly in Aikido after a single review checkpoint.
/ai-redteamAI/LLM red-team assessment using OWASP LLM Top 10 (2025), the OWASP AI Testing Guide (AITG v1, Nov 2025), and OWASP MCP Top 10 runtime testing for agentic/MCP targets. Tests prompt injection, jailbreaks, system prompt leakage, sensitive data extraction, excessive agency, improper output handling, model extraction, content bias, evasion, membership inference, MCP token exposure, and MCP command injection.
Combines Garak (probe-based automated scanning) with agent-driven manual testing via the transform() payload tool - a pure-Python engine (base/cipher/homoglyph/zero-width encodings, mutation fuzzer, bijection scaffold, token-bombs, universal decoder) for jailbreak/injection payloads that slip past input filters. The agent drives multi-turn/crescendo attacks. Includes a conditional MCP recon phase and a post-access AI infrastructure phase (chained from /post-exploit). Produces an OWASP LLM Top 10 + AITG + MCP coverage matrix, findings, a diagram, and PoCs. Chains into /gh-export.
/android-burp-emulatorStart a rooted Android emulator with the Burp Suite CA injected as a trusted SYSTEM certificate (Android 14+ APEX/Conscrypt bind-mount technique) and the device proxy pointed at Burp, so all app HTTPS traffic can be intercepted / man-in-the-middled. Use this whenever the user wants to proxy, intercept, MITM or inspect Android app or emulator traffic through Burp (or another intercepting proxy like mitmproxy/ZAP/Caido), install a Burp/proxy CA cert on an emulator or AVD, fix "cert not trusted" / SSLHandshakeException when proxying an Android app, re-inject the cert after an emulator reboot, or set up the dynamic-analysis device for a mobile pentest — even if they don't say "system certificate" or "emulator" explicitly./android-securityAndroid app security assessment structured on OWASP MASVS 2.0 / MASTG. Static analysis of an APK
(MobSF, jadx, apktool, dex2jar, mobsfscan): hardcoded secrets, weak/broken crypto, insecure data
storage, exported activities/services/providers/receivers, android:allowBackup, cleartext traffic
& network-security-config, WebView addJavascriptInterface bridges, insecure deeplinks/intent
redirection, missing FLAG_SECURE, tapjacking, root/anti-Frida detection, vulnerable third-party
SDKs, Firebase/cloud-config leaks. Dynamic analysis (opt-in, needs a device) via Frida/objection:
SSL-pinning bypass, runtime keystore/shared-prefs/SQLite dumps, traffic capture, deeplink & IPC
abuse. Chains from /pentester and /codebase; into /api-security for backend endpoints,
/web-exploit for injection, /post-exploit on device RCE, /ai-redteam on an embedded LLM.
/api-securityDeep API security assessment beyond surface scanning, covering the full OWASP API Security Top 10 (2023): Broken Object Level Authorization (BOLA/IDOR), Broken Authentication, Broken Object Property Level Authorization (mass assignment + excessive data exposure), Unrestricted Resource Consumption, Broken Function Level Authorization (BFLA), Unrestricted Access to Sensitive Business Flows, SSRF via API parameters, Security Misconfiguration, Improper Inventory Management (shadow/zombie/deprecated endpoints, v1/v2 drift), and Unsafe Consumption of third-party APIs. Works across REST, GraphQL, gRPC, SOAP, and MCP servers.
Discovers APIs from OpenAPI/Swagger, GraphQL introspection, gRPC reflection, .well-known, and traffic capture. Uses kiterunner, ffuf, schemathesis, openapi-fuzzer, graphql-cop, inql, jwt_tool, and mitmproxy with real payloads. Chains from /pentester or /codebase, into /web-exploit for injection points, /post-exploit on RCE, and /ai-redteam when an LLM/AI endpoint is found.
/agent-smith:analyze-cve [dependency] [version] [cve-link]from agent-smith
npx claudepluginhub 0x0pointer/skills --plugin agent-smithOther plugins' skills for the same job