Skip to content

Target tab

Enumeration and scoping: what's out there, and what's in-bounds for the engagement. Scope decides what the proxy records and which hosts the active engines may touch; the other four sub-tabs turn captured traffic and probes into a picture of the target's shape and injection points.

Sub-tabs: Scope · Site Map · Recon · MCP · Port Scan.


Scope

Declare which hosts/URLs are in scope. Exclude wins over include. Out-of-scope requests are still forwarded upstream, but they are not captured: no History row, no site-map entry, no parser dispatch. Scope is saved with the active project and mirrored to $CRUCIBLE_DATA_DIR/scope.json on every change.

Scope also gates the active engines. Recon, the MCP probe, Port Scan and Site Map → Discover endpoints refuse a host outside the project scope, showing <host> is outside the project scope. Add it under Target → Scope (or lift the exclude) before probing it. and sending nothing. An empty scope refuses nothing. Independently of scope, these engines refuse link-local and cloud-metadata addresses (169.254.0.0/16, fe80::/10, including IPv4-mapped forms), unspecified, broadcast and multicast addresses; loopback and RFC 1918 ranges are allowed for lab boxes. They never follow redirects, so a 3xx is reported as a 3xx.

  • Toolbar: the capture kill-switch (● Capturing / Capture paused) drops all records without touching your rules, so you can pause and resume without losing scope. On the right, live N include · M exclude counts (with exclude wins, or everything in scope when the include list is empty) and the Import / Export ▾ menu: Export to clipboard (Scope as JSON), Restore defaults (clears everything → all in scope), a paste box with Apply paste, and one-click Preset buttons: OpenAI (api.openai.com + eu.api.openai.com), Anthropic (api.anthropic.com
  • a Bedrock-runtime regex), Google (Gemini + Vertex AI hosts), All AI (the union, plus LangSmith).
  • Add-rule row: an include / exclude selector, a kind (HostExact / HostSuffix / UrlPrefix / Regex), the value, and Add rule. Hints per kind: 127.0.0.1, .example.com, https://api.openai.com/v1/, ^https?://chatgpt\.com/.*. Bad regexes are caught with a bracket-balance check before you can add them.
  • Scope rules: one table of include and exclude rules together (Rule · Kind · Pattern · Action), an acid-green edge for include and a duller leaf-green edge for exclude, with Delete per row.
  • Recent drops: the last 50 requests the proxy gated out (Time · Method · URL · Why dropped). The reason is explicitly excluded (hover for the rule), no include match or capture paused. Right-click a row for Add +include host (HostExact), Add +exclude path (UrlPrefix) and a body preview.

Empty include = "everything is in scope". Add hosts to narrow it.

To build scope quickly, right-click rows in Proxy → History → Add host to scope / Exclude host from scope.


Site Map

A host → path tree of everything the proxy observed, with rich per-endpoint detail.

Target profile (collapsed card at the top): Target profile · N hosts · N providers · N models · N guardrail products, folded from the in-scope hosts' captured records. It lists providers (with their hosts), models, the guardrail stack, tools declared, RAG indicators, MCP servers and the session model, with Copy as markdown for the report.

Filter row

  • A filter expression: space-separated tokens, AND-ed. A bare word matches host or path; keys are method:GET, interesting:true, ai:true, status:200.
  • interesting (sensitive or AI leaves that returned a 2xx) and AI endpoints (the chat/completion/agent attack surface) quick toggles, and an N hosts · N paths counter.
  • A legend: an acid-green ◆ marks a sensitive path (secrets, admin, backup), a leaf-green ◆ the AI surface (chat, agent, copilot). Both are name-pattern triage hints, not findings. Counts are requests seen.
  • Template path IDs (default on) collapses volatile path segments ({uuid}/{ulid}/{int}/{hex}/{base64url}) so /v1/threads/abc… and /v1/threads/def… fold into one node; it affects future captures. A Tag filter (Any / Investigating / Owned / Boring) with Show untagged.

Click an endpoint to see methods observed, response-status counts, recent request IDs, the total request count, the conversation mode (with evidence and how to test it), Parameters seen (each JSON field carries a "Send to Barrage marking this field" button that marks it as the injection position), concrete paths behind a templated node, a leaf comment, Send to Craft / Send to Barrage, and the Last response. A leaf found only by Discover has no captured body; Fetch preview GETs it once through the proxy.

Host-wide observations sit under the endpoint detail: Use templated paths for this host, Models seen, Beta flags seen, Guardrail stack seen, Tool / function schemas seen, Fingerprint evidence and a host comment.

Guardrail stack seen and part of the fingerprint evidence come from passive fingerprinting of captured records, with no probe sent. Provider- or gateway-specific response header names (openai-organization, anthropic-ratelimit-*, apim-request-id, x-amzn-bedrock-*, x-litellm-*, x-portkey-*, helicone-id, x-openrouter-* and others) identify providers and gateways. Header values are never recorded. Guardrail hits produced by an identifiable defender product (Azure Content Safety, Bedrock Guardrails, Llama Guard, Prompt Guard, Gemini safety, Qwen3Guard, NeMo Guardrails, OpenAI/Mistral moderation and others) are counted per product as product × N. Model-level behaviour such as refusal wording or an empty reply says nothing about the stack and is not counted, though Anthropic's refusal stop reasons are counted as anthropic-refusal-stop. Passive fingerprints are not saved; they are re-derived from the project's captures when it reopens.

  • Host right-click: Copy host · Add host to scope · Exclude host · Send to Recon · Discover endpoints… · Comment... · Tag (Investigating / Owned / Boring / Clear) · Disable (or Re-enable) templating for this host.
  • Endpoint right-click: Copy as curl · Copy URL · Send to Craft · Send to Recon · Send to Barrage · Send to Attacker · Add to scope · Exclude from scope · Comment... · Tag.

Discover endpoints

Right-click a host → Discover endpoints… opens a modal that path-enumerates the host with HEAD probes against a wordlist, fetching hits with a GET.

  • Wordlist: pick a default promptlist wordlist or paste your own (one path per line, # comments allowed), which overrides the dropdown. Default lists come from the jlockwood10/promptlist repository, pinned to a fixed commit, and are cached locally; each cached list is re-hashed against the manifest before use, and a tampered or truncated file is refused. Refresh defaults re-fetches them.
  • Options: concurrency, scheme (Auto = HTTPS with HTTP fallback, or force HTTP/HTTPS), port, Auto-filter wildcards (on by default; filters out the catch-all responses of hosts that answer every path), Recursion depth (0 = flat; above 0 re-scans directory-like hits) and Reuse captured auth (attaches the auth headers of the most recent matching capture).
  • Run, then live progress: hits / scanned / total, wildcards filtered, probes/s and ETA, and error counts. On 429s it cools down, honours Retry-After and throttles itself. Cancel scan stops it.

This is path discovery, distinct from prompt fuzzing, which is Barrage plus payload packs. Discovered paths and fingerprints fold back into the tree.


Recon

A "tester's notepad" that fires a fixed battery of 38 probes at a host and prints verbatim, copy-pasteable results. It never infers a vendor name; model ids and header values are the raw bytes off the wire.

  • Config: Host · Port (auto from scheme when blank) · Scheme (HTTPS/HTTP) · a Site Map: N candidates autofill dropdown · Run recon (with progress and Cancel while running).
  • Probes (collapsible, Probes — N of 38 selected): every probe as a toggle chip, grouped as Models & API surface, Health / status / version, Vector store / schema, Auth discovery (.well-known), A2A agent cards, A2A service / RPC / workflow, OpenAPI / Swagger schema, and Chat-completions probes. Select all / Select none. Only selected probes fire and show in results.
  • Results (dense, click any line to copy): a summary line (N probes · 2xx: N · auth-walled: N · 4xx-other: N · 5xx: N · network: N), Models (verbatim ids), version-bearing Headers, raw /metrics lines, a proxy-suspected Capability note, and a Probes table. Results are saved into the project, and fingerprints fold into the host's Site Map entry.

MCP

Model Context Protocol discovery: find and profile MCP servers the target exposes. This detects MCP on a target; it is not the Crucible-as-MCP server (that's Options → MCP server / mcp-server.md).

  • Passive catalogue from captured JSON-RPC 2.0 traffic (initialize, tools/list, resources/list, prompts/list). The left pane lists hosts seen advertising MCP; select one to inspect its catalogue.
  • Active probe: a Site Map: N candidates dropdown · Host (default 127.0.0.1) · Port (auto) · Scheme (default HTTP, since local MCP usually rides plaintext loopback) · Probe for MCP. It tries ten fixed probes: GET /mcp, /api/mcp, /v1/mcp, /sse, /messages and the two OAuth .well-known documents, then POST initialize to /mcp, /api/mcp and /v1/mcp. Results split into Detected (confirmed, with confidence and serverInfo) and a Probe results grid (Method · Path · Status · Signal).
  • Enumeration: after the first confirmed initialize, the probe reuses that session (Mcp-Session-Id and the negotiated protocol version), sends notifications/initialized, then calls tools/list, resources/list and prompts/list. Plain-JSON and SSE-framed replies both work; a failing call is listed as an error and the rest still complete. The result appears as Enumerated via <path> — N tools · N resources · N prompts, with · ⚠ N suspicious when the poisoning scan flags anything. Enumerated items feed the same catalogue and drift log as passive capture.
  • Tool-poisoning scan: each tool's description and schema description fields are scanned lexically. A flagged tool shows ⚠ and its markers: instruction-override, concealment, hidden-directive-tag, pre-call-directive, sensitive-path, credential-reference, exfil-directive, tool-shadowing, zero-width-chars, unicode-tag-chars, url-in-description, oversized-description. Markers are reasons to read the description, not a verdict.
  • Detail per server: Session (server, version, protocol, transport, Mcp-Session-Id, capabilities JSON), Tools (name, description, schema, description hash), Resources, Prompts, and Drift events (+ tool added, - tool removed, ~ tool changed, ~ resource changed), which catch a tool definition changing between captures (a rug-pull).

Tool descriptions and schemas surfaced here are prime targets for IPI (MCP tool-description poisoning).


Port Scan

An async TCP connect-scan with service fingerprinting to find LLM and agent infrastructure: Ollama, vLLM, LM Studio, Python agents (FastAPI/uvicorn, Flask, Gradio, Streamlit), Open WebUI, A2A agents and MCP, and vector DBs.

  • Fields: Host (default 127.0.0.1) · Ports (default 1-65535; the spec takes ranges and lists, e.g. 8000-8100,8011).
  • Buttons: Scan (the ports in the field against the Host) · AI ports (a curated set) · Scope (N) (the same port spec across every in-scope host the site map has observed, grouped by host).
  • Stack presets scan the known ports for one stack instead of all 65535: AI servers (LM Studio · vLLM · Open WebUI · Ollama), Python agents (FastAPI · uvicorn · Flask · Gradio), Agent mesh (A2A · assistant · MCP · metrics), Vector DBs (Qdrant · Milvus · Elasticsearch). Hover a preset for its port list.
  • Live progress (scanning done/total ports · N open and a bar). Open ports list the port, a service label, a bright ● AI/agent marker where relevant, and evidence text. A refused host is reported as refused: <why>.

Troubleshooting

Symptom Cause Fix
Site Map / History empty after browsing Traffic is out of scope, or capture is paused Check the Recent drops panel; resume capture; widen scope (empty include = all)
Wanted host keeps landing in Recent drops as no include match A non-empty include list excludes it Right-click the drop row → Add +include host (HostExact)
Recon, MCP probe or Port Scan reports is outside the project scope The host is not in the project scope Add it under Scope, or lift the exclude that covers it
A probe refuses a 169.254.x.x or fe80:: target Link-local and cloud-metadata addresses are always refused Expected; there is no override
Two visibly different endpoints collapse into one node Template path IDs is folding volatile segments Untick Template path IDs, or disable templating for that host
Discover endpoints dropdown is empty No default lists cached yet Click Refresh defaults, or paste a custom wordlist
Discover refuses a cached list The cached file no longer matches the manifest hash Refresh defaults to re-fetch it
Recon shows no models Host didn't answer the model-list probes, or is auth-walled Read the summary line's auth-walled / 4xx counts; check the model probes are selected
Scope (N) button disabled The site map has seen no in-scope hosts yet Browse the target (or set scope) so hosts appear, then retry
MCP host list stays empty No JSON-RPC handshake has been captured Capture initialize/tools/list traffic, or use the active Probe for MCP

See also: Proxy → History · Barrage · IPI · Project.