For the complete documentation index, see llms.txt. This page is also available as Markdown.

Best Practices & Hardening

A consolidated checklist for operators running Custom AI Agent against real targets. Each section is short and links to the canonical reference for parameter-level detail.

Privacy Posture by Environment

Pick the privacy mode that matches the trust level of the AI backend, not the trust level of the target. Even an on-prem model crosses a trust boundary the moment its prompts leave Burp.

Environment
Backend
Recommended mode
Why

Public bug bounty / customer engagement on a cloud LLM

Cloud HTTP (Perplexity, NVIDIA NIM, OpenAI-compatible) or Cloud CLI (Claude/Gemini/Codex/Copilot/OpenCode)

STRICT

Anonymizes hostnames and strips all tokens. Limits data leakage if the provider logs prompts.

Mixed workflow where the target hostname is part of the report context

Any cloud backend

BALANCED (default)

Preserves hostnames, redacts tokens and cookies. Cheap on prompt size, still safe.

Internal lab / private model with no third-party transit

Ollama, LM Studio, or Burp AI (Burp Pro built-in)

BALANCED for shared infra, OFF only for genuinely isolated single-user setups

Local does not mean unaccountable — keep redaction on unless you can prove no second copy of the prompts is being kept.

Cross-references: Privacy Modes, Backends Overview.

Pre-engagement checks

MCP Hardening Checklist

The MCP server is off by default. Turn it on intentionally and review these before exposing it to anything beyond localhost.

Cross-references: MCP Overview, MCP Security Model, Tools Reference.

Active Scanner Safety

Active scanning sends real traffic to the target. The plugin enforces caps and gates, but the operator is the last line of defense.

Cross-references: Active AI Scanner, Insertion Point Scan, Limitations & Hallucinations.

Audit Logging for Compliance

Audit logs are off by default and append-only when enabled. Use them when you need to prove what data left Burp.

Cross-references: Audit Logging, AI Request Logger.

Cache Hygiene

The persistent prompt cache speeds re-scans dramatically and is project-scoped so it does not leak across engagements — but it is a copy of AI output that survives Burp restarts.

Cross-references: Passive AI Scanner → Cache Behavior, Configuration Directory.

Backend Choice Trade-offs

Quick decision matrix when the engagement does not dictate a backend:

Constraint
Pick

Lowest leakage, slowest model

Ollama or LM Studio with a local model.

Fastest cloud cycle, JSON-mode scanner workflows

OpenAI-compatible / NVIDIA NIM.

Web-aware reasoning, can give up JSON mode

Perplexity (Sonar family).

Already paying for Burp Pro AI credits

Burp AI (built-in) — no extra config.

Long context, code-heavy analysis

Gemini CLI or Claude CLI.

Cross-reference: Backends Overview, Backend Troubleshooting.

Last updated