skills/AI/AI-Burp-MCP/SKILL.md
Set up and use Burp Suite's MCP Server extension to enable LLM-assisted passive vulnerability discovery. Use this skill whenever the user wants to integrate Burp with MCP-capable AI tools (Codex, Gemini, Ollama, Claude), configure the MCP proxy, troubleshoot handshake issues, or analyze intercepted HTTP traffic for security findings. Trigger on mentions of Burp MCP, Burp AI Agent, MCP proxy setup, or LLM-assisted traffic review.
npx skillsauth add abelrguezr/hacktricks-skills burp-mcp-integrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill helps you set up and use Burp Suite's MCP Server extension to enable LLM-assisted passive vulnerability discovery and report drafting. The MCP Server exposes intercepted HTTP(S) traffic to MCP-capable LLM clients for evidence-driven review.
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ MCP Client │────▶│ MCP Proxy JAR │────▶│ Burp MCP Server│
│ (Codex/Gemini/ │ │ (stdio→SSE) │ │ (127.0.0.1:9876)│
│ Ollama/Claude)│ │ │ │ │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
▼
┌──────────────────┐
│ Caddy Proxy │ (optional, for strict headers)
│ (127.0.0.1:19876)│
└──────────────────┘
127.0.0.1:9876 (check the MCP Server tab)mcp-proxy.jar to a known location (e.g., ~/burp-mcp/)Choose your client and follow the appropriate configuration:
# ~/.codex/config.toml
[mcp_servers.burp]
command = "java"
args = ["-jar", "/absolute/path/to/mcp-proxy.jar", "--sse-url", "http://127.0.0.1:19876"]
Then verify:
codex
# Inside Codex: /mcp
Use the launcher helper from the burp-mcp-agents repo:
source /path/to/burp-mcp-agents/gemini-cli/burpgemini.sh
burpgemini
source /path/to/burp-mcp-agents/ollama/burpollama.sh
burpollama deepseek-r1:14b
Model VRAM requirements:
deepseek-r1:14b → ~16GB VRAMgpt-oss:20b → ~20GB VRAMllama3.1:70b → 48GB+ VRAMEdit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"burp": {
"command": "java",
"args": ["-jar", "/path/to/mcp-proxy.jar", "--sse-url", "http://127.0.0.1:19876"]
}
}
}
If you get 403 errors or strict Origin/header validation failures, use Caddy as a reverse proxy:
# Install Caddy
brew install caddy
# Create config directory
mkdir -p ~/burp-mcp
# Generate Caddyfile (or use the script)
./scripts/setup-caddy-proxy.sh
# Start the proxy
caddy run --config ~/burp-mcp/Caddyfile &
Then point your MCP client to http://127.0.0.1:19876 instead of 127.0.0.1:9876.
The burp-mcp-agents repo includes prompt templates for evidence-driven analysis. Use these as starting points:
| Template | Purpose |
|----------|--------|
| passive_hunter.md | Broad passive vulnerability surfacing |
| idor_hunter.md | IDOR/BOLA, object/tenant drift, auth mismatches |
| auth_flow_mapper.md | Compare authenticated vs unauthenticated paths |
| ssrf_redirect_hunter.md | SSRF/open-redirect candidates from URL params |
| logic_flaw_hunter.md | Multi-step logic flaws |
| session_scope_hunter.md | Token audience/scope misuse |
| rate_limit_abuse_hunter.md | Throttling/abuse gaps |
| report_writer.md | Evidence-focused reporting |
IDOR Hunting:
Analyze the intercepted traffic for IDOR vulnerabilities. Look for:
- Requests with user IDs, order IDs, or resource identifiers
- Missing authorization checks between different user contexts
- Inconsistent access control patterns
- Tenant isolation failures in multi-tenant apps
Auth Flow Mapping:
Compare authenticated vs unauthenticated request patterns. Identify:
- Endpoints accessible without authentication that shouldn't be
- Session token handling inconsistencies
- Privilege escalation opportunities
- Missing CSRF protections
SSRF Detection:
Search for SSRF candidates in:
- URL parameters that fetch external resources
- Redirect chains to internal addresses
- Image upload/preview endpoints
- Webhook/callback URL fields
For more advanced AI-assisted triage, consider the Burp AI Agent extension:
git clone https://github.com/six2dez/burp-ai-agent.git
cd burp-ai-agent
JAVA_HOME=/path/to/jdk-21 ./gradlew clean shadowJar
# Load build/libs/Burp-AI-Agent-<version>.jar via Burp Extensions > Add (Java)
Drop custom *.md prompt templates into ~/.burp-ai-agent/AGENTS/ to add custom analysis behaviors.
To tag Burp/LLM traffic in logs for attribution:
# Add via Burp Match/Replace or proxy header rewrite
Match: ^User-Agent: (.*)$
Replace: User-Agent: $1 BugBounty-Username
Cause: Burp's strict Origin/header validation
Fix: Use Caddy reverse proxy (see Step 4 above)
127.0.0.1:9876./scripts/verify-mcp-setup.sh to diagnoseUse the bundled scripts to automate common tasks:
scripts/setup-caddy-proxy.sh - Generate Caddy config for handshake fixesscripts/configure-codex.sh - Set up Codex CLI with Burp MCPscripts/verify-mcp-setup.sh - Diagnose MCP connection issuestesting
How to perform a House of Lore (small bin attack) heap exploitation. Use this skill whenever the user mentions heap exploitation, small bin attacks, fake chunks, glibc heap vulnerabilities, or needs to insert fake chunks into small bins for arbitrary read/write. Trigger for CTF challenges involving heap corruption, glibc 2.31+ exploitation, or when the user needs to bypass malloc sanity checks using fake chunk linking.
testing
How to perform House of Force heap exploitation attacks. Use this skill whenever the user mentions heap exploitation, House of Force, top chunk manipulation, arbitrary memory allocation, malloc manipulation, or wants to allocate chunks at specific addresses. Also trigger for CTF challenges involving heap overflows, top chunk size overwrites, or when the user needs to calculate evil_size for heap attacks. Make sure to use this skill for any binary exploitation task involving glibc heap manipulation, even if they don't explicitly say "House of Force".
tools
How to perform House of Einherjar heap exploitation to allocate memory at arbitrary addresses. Use this skill whenever the user mentions heap exploitation, glibc heap attacks, arbitrary memory allocation, off-by-one overflow exploitation, tcache poisoning, fast bin attacks, or any CTF challenge involving heap manipulation. This is essential for binary exploitation tasks where you need to control malloc() return addresses.
testing
How to identify, analyze, and exploit heap overflow vulnerabilities in binary exploitation challenges and real-world scenarios. Use this skill whenever the user mentions heap overflows, memory corruption, heap grooming, tcache poisoning, fast-bin attacks, or any heap-related vulnerability in CTF challenges, binary analysis, or security research. This skill covers heap overflow fundamentals, exploitation techniques, heap grooming strategies, and real-world CVE analysis.