Overview¶
What Crucible is¶
Crucible is a desktop workbench for penetration testing AI systems. It runs an
intercepting proxy on 127.0.0.1:8081, parses the LLM API traffic that passes
through it into prompts, responses and tool calls, and gives you tools to replay,
fuzz and attack those endpoints, then record findings and report them.
| Tab | What you use it for |
|---|---|
| Proxy | Capture and inspect traffic: History, Intercept, Beacon (out-of-band callbacks), and capture options including match-and-replace rules. |
| Target | Scope, the site map of AI hosts and endpoints, recon, port scan, and MCP server enumeration with a tool-poisoning scan. |
| Craft | Hand-edit one request, resend it, and diff the responses. |
| Barrage | Fuzz marked positions with payload packs in Sniper, Pitchfork or Cluster bomb mode, or run Search, a genetic adversarial-suffix search. |
| Attacker | Multi-turn and iterative attack strategies: PAIR, TAP, GOAT, Crescendo, Echo Chamber, DeepInception, Best-of-N, or a custom plan. |
| IPI Lab | Indirect prompt injection lab. Stage a poisoned artefact, track its canary through the traffic, and build a proof chain. |
| Payloads | Browse payload packs and chain encoders and converters. |
| Project | The engagement: scope, captures, findings, evidence, campaign statistics, and reports. |
| Cert | Export the root CA and per-runtime trust recipes. |
| Options | Global settings: Display (fonts, density, UI scale), TLS passthrough, the egress gate, storage retention, and the MCP server. |
The workflow it supports¶
graph LR
Proxy["Proxy (capture)"] --> History
History -->|scope / map| Target
History -->|send to| Craft
History -->|send to| Barrage
History -->|send to| Attacker
Craft -->|send to| Barrage
Barrage -->|result to| Craft
Craft -->|mark as finding| Findings
Attacker -->|promote| Findings
IPI -->|promote chain| Findings
History -->|save as finding| Findings
Findings --> Report["Project → Report"]
- Capture. Route a browser, SDK or agent through the proxy. Open Browser in Proxy → Intercept launches a Chromium-family browser that is already set up for this. Captures land in Proxy → History, parsed per provider.
- Scope and map. Set the target scope and read the site map: hosts, endpoints, models, and any tool or function schemas the proxy parsed.
- Attack from a captured request: hand-edit it in Craft, fuzz it in Barrage, run an Attacker strategy against a stated goal, or stage an indirect injection in IPI Lab.
- Record findings. Right-click a History row → Save as finding, use
Mark as finding on a Craft response, Promote to Finding on an Attacker
result, or Promote chain to Finding in IPI Lab. An MCP agent can call
crucible.findings.add. - Report from the Project tab as Markdown, HTML or PDF, or re-run every
live finding headless with
crucible --retest <slug>.
What makes an LLM target different¶
- The vulnerability is in the instructions. System-prompt leaks, jailbreaks and prompt injection attack what the model is told to do. Barrage, the Attacker strategies and the IPI lab all work at that layer, whether the payload arrives in the prompt or through a document, web page or tool result the model reads.
- Defences leave signals, sometimes. When a provider exposes them (safety
ratings, refusal phrasing, finish reasons such as
SAFETY), Crucible's guardrail detector scores them and flags the capture. Many defences are invisible from the wire, and a missing flag does not mean nothing fired. Read the response. See Key concepts. - Tools widen the surface. Function and tool schemas, tool results, and MCP servers are delivery channels for indirect prompt injection. Crucible maps schemas into the site map, enumerates MCP servers, and tracks injected canaries across requests and responses.
- Findings carry their framework tags. You can tag a finding with OWASP LLM Top 10 categories. Crucible pre-fills them from any guardrail signals on the capture, and you edit them. MITRE ATLAS techniques are mapped from the OWASP tags you keep.
Goals and scope¶
- Better penetration testing of AI systems. Crucible gives an AI pentest the same capture, replay, fuzz and report loop a web pentest has, built around prompts instead of form fields.
- Offline, so it works anywhere. Crucible is free and runs entirely on your machine, with no account, no licence and no telemetry. It sends traffic only to the targets you point it at, so it fits air-gapped labs and client sites.
- Authorised testing only. Point Crucible only at systems you own or are explicitly authorised to test. Capture real-provider traffic from a dedicated VM (see Isolated VM setup).
See also: Install · Quickstart · Key concepts