Craft tab (hand-edit and replay)¶
Hand-craft and iterate a single request against a target. One request per sub-tab, up to 8 open at once; opening a ninth evicts the oldest.
Getting a request in¶
- Right-click a capture in Proxy → History (or a Site Map endpoint) → Send to Craft. With a History row selected, Ctrl+R does the same, and Intercept has a Send to Craft (Ctrl+R) button.
- In Payloads → Corpus, a payload card's → Craft
button builds a request around that payload string and opens it here. The
request uses the target from the Attacker tab's target form (method, host, port,
path and chat-body template, with the payload as the last user message). With
no host set there it falls back to an editable
127.0.0.1placeholder; the button's tooltip says which. - Click + in the tab strip (or + New blank tab on the empty screen) for a
blank request. The blank tab is seeded for the bundled Ollama smoke target
(
POST http://127.0.0.1:11434/api/chat) so you can iterate without first proxying something through History.
Double-click or right-click a sub-tab to Rename it; × closes it. The strip
shows (cap 8/8) once full.
How a send actually works¶
Send fires the current editor record through the egress gate and the Crucible
proxy at 127.0.0.1:8081, not straight at the target. Routing through the proxy
means every iteration runs the same capture chain as live traffic (provider parser →
guardrail scoring → history bus), so the response is parsed, scored, and dropped
into History like a proxied request. The details that matter in practice:
- Auth substitution. With Redact sensitive headers on (Proxy → Options →
Captures; off by default), the proxy replaces credential headers (
Authorization,Cookie,x-api-key,x-goog-api-key,anthropic-api-keyand the other session-token headers) with a<REDACTED:sha256:…>placeholder at capture time. On send, Craft swaps the live value back in from an in-memory auth cache keyed by the seed request. The cache holds onlyAuthorization,Cookie,x-api-key,x-goog-api-keyandanthropic-api-key; it is never serialised and is cleared when the process exits. A request replayed from a ZIP-imported session (or one whose redacted header isn't one of those five) has no cached credential, and the send fails withmissing auth for header '…' — paste a fresh credential. Paste the live value over the placeholder in the Headers table and send again. - Origin tagging. The send carries an
X-Crucible-Origin: repeaterheader so the proxy tags the record with theRepeaterorigin and correlates it to the seed viaparent_id. The proxy strips that header before forwarding upstream. - Timeouts. Every fire has a 20 s connect timeout and a 180 s total timeout.
- Retry on transient failures. A 429, 502, 503 or 504, or a connect error, is
retried up to twice. The wait honours a numeric
Retry-After(capped at 30 s), otherwise it backs off 1 s then 2 s. Each attempt is its own fire, so the 429s appear in History alongside the final answer; the iteration row shows the last one. - Cancel. Cancel aborts the in-flight exchange, including any retry wait.
- Egress gate. With the egress gate on Enforce, a send to an out-of-scope target is refused before any socket opens.
- Loopback TLS. The proxy TLS-terminates with a leaf minted by its own CA,
and Craft's client trusts that CA root directly, so no system trust setup is
needed. An HTTPS target given as a bare IP address is refused
(
IP-literal HTTPS unsupported: <host>) because the proxy can't mint a leaf without SNI.
Layout¶
Three side-by-side columns, each with its own scroll and draggable dividers.
- ITERATIONS rail (left). The seed row is
#0 seedwith the notebaseline; every send appends#Nwith its status (…while in flight) and a note on what the request changed from the previous row (+N chars,-N chars,edited, orresent). A green●marks a 2xx; an amber▲marks a non-2xx or a response where a guardrail signal fired. A pinned footer readsN sent · N flagged. Click a row to load that request into the editor and show its response. Right-click a row for Promote to seed / Duplicate / Delete. Up to 50 iterations are retained per sub-tab. - REQUEST (centre). The raw HTTP request is the source of truth and you edit
it directly. The header shows
raw body · headers Nand a rededitedpill once the editor diverges from the loaded request. Below: a method dropdown (GET/POST/PUT/PATCH/DELETE/OPTIONS/HEAD/TRACE), the URL bar, a collapsible Headers (N) table with + Add header, and the Body editor. When a provider builder exists for the request, a Round-trip from prompt toggle keeps a parsed prompt mirror in sync; otherwise the editor shows(raw-body-only). - RESPONSE (right). See Response pane.
Under the body, in order:
- Streaming-mismatch banner with a one-click fix (Add "stream": true or Switch path to :streamGenerateContent).
- The toolbar (see Toolbar).
- Detection panel, which flags body content likely to trip a defender's request-side detection rules.
- Token-count chip:
tokens: N · N chars · <model> (exact|heuristic). It tokenises the body that hits the wire. Requests parsed as the OpenAI API (or ChatGPT web) get an exact tiktoken count; everything else, including OpenAI-compatible endpoints, gets a ~4-chars-per-token estimate prefixed~. - diff from #N (or diff from seed): a collapsible, open-by-default line diff of the live editor body against
the previous iteration's request (the seed for the first). Removed lines are
prefixed
-, added lines+; unchanged lines are hidden. It readsno changes from baselinewhen nothing moved.
Response pane¶
The RESPONSE header carries the status glyph, status code and latency
(▲ 403 · 312 ms). When any defensive signal fired, a banner reads
guardrail fired followed by the matched signals (refusal · jailbreak, and so
on); hover it for the matched evidence. A clean response shows no banner.
Below the header is a row of sub-tabs:
- Text / Tools / Reasoning / HTML / JS / Raw: the response lenses that apply
to this response. Text shows the decoded Assistant text. Raw shows the
body (
Body (JSON)when it parses, pretty-printed) with Copy all / Copy raw, and asearch response…box that highlights matches and shows a liveN matchescount. Right-click the raw body for Highlight selection (pinned, persists across sends), Clear highlights, or Mark as finding. - Signals: one row per defensive signal (
x-guard,refusal,jailbreak, and any extra kinds) with its matched value ornone. If nothing was evaluated it readsNo defensive signals evaluated for this response. - Diff: shown once an iteration is selected. Compares this response's
assistant text against the baseline (the previous iteration, or the seed) at
words, lines or tokens granularity. A summary line reads
+N −N words · N% similar; at token granularity it uses the model's tokeniser and appends· exact tokeniseror· heuristic tokeniser (~4 chars/token). Identical replies readidentical to baseline.
Right-click the RESPONSE header for Mark as finding, which opens the Save-as-Finding modal directly with no History detour.
The guardrail banner and signals are a refusal detector, not a success
detector. A refusal match means the model declined; no banner means no refusal
pattern matched, which is not proof of a bypass. Confirm a bypass by reading the
response.
Toolbar¶
- Send greys out and shows a spinner and
Waiting for response…while a request is in flight, so you can't double-fire. - Cancel aborts the in-flight send. The row stays at
…with no status; a failed send leaves the row the same way, and the error is written to the log. - Revert to seed reloads the seed request into the editor.
- Send to Barrage opens the Send to Barrage modal seeded with the current editor record.
- Prefill assistant turn appends a partial assistant message containing
<PREFILL>after the last user turn, so the model continues from text it "already said". Replace the placeholder by hand, or send to Barrage, mark<PREFILL>as the position and fire theattack-prefill-seedspack at it. Bodies whose shape isn't recognised are left unchanged.
Typical flow¶
- Send a captured request to Craft.
- Edit the body (or, in Round-trip mode, the parsed prompt).
- Send; read the response and the guardrail banner or Signals.
- Check diff from #N for what you changed, and the response Diff for what that changed in the reply.
- Found an injection point? Send to Barrage to fan a payload set across it, or Mark as finding.
Troubleshooting¶
| Symptom | Cause | Fix |
|---|---|---|
Send fails with missing auth for header '…' |
The header holds a <REDACTED:…> placeholder and no live credential is cached for the seed (a ZIP-imported session, Crucible was restarted, or the header isn't one of the five cached auth headers) |
Paste the live value over the placeholder in Headers; the cache is in-memory only and doesn't survive a restart |
Iteration row stays at … |
The send was cancelled, failed, or was refused by the egress gate | Check the log; under Enforce, add the host to scope or switch the gate to Shadow |
| Several 429s in History for one send | Craft retried a transient failure (up to two retries) | Expected; slow down, or wait out the target's Retry-After |
| Response is empty / a 4xx with no body | Body isn't valid for the endpoint, or a streaming endpoint was called without stream set |
Fix the JSON; apply the streaming-mismatch banner's one-click fix |
+ opens a request against 127.0.0.1:11434 |
Blank tabs seed the bundled Ollama smoke target by design | Edit the method/URL/body, or start from a History capture instead |
→ Craft from a payload card targets 127.0.0.1 |
No host is set in the Attacker tab's target form | Set the target there first, or edit the URL in Craft |
Token chip shows ~ and reads "heuristic" |
No bundled tokeniser for that provider/model | Expected; the count is an estimate for anything not parsed as the OpenAI API |
| Ninth sub-tab replaced an old one | Craft caps at 8 sub-tabs and evicts the oldest | Rename and keep the tabs you need under the cap |
| Nothing lands in History after a send | Proxy isn't running on 127.0.0.1:8081 |
Start the proxy; check the log for the send error |
See also: Barrage · Attacker · Payloads · Proxy → History.