Settings Reference
This page documents configurable settings in the extension (which appears as Custom AI Agent in Burp's Extensions list and Suite tab), organized by settings tab.
The Settings tabs use a shared internal design system with consistent layout, collapsible scanner sections, and automatic Burp light/dark re-theming. The v0.8.0 redesign preserved the settings that existed at that point; later schema versions added prompt-library state, encrypted secrets, and external MCP servers. The tables below describe the current main branch.
For tuning model spend, also see Token Usage & Cost Management. Contributors extending the plugin with new settings should read Settings Migration for how the schema is versioned and how to add a forward-only migration step.
AI Backend
Preferred Backend
Dropdown
burp-ai
Backend used for new chat sessions. All registered backends are shown regardless of CLI availability; errors are reported at usage time via health check. The persisted default is the built-in Burp AI backend; select another backend explicitly when Burp does not expose AI capability.
Burp AI (built-in)
Dropdown selection
(auto-detected)
In-process backend that sends requests only while Burp's "Use AI" setting is enabled for the extension (PortSwigger documents "Use AI" as a per-extension checkbox, off by default: Extensions > Installed > Custom AI Agent > Use AI). No URL, model, or credentials are required. In the BApp Store build every AI backend needs "Use AI"; in the GitHub full build only this one does. See Burp AI (Built-in) and Which Build?.
Codex CLI Command
Text
codex chat
Shell command used to launch Codex CLI. GitHub full build only.
Gemini CLI Command
Text
gemini --output-format text --model gemini-2.5-flash --yolo
Shell command used to launch Gemini CLI. GitHub full build only.
Claude Code Command
Text
claude
Shell command used to launch Claude Code. GitHub full build only.
Copilot CLI Command
Text
copilot
Shell command used to launch Copilot CLI. GitHub full build only.
OpenCode CLI Command
Text
opencode
Shell command used to launch OpenCode CLI. GitHub full build only.
Ollama CLI Command
Text
ollama run llama3.1
Command used for CLI validation and as a fallback source for the HTTP model name. GitHub full build only.
Ollama URL
Text
http://127.0.0.1:11434
Base URL for Ollama API.
Ollama Model
Text
llama3.1
Model identifier sent to Ollama.
Ollama API Key
Password
(empty)
Optional bearer token for Ollama-compatible servers; encrypted at rest in Burp preferences.
Ollama Extra Headers
Multiline
(empty)
Extra headers, one per line (Header: value).
Ollama Auto-Start
Toggle
On
Auto-start ollama serve when backend is selected.
Ollama Serve Command
Text
ollama serve
Command used for Ollama server startup.
Ollama Timeout
Number
120
Timeout in seconds (range: 30-3600).
Ollama Context Window
Persisted/internal
8192
Context window size (persisted in range 2048-128000; loaded values up to 256000 are accepted). The redesigned panel does not currently expose a control for it, but preserves the loaded value.
LM Studio URL
Text
http://127.0.0.1:1234
Base URL for LM Studio API.
LM Studio Model
Text
lmstudio
Model identifier sent to LM Studio.
LM Studio API Key
Password
(empty)
Optional bearer token for OpenAI-compatible servers; encrypted at rest in Burp preferences.
LM Studio Extra Headers
Multiline
(empty)
Extra headers, one per line (Header: value).
LM Studio Auto-Start
Toggle
On
Auto-start LM Studio server command.
LM Studio Server Command
Text
lms server start
Command used for LM Studio startup.
LM Studio Timeout
Number
120
Timeout in seconds (range: 30-3600).
OpenAI-Compatible URL
Text
(empty)
Base URL for OpenAI-compatible providers.
OpenAI-Compatible Model
Text
(empty)
Model identifier sent in requests.
OpenAI-Compatible API Key
Password
(empty)
Optional bearer token; encrypted at rest in Burp preferences.
OpenAI-Compatible Extra Headers
Multiline
(empty)
Extra headers, one per line (Header: value).
OpenAI-Compatible Timeout
Number
120
Timeout in seconds (range: 30-3600).
NVIDIA NIM URL
Text
https://integrate.api.nvidia.com
Base URL for NVIDIA NIM endpoints.
NVIDIA NIM Model
Text
(empty)
Model identifier (e.g. moonshotai/kimi-k2.5).
NVIDIA NIM API Key
Password
(empty)
Bearer token for NVIDIA NIM; encrypted at rest in Burp preferences.
NVIDIA NIM Extra Headers
Multiline
(empty)
Extra headers, one per line (Header: value).
NVIDIA NIM Timeout
Number
120
Timeout in seconds (range: 30-3600).
Perplexity URL
Text
https://api.perplexity.ai
Base URL for Perplexity Sonar endpoints. Targets /chat/completions directly (no /v1 prefix).
Perplexity Model
Text
(empty)
Sonar model identifier (e.g. sonar-pro, sonar-reasoning-pro).
Perplexity API Key
Password
(empty)
pplx-… bearer token; encrypted at rest in Burp preferences.
Perplexity Extra Headers
Multiline
(empty)
Extra headers, one per line (Header: value).
Perplexity Timeout
Number
120
Timeout in seconds (range: 30-3600).
Anthropic Model
Text
claude-sonnet-4-6
Free-form Anthropic Messages API model identifier.
Anthropic API Key
Password
(empty)
Anthropic x-api-key; encrypted at rest in Burp preferences.
Agent Profile
Dropdown
pentester
Active profile from ~/.burp-ai-agent/AGENTS/*.md.
Small model mode
Toggle
Off
Caps chat context to roughly 1500/750 characters per request/response so small local models are not overflowed. Setting key smallModelMode.
Privacy & Logging
Privacy Mode
Dropdown
BALANCED
Selects built-in redaction policy (STRICT, BALANCED, OFF). Existing scanner findings keep the values they were built with; re-scanning does not rewrite them.
Determinism Mode
Toggle
Off
Stabilizes covered ordering and host-pseudonym decisions so captured prompt bundles are easier to compare; it does not make model output deterministic or turn the bundle into a complete wire transcript.
Host Anonymization Salt
Persisted/internal
(auto-generated)
Plaintext preference used as the RFC 5869 HKDF/HMAC-SHA256 input for stable host-<12 hex>.local pseudonyms in STRICT mode. The UI exposes Rotate anonymization salt, not the value itself.
Custom Redaction Patterns
Multiline
(empty)
One regular expression per line. Validated on save and applied in every mode, including OFF; stored as plaintext configuration.
Audit Logging
Toggle
Off
Enables JSONL audit log at ~/.burp-ai-agent/audit.jsonl.
AI Request Logger
Toggle
On
Enables real-time AI activity logging in the AI Logger tab.
AI Logger Max Entries
Number
500
Maximum entries in the in-memory logger buffer; persistence clamps the value to 50-5000.
The Privacy Mode tooltip in the current UI states the write-time boundary explicitly: scanner findings already recorded keep the values they were built with, and re-scanning does not rewrite them. See Privacy Modes for carrier coverage and residuals.
MCP Server
Enable MCP
Toggle
Off
Start MCP SSE server when extension loads. Off by default — turn it on before connecting external clients.
Host
Text
127.0.0.1
Bind address.
Port
Number
9876
TCP port for MCP server.
External Access
Toggle
Off
Allow non-loopback connections. Requires TLS and a bearer token.
Restrict to in-scope hosts
Toggle
Off
When on, every scope-aware MCP tool (proxy history, site map, request senders, scanner, …) rejects targets outside Burp's defined scope, so an external MCP client cannot reach out-of-scope hosts through Burp. Setting key mcpScopeOnly.
STDIO Bridge
Toggle
Off
Enable stdio transport in addition to SSE.
Token
Text
(auto-generated)
Bearer token used for external access and for the POST /__mcp/shutdown endpoint. Persisted under preferences key mcp.token.
Allowed Origins
Multiline
(empty)
Comma-, semicolon-, or newline-separated external CORS origins. In external mode, an empty list enables permissive CORS (anyHost()); bearer authentication still applies to ordinary non-health routes, while POST /__mcp/shutdown also accepts the bounded takeover proof. Production deployments should set an explicit allowlist.
TLS Enabled
Toggle
Off
Enable HTTPS for MCP server. It is forced on and cannot be disabled while External Access is enabled.
Auto-Generate Certificate
Toggle
On
Generate self-signed PKCS12 keystore automatically via JDK keytool (RSA 2048, 365 days, CN=burp-mcp).
Keystore Path
Text
~/.burp-ai-agent/certs/mcp-keystore.p12
Custom PKCS12 path for TLS mode.
Keystore Password
Password
(auto-generated)
Password used by the keystore; encrypted at rest under preferences key mcp.tls.keystore.password.
Max Concurrent Requests
Number
4
Max parallel MCP tool calls (range: 1-64).
Max body size (KB)
Number
2048
Byte cap for the final serialized MCP tool result (range: 32-102400). History/site-map entries are also individually truncated to this cap before the bounded join.
Scan Task TTL (min)
Persisted/internal
120
Retention for completed scan task references surfaced via MCP (range: 5-1440). Not currently exposed by the redesigned panel; its loaded value is preserved on save.
Collaborator Client TTL (min)
Persisted/internal
60
Retention for Collaborator secret keys allocated by MCP (range: 5-1440). Not currently exposed by the redesigned panel; its loaded value is preserved on save.
Unsafe mode
Toggle
Off
Master switch for tools marked unsafe; the checkbox reads "Unsafe mode (allow write/mutation tools)". The BApp Store build has no unsafe tools and shows "No unsafe tools in this build".
External MCP Servers
The External MCP Servers section of the MCP Server tab (GitHub full build only) stores a list of outbound MCP connections. The default is an empty list. Each entry selects SSE or stdio transport, server name, URL or command, enabled state, and optional bearer token. Tokens are encrypted per field before the v5 settings blob is persisted; stdio remains an explicit opt-in because it launches a local process. See External MCP Servers.
MCP Proxy History Preprocessing
Applies to MCP tools that surface Burp proxy history (proxy_http_history, proxy_http_history_regex, response_body_search).
Preprocess proxy history
Toggle
On
Master switch for the preprocessing pipeline.
Filter binary content
Toggle
On
Drop responses whose content type is binary (images, archives, fonts, etc.).
Max response body size (KB)
Number
20
Truncate responses above this size before returning them to MCP clients (range: 1-10240).
Allowed content types
Multiline
text/, application/json, application/xml, application/javascript, application/x-www-form-urlencoded, multipart/form-data
Content types that bypass the binary filter.
Max items per request
Number
20
Upper bound on proxy history entries returned per tool call (range: 1-500).
Newest first
Toggle
On
Return the most recent proxy entries first.
Allow unpreprocessed history
Toggle
On
Expose a raw variant of the tool alongside the preprocessed one for clients that need the original payloads.
Burp Integration
This is the redesigned MCP Tools tab. Tools are grouped under AI Tools (extension-native), subtitled "Extension-native tools — available in both the BApp Store and the full build.", and Montoya Tools (generic), subtitled "Generic Montoya API wrappers — available in the full build only.", with a search/filter box and per-group bulk toggles. The GitHub full build registers all 59 MCP tools; the BApp Store build registers only the 8 extension-native AI tools (status, issue_create, ai_analyze, ai_passive_scan, ai_findings_recent, redact_preview, ai_audit_query, ai_backends_list).
Tool Toggles
Checkboxes
(varies)
Enable/disable MCP tools per group, individually or with the per-group bulk toggle.
Passive AI Scanner
Enabled
Toggle
Off
Enable background passive analysis.
Rate Limit
Number
5
Minimum seconds between analysis requests (range: 1-60).
Scope Only
Toggle
On
Analyze only targets in Burp scope.
Max Size (KB)
Number
96
Maximum response size eligible for passive analysis (range: 16-1024).
Min Severity
Dropdown
LOW
Ignore findings below selected severity.
Endpoint dedup (min)
Number
30
Skip repeated equivalent endpoint analysis inside window (range: 1-240).
Response dedup (min)
Number
30
Skip repeated response-fingerprint analysis inside window (range: 1-240).
Prompt cache TTL (min)
Number
30
Reuse parsed AI results for identical prompts inside window (range: 1-240).
Prompt cache entries
Number
500
Maximum prompt-result cache entries (range: 50-5000).
Endpoint cache entries
Number
5000
Maximum endpoint dedup cache entries (range: 100-50000).
Fingerprint cache entries
Number
5000
Maximum response-fingerprint dedup cache entries (range: 100-50000).
Req body chars (AI)
Number
2000
Maximum request body chars included in passive AI metadata (range: 256-20000).
Resp body chars (AI)
Number
4000
Maximum response body chars included in passive AI metadata (range: 512-40000).
Max headers
Number
40
Maximum filtered headers included in passive AI metadata (range: 5-120).
Max params
Number
15
Maximum parameters included in passive AI metadata (range: 5-100).
Req body chars (manual)
Number
4000
Maximum request body chars included by manual context actions (range: 256-40000).
Resp body chars (manual)
Number
8000
Maximum response body chars included by manual context actions (range: 512-80000).
Manual context JSON
Toggle
On (compact)
Use compact JSON serialization for context-menu actions.
Excluded extensions
Text
css,js,jpg,jpeg,png,gif,svg,ico,woff,woff2,ttf,eot,otf,mp4,mp3,avi,mov,webm,webp,pdf,zip,gz,tar,rar,7z,map,bmp,tif,tiff
Comma-separated file extensions to skip in passive scanning. Reduces API calls by skipping static assets.
Batch size (1=off)
Number
3
Group N requests per AI call for batch analysis (range: 1-5). Set to 1 to disable.
Persistent cache
Toggle
On
Cache AI results to disk (~/.burp-ai-agent/cache/) for reuse across Burp sessions.
Persistent TTL (hrs)
Number
24
Hours before persistent disk cache entries expire (range: 1-168).
Persistent max (MB)
Number
50
Maximum disk space for persistent cache in MB (range: 10-500). Once usage exceeds the maximum, oldest files are removed until usage is at or below 80% of the configured cap.
Warn threshold (tokens)
Number
0 (off)
Show a chat banner when cumulative token usage for the current Burp process reaches the threshold.
Hard cap (tokens)
Number
0 (off)
Pause passive scanning when cumulative token usage reaches the cap; chat remains usable.
Active AI Scanner
Enabled
Toggle
Off
Enable active vulnerability testing.
Max Concurrent Scans
Number
3
Parallel active scans (range: 1-10).
Max Payloads per Point
Number
10
Payload variants per injection point (range: 1-50).
Timeout
Number
30
Timeout in seconds per scan request (range: 5-120).
Request Delay
Number
100
Delay between requests in ms (range: 0-5000).
Max Risk Level
Dropdown
SAFE
Maximum payload risk (SAFE, MODERATE, DANGEROUS).
Scope Only
Toggle
On
Scan only in-scope targets.
Scan Mode
Dropdown
FULL
Vulnerability-class strategy (BUG_BOUNTY, PENTEST, FULL).
Use Collaborator (OAST)
Toggle
Off
Enable out-of-band tests using Burp Collaborator.
AI Adaptive Payloads
Toggle
Off
Generate context-aware payloads using AI based on detected tech stack and error patterns from the Knowledge Base.
Auto-queue (GitHub full build only)
The full build adds an Auto-queue section to the AI Active Scanner tab. The BApp Store build does not have it; there, passive findings that the active scanner can test are listed as suggested targets that you queue by hand ("Queue N suggested targets" in the AI Active Scanner Queue dialog), and the full build lists them too.
Auto-queue findings
Checkbox: "Auto-queue passive findings for active testing"
Off
Off by default. When on, AI passive findings are queued to the Active Scanner, which sends requests to the target.
Prompt Templates
Built-In Templates
Find Vulnerabilities
Text area
Prompt for Find vulnerabilities request action.
Analyze this request
Text area
Prompt for compact endpoint summary.
Explain JS
Text area
Prompt for JavaScript analysis.
Access Control
Text area
Prompt for authorization test planning.
Login Sequence
Text area
Prompt for login flow extraction.
Analyze this Issue
Text area
Prompt for scanner issue analysis.
Generate PoC & Validate
Text area
Prompt for proof-of-concept generation.
Impact & Severity
Text area
Prompt for impact and severity assessment.
Full Report
Text area
Prompt for complete report generation.
Custom Prompts
Dedicated settings tab that owns the saved free-form prompt library surfaced through the right-click Custom prompts submenu. The library persists globally (not per Burp project) as JSON. Malformed JSON loads as an empty library with an entry in Burp's extension log. Saving from this tab reflects in right-click menus immediately — no Burp restart required.
BountyPrompt Integration
The same Custom Prompts tab contains the BountyPrompt controls:
Enabled
Toggle
Off
Enables the curated BountyPrompt submenu; when off, the submenu remains visible but disabled.
Prompts directory
Text
~/Tools/BountyPrompt/prompts
Directory containing BountyPrompt JSON files.
Auto-create issues
Toggle
On
Auto-create Burp issues for parsed findings from outputType = issue prompts.
Issue threshold
Number
90
Minimum parsed confidence (0-100) required for issue creation.
Enabled prompt IDs
Multi-line text
Curated IDs
Allowlist of prompt IDs, comma- or newline-separated. An empty value falls back to the default curated set.
Default curated IDs:
API_Keys_Exposure_DetectionCSRF_Vulnerability_AssessmentSecurity_Headers_AnalysisVulnerable_Software_DetectionExtract_EndpointsVulnerable_File_Upload_Endpoint_DetectionWeb_Attack_SuggestionsSensitive_Error_Messages_Detection

Library Entries
Each entry stores:
id
UUID
Stable identifier. Used by Import to merge updates in place.
title
Text
Menu label and session-title stem. Truncated to 50 chars in the submenu.
promptText
Text (multiline)
Free-form user prompt sent to the backend. No variable substitution.
tags
Set
Subset of HTTP_SELECTION, SCANNER_ISSUE. Determines which context menus expose the entry.
showInContextMenu
Toggle
Master visibility switch. Hidden entries stay in the library but are not exposed in menus.
isFavorite
Toggle (★)
When true, pins the entry to the top of its context-menu group. Favorites keep their relative order; non-favorites follow.
Editor Controls
Add
Create a new entry with a generated UUID.
Edit
Modify the selected entry in place.
Duplicate
Copy the selected entry under a new UUID; " (copy)" is appended to the title.
Delete
Remove the selected entry.
Move Up / Move Down
Reorder. List order is the menu order — no auto-sort. Cross-group moves between favorites and non-favorites are blocked.
Favorite (★)
Pin/unpin the selected entry. Favorites appear above non-favorites in every context menu.
Search
Live filter on the editor table. Case-insensitive substring match against title and promptText. Clears with one click.
Import JSON
Read a JSON file and merge entries into the library by id. Existing IDs are updated in place; new IDs are appended. Duplicate IDs within the import payload are de-duplicated.
Export JSON
Write the entire library to a JSON file (pretty-printed, sorted keys per entry).
File Locations
The extension stores runtime files under ~/.burp-ai-agent/.
~/.burp-ai-agent/audit.jsonl
JSONL audit entries with a per-event SHA-256 hash over the serialized payload (no chain).
~/.burp-ai-agent/bundles/
Prompt bundle snapshots for deterministic workflows.
~/.burp-ai-agent/contexts/
Reserved directory created by AuditLogger; no current production caller writes standalone context files.
~/.burp-ai-agent/certs/
Auto-generated TLS artifacts for MCP server.
~/.burp-ai-agent/cache/
Persistent prompt cache (JSON files keyed by prompt hash). Per-project namespaced.
Burp extensionData()
Project-scoped chat session storage (auto-migrated from global preferences()).
~/.burp-ai-agent/backends/
Drop-in backend JAR discovery directory.
~/.burp-ai-agent/AGENTS/
Agent profile markdown files.
~/.burp-ai-agent/AGENTS/default
Active profile marker file.
~/.burp-ai-agent/logs/
Rolling AI Request Logger JSONL files (opt-in).
Runtime Constants
Some limits are operational constants rather than direct UI controls:
Auto tool chain limit:
8sequential MCP tool calls per chat interaction.Active scanner queue max:
2000targets.Active dedup window:
1 hour.Passive analysis wait timeout:
90s.HTTP backend conversation history cap:
20messages and40000total characters (minimum 2 latest messages retained).CLI history cap:
10messages or20000characters.Large prompt threshold for Claude CLI / Copilot CLI fallback path:
32000characters.CLI process timeout:
120soverall hard ceiling (internally clamped to30-3600s; the current settings panel does not expose a timeout control for CLI backends).HTTP backend retry schedule: up to
6total attempts for classified transient transport exceptions. The current loop can wait before five retries:500 / 1000 / 1500 / 2000 / 3000 ms. HTTP error responses are not retried in the same call.HTTP backend circuit breaker: opens after
5consecutive failures, resets to half-open after30000 ms, single half-open probe before closing or reopening.OpenCode CLI idle timeout:
30sbefore process termination after last output.CHAT_MAX_OUTPUT_TOKENS:4096— max output tokens for chat responses.SCANNER_MAX_OUTPUT_TOKENS:2048— max output tokens for single scanner analysis.SCANNER_BATCH_MAX_OUTPUT_TOKENS:4096— max output tokens for batch scanner analysis.PAYLOAD_MAX_OUTPUT_TOKENS:1024— max output tokens for adaptive payload generation.
Rolling Log Persistence (JVM Properties)
The AI Request Logger can persist entries to rotating JSONL files. This is configured via JVM system properties at Burp startup:
burp.ai.logger.rolling.enabled
false
Enable rolling file persistence.
burp.ai.logger.rolling.dir
~/.burp-ai-agent/logs
Directory for log files.
burp.ai.logger.rolling.maxBytes
1048576 (1 MB)
Maximum size per log file (minimum 10 KB).
burp.ai.logger.rolling.maxFiles
5
Maximum number of rolled files (range: 1–20).
Example:
Last updated
