Logo van Burp AI Agent

Burp AI Agent

CommunityPopulair
six2dez

Burp Suite extension that adds built-in MCP tooling, AI-assisted analysis, privacy controls, passive and active scanning and more

Uitgeversix2dez
Repositoryburp-ai-agent
TaalKotlin
Forks
224
Sterren
1.5K
Beschikbare tools
0
Transporttypestdio, streamable-http
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Burp AI Agent biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • Beschikbare tools: 0

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Belangstelling voor het opensourceproject

    Statistieken van de gekoppelde repository (sterren: 1.5K, forks: 224).

Custom AI Agent

The bridge between Burp Suite and modern AI.

A note on the name: This extension is published as Custom AI Agent (formerly Burp AI Agent). It was renamed to comply with PortSwigger's BApp Store naming requirements and to avoid confusion with Burp Suite's built-in Burp AI provider. The GitHub repository (github.com/six2dez/burp-ai-agent), the documentation site (burp-ai-agent.six2dez.com), and the configuration directory (~/.burp-ai-agent/) keep the burp-ai-agent identifier for continuity.

Custom AI Agent Screenshot

Custom AI Agent is an extension for Burp Suite that integrates AI into your security workflow. Use local models or cloud providers, connect external AI agents via MCP, and let passive/active scanners find vulnerabilities while you focus on manual testing.

[!IMPORTANT] If you are running 0.9.0, 0.9.1 or 0.9.2, read the security advisories before upgrading. Two defects confirmed by running the shipped code affect every published 0.9.x release, and one of them requires rotating credentials that may already have been disclosed to a third party. Both are fixed in 1.0.0. No CVE or GHSA identifier has been issued for either — do not go looking for one.

What's new in v1.0.0

First stable release, and a security-correctness milestone. An external review of 0.9.2 on 2026-08-05 confirmed two exploitable defects by running the shipped code; this release fixes both plus the wider class of issues the same review surfaced. Full detail in CHANGELOG.md.

Fixed, and disclosed:

  • SEC-04 (critical) — MCP access-control checks did not run on resolved routes. With external access enabled the listener accepted unauthenticated tool calls; in local mode the Origin/Host/User-Agent checks and the security response headers were inert on matched routes. The decision now runs ahead of routing. → rotate your MCP token
  • PRIV-05 (high) — session cookies reached AI backends unredacted in STRICT and BALANCED. The passive scanner emitted cookies as bare name=value, dropping the prefix redaction keyed on, and only a cookie literally named session was caught. → rotate affected cookies

Hardened:

  • Model-emitted tool calls now need your approval (SEC-06) — a tool call parsed out of model output does not reach Burp until you decide. Tiers fail closed: an unrecognised tool name confirms every time, never runs silently. See Privacy and Security Notes.
  • The MCP token is no longer disclosed during a port takeover (SEC-07) — a local process squatting the MCP port and echoing the identity header could previously harvest a token granting full MCP tool access. The takeover client now presents an HMAC proof of possession instead, and under TLS it pins the server certificate to its own keystore.
  • SsrfGuard classifies alternate IP notations (SEC-07) — http://2852039166/ (decimal for 169.254.169.254) no longer sidesteps the private/link-local warning by notation alone, and classification now performs no name resolution at all.
  • Shell arguments are quoted by allowlist (QUAL-06) — closing a settings-import-to-command-execution path for values carrying metacharacters without whitespace (foo;id, $(cmd)).
  • EDT confinement and scheduler robustness — tool execution, backend HTTP and MCP stop() moved off the Swing event dispatch thread; recurring tasks guarded against death-by-exception.

Verified: test suite grown from 660 to 1131 tests across 158 classes, project line coverage 34% → 58%, and the detekt baseline shrunk 1096 → 1040 rather than grown.

Highlights

  • 12 AI Backends — Burp AI (built-in), Anthropic, Ollama, LM Studio, NVIDIA NIM, Perplexity, Generic OpenAI-compatible, Gemini CLI, Claude CLI, Codex CLI, OpenCode CLI, Copilot CLI.
  • 59 MCP Tools — Let Claude Desktop (or any MCP client) drive Burp autonomously (8 extension-native AI tools in the store build, all 59 in the full build).
  • Scoped MCP Access — Optionally confine every MCP tool to your in-scope hosts, so external AI clients can't reach out-of-scope targets through Burp.
  • 62 Vulnerability Classes — Passive and Active AI scanners across injection, auth, crypto, and more. The passive scanner runs as a Burp PassiveScanCheck (Burp Pro).
  • Install from Releases — Download the JAR from Releases. Not on the BApp Store: the submission has been open since January 2026.
  • Theme-Aware UI — An internal design system styles the settings panel and re-themes automatically with Burp's light/dark switch.
  • Burp Scan Skill — Use your preferred AI coding assistant (Claude Code, Gemini CLI, Codex, etc.) as a scanner via MCP.
  • Tool-Call Confirmation — Tool calls the AI emits are gated: read-only bounded tools run silently, everything else asks first with an approval card in the chat. Unknown tools fail closed.
  • 3 Privacy Modes — STRICT / BALANCED / OFF. Redact sensitive data before it leaves Burp.
  • Custom Prompt Library — Save free-form prompts per context (HTTP request or scanner issue); launch them from the right-click menu or type ad-hoc ones via Custom….
  • Audit Logging — JSONL with SHA-256 integrity hashing for compliance; every launch stamped with promptSource / contextKind for reproducibility.

Quick Start

1. Install

Download the latest JAR from Releases, or build from source (Java 21):

bash
git clone https://github.com/six2dez/burp-ai-agent.git
cd burp-ai-agent

# Full build (default, GitHub releases) — all 59 MCP tools
JAVA_HOME=/path/to/jdk-21 ./gradlew clean shadowJar
# Output: build/libs/Custom-AI-Agent-full-<version>.jar

# Store build (BApp Store submission) — 8 extension-native AI MCP tools only
JAVA_HOME=/path/to/jdk-21 ./gradlew clean shadowJar -PstoreBuild=true
# Output: build/libs/Custom-AI-Agent-<version>.jar

2. Load into Burp

  1. Open Burp Suite (Community or Professional).
  2. Go to Extensions > Installed > Add.
  3. Select Java as extension type and choose the .jar file.

The extension registers in Burp as Custom AI Agent (the name in the Extensions list and the Suite tab) to distinguish it from Burp's built-in Burp AI provider.

Load Extension

3. Agent Profiles

The extension auto-installs the bundled profiles into ~/.burp-ai-agent/AGENTS/ on first run. Drop additional *.md files in that directory to add custom profiles.

4. Configure a Backend

Open the AI Agent tab and go to Settings. Pick a backend:

BackendTypeSetup
Burp AI (built-in)In-processUse Burp Suite Pro's built-in AI when available; no extra config required.
OllamaLocal HTTPInstall Ollama, run ollama serve, pull a model (ollama pull llama3.1).
LM StudioLocal HTTPInstall LM Studio, load a model, start the server.
NVIDIA NIMHTTPUse the default https://integrate.api.nvidia.com endpoint, set your NVIDIA API key, and choose a model such as moonshotai/kimi-k2.5.
PerplexityHTTPUse the default https://api.perplexity.ai endpoint, set your pplx-... API key, and choose a model such as sonar, sonar-pro, or sonar-reasoning.
Generic OpenAI-compatibleHTTPProvide a base URL and model for any OpenAI-compatible provider.
Gemini CLICloud CLIInstall gemini, run gemini auth login.
Claude CLICloud CLIInstall claude, set ANTHROPIC_API_KEY or run claude login.
Codex CLICloud CLIInstall codex, set OPENAI_API_KEY.
OpenCode CLICloud CLIInstall opencode, configure provider credentials.
Copilot CLICloud CLIInstall copilot and sign in with your GitHub account.
AnthropicCloud APIEnter your Anthropic API key in Settings. API traffic routes through Burp's proxy. See docs/anthropic-backend.md.

For NVIDIA NIM, the backend expects the same chat-completions style flow as the NVIDIA hosted endpoint. A working configuration is:

text
Backend: NVIDIA NIM
Base URL: https://integrate.api.nvidia.com
Model: moonshotai/kimi-k2.5
API Key: <your nvapi token>

Leave extra headers empty unless your gateway requires them. The extension sends requests to /v1/chat/completions and uses the configured bearer token automatically.

5. Run Your First Analysis

  1. Browse a target through Burp Proxy.
  2. Right-click any request in Proxy > HTTP History.
  3. Select Extensions > Custom AI Agent > Analyze this request.
  4. A chat session opens with the AI analysis.

Context Menu

6. Connect Claude Desktop via MCP (Optional)

Enable the MCP server in Settings > MCP Server and add this to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "burp-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "supergateway",
        "--sse",
        "http://127.0.0.1:9876/sse"
      ]
    }
  }
}

Requires Node.js 18+. If you enable External Access, the MCP client must send Authorization: Bearer <token> on every request.

You can also register external or custom MCP servers in Settings > MCP > External Servers (SSE or stdio transports). External server auth tokens are stored encrypted at rest, with the caveat described in Privacy and Security Notes. See docs/external-mcp-servers.md for setup details and security notes.

Burp Scan Skill (Terminal AI Scanning)

The burp-scan skill lets you use any AI coding assistant (Claude Code, Gemini CLI, Codex, etc.) as a Burp scanner from your terminal. Instead of the plugin's built-in AI, your terminal AI becomes the reasoning engine while Burp provides the tools via MCP.

What It Contains

  • MCP tool reference (up to all 59 tools in the full build) organized by scanning action
  • Passive analysis protocol (traffic analysis without sending requests)
  • Active testing payload library (200+ payloads for 62 vuln classes with detection patterns)
  • End-to-end scanning workflow (scope -> passive -> active -> OOB -> report)
  • Issue creation protocol with severity/confidence mapping

Install for Claude Code

Copy the skill to your Claude Code skills directory:

bash
# Global (available in all projects)
cp -r skills/burp-scan ~/.claude/skills/burp-scan

# Or project-specific
cp -r skills/burp-scan .claude/skills/burp-scan

Then use /burp-scan in Claude Code or let it trigger automatically when you mention Burp scanning.

Install for Other AI Assistants

The skill is a standalone Markdown file at skills/burp-scan/SKILL.md. You can use it with any AI assistant that supports system prompts or context files:

  • Gemini CLI / Codex / OpenCode: Add as a context file or paste into your system prompt
  • Custom MCP clients: Include the skill content as system context alongside your MCP connection
  • Any LLM: The file is self-contained — feed it as context along with your MCP tool definitions

Usage Example

You: Connect to Burp MCP at localhost:9876 and scan the proxy history for IDOR vulnerabilities

AI: [Uses proxy_http_history to pull traffic]
    [Identifies endpoints with numeric IDs]
    [Sends http1_request with ID+1, ID-1 payloads]
    [Compares responses for different user data]
    [Creates issue_create for confirmed IDOR]

The skill and the plugin's built-in scanner are complementary: the plugin runs automated background scanning, while the skill enables interactive, analyst-guided scanning from your terminal.

Documentation

Full documentation is available at burp-ai-agent.six2dez.com.

Operator Playbooks

Privacy and Security Notes

  • Secrets at rest — what the encryption does and does not do. All stored API keys and tokens (Anthropic, MCP bearer token, TLS keystore password, etc.) are encrypted with AES-256-GCM using a per-install random master key (SecretCipher). That master key is itself stored in Burp Preferences, Base64-encoded, beside the ciphertext it protects (preference secret.master.key.v1). Anyone who can read your Burp Preferences can therefore also read the key and decrypt the secrets. It does not protect against a local attacker or a malicious process running as your user; treat it as obfuscation against casual inspection of a preferences file or an exported project. If a credential must survive that threat model, keep it in a dedicated secret store and paste it per session.
  • Model-emitted tool calls need your approval. A tool call that the extension parses out of model output does not execute against Burp until you decide. Every tool carries a required security tier: run automatically (read-only and bounded output), confirm with an Approve for session option, or confirm on every single call. A tool name the catalog does not recognise resolves to confirm-every-time, never to automatic, and external ext:-namespaced tools always confirm every call. The decision appears as a card inline in the chat transcript rather than as a modal dialog, and each decision is recorded — an audit event plus a line in Burp's Output tab, since audit logging is off by default. Denying returns a neutral "not authorised, do not retry" result to the model rather than an error. This tier is independent of the Unsafe Mode switch: Unsafe Mode governs whether a tool may ever run, the tier governs whether the model may run it without asking. Design rationale: DECISIONS.md ADR-15. Operator runbook: docs/ui-safety-guide.md.
  • STRICT privacy mode anonymizes hosts using real HKDF (HMAC-SHA256 extract/expand). BALANCED mode redacts cookies, tokens, and auth headers. OFF mode sends traffic as-is.
  • External MCP server outputs are wrapped in a trust-boundary marker before entering the AI prompt, preventing prompt injection from untrusted server responses.

Settings are schema-versioned internally (settings.schema.version) and migrated additively on load for safe upgrades.

Requirements

  • Burp Suite Community or Professional (2023.12+)
  • Java 21 (bundled with modern Burp for runtime; required separately for building from source)
  • At least one AI backend configured (see table above)

License

This project is licensed under the MIT License.

Disclaimer

Usage of Custom AI Agent for attacking targets without prior consent is illegal. It is the user's responsibility to obey all applicable laws. The developers assume no liability for misuse or damage caused by this tool. Use responsibly.

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for development setup and guidelines, or the Developer docs for architecture details.

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "six2dez-burp-ai-agent": {
      "command": "",
      "args": []
    }
  }
}

Gebruik Burp AI Agent MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Burp AI Agent is verbonden, kun je de verbinding dus met verschillende AI-modellen in TypingMind gebruiken, zonder die voor elk model apart in te stellen. Je kunt MCP lokaal op je apparaat uitvoeren of verbinding maken met de URL van een externe MCP-server.

Optie 1: gebruik de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Burp AI Agent toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus op ‘Gereed’ staat.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Burp AI Agent.
  4. Sla de serverlijst op.
  5. Vernieuw de pagina als je wilt controleren of de connectorstatus nog op ‘Gereed’ staat.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "six2dez-burp-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "burp-ai-agent"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Burp AI Agent in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Burp AI Agent in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Burp AI Agent gebruiken om me hiermee te helpen?
Burp AI Agent
Zeker. Ik heb het gelezen.
Dit vond ik met Burp AI Agent.

Optie 2: voeg een MCP-server-URL toe

Gebruik dit als Burp AI Agent al extern wordt gehost of als je team één gedeelde connector wil waar meerdere gebruikers toegang toe hebben.

1

Open MCP-connectoren

Ga in TypingMind naar Plug-ins, open MCP-connectoren en kies URL toevoegen.

  1. Open TypingMind in je browser.
  2. Ga naar Plug-ins.
  3. Open MCP-connectoren.
  4. Klik op URL toevoegen.
TypingMind-formulier om een eigen MCP-server-URL toe te voegen
2

Plak de server-URL

Voer je server-URL in het veld Server-URL in. Voeg een verbindingsnaam, beschrijving, icoon, aangepaste HTTP-headers of OAuth-clientinstellingen toe als de server die vereist.

  1. Plak je server-URL in het veld Server-URL.
  2. Voer een verbindingsnaam in voor Burp AI Agent.
  3. Voeg een beschrijving en een icoon toe als je de verbinding makkelijker wilt herkennen.
  4. Voeg aangepaste HTTP-headers of OAuth-clientgegevens toe als de server authenticatie vereist.
3

Maak de verbinding aan

Klik op Verbinding maken, ga terug naar de lijst met plug-ins en controleer of de nieuwe MCP-verbinding actief is.

  1. Klik op Verbinding maken.
  2. Ga terug naar de lijst met MCP-connectoren.
  3. Controleer of de verbinding met Burp AI Agent als actief wordt weergegeven.
  4. Vernieuw de lijst met plug-ins als de verbinding niet meteen verschijnt.
4

Wissel van model zonder opnieuw verbinding te maken

Start een chat met je favoriete model, schakel de tools van Burp AI Agent in via Plug-ins en wissel van model wanneer dat nodig is. De MCP-verbinding blijft beschikbaar in de TypingMind-werkruimte.

  1. Start een nieuwe chat in TypingMind.
  2. Selecteer het AI-model dat je wilt gebruiken.
  3. Schakel de tools van Burp AI Agent in via Plug-ins.
  4. Vraag het model om de tool te gebruiken wanneer dat nodig is.
  5. Schakel over naar een ander AI-model en gebruik dezelfde MCP-verbinding opnieuw.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Burp AI Agent gebruiken om me hiermee te helpen?
Burp AI Agent
Zeker. Ik heb het gelezen.
Dit vond ik met Burp AI Agent.

Veelgestelde vragen

Waarvoor wordt de MCP-server Burp AI Agent gebruikt?

Burp AI Agent is een MCP-server waarmee compatibele AI-clients toegang krijgen tot externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Burp AI Agent MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Burp AI Agent gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Burp AI Agent MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Burp AI Agent verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Burp AI Agent MCP met TypingMind?

Je kunt Burp AI Agent met TypingMind verbinden via de lokale MCP-connector of door de URL van een externe MCP-server toe te voegen. Gebruik de lokale connector als de server toegang nodig heeft tot bestanden, apps of privébronnen op je apparaat. Gebruik een server-URL als de MCP-server extern wordt gehost.

Welke tools biedt Burp AI Agent MCP in TypingMind?

Burp AI Agent biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Burp AI Agent MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Burp AI Agent authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇