Skip to content

Project tab

An engagement bundle stored under $CRUCIBLE_DATA_DIR/projects/{slug}/. The tab is also your findings notebook, retest runner, campaign statistics view and report builder.

The project directory holds:

File Contents
project.json Name, target, notes, scope, guardrail rules, match-and-replace rules, saved History filters, judge configuration, options, host annotations, recon results, Craft tabs, discovered endpoints, IPI artefacts and detections
captures.sqlite Persisted captures (only when Persist captures to disk is on)
findings.json Findings, including tombstoned ones
attacker_runs.json Attacker runs saved with the project
report_config.json Your report-builder choices
engagement-{YYYY-MM-DD}.md Export markdown output
report-{YYYYMMDD-HHMMSS}.html / .pdf Report-builder output
retest-{YYYYMMDDTHHMMSSZ}.md / .json Retest reports

The left column is the current engagement; the right rail lists all projects. The foot of the left column shows storage: with the resolved projects directory.


Active project

The project name is the editable heading, with an active pill and a metadata line (slug · updated YYYY-MM-DD HH:MM · captures size). Below it are the target and notes fields, then:

  • Save: writes project.json. Blocked when the project is read-only. The slug follows the name, so a rename saves under a new slug; a name already used by another project is refused (Another project already uses the name "…".).
  • Reload: saves the current state, then reloads the project from disk.
  • Export ZIP: saves, then writes $CRUCIBLE_DATA_DIR/exports/{slug}-{YYYYMMDD-HHMMSS}.crucible-project.zip. The ZIP holds project.json and captures.sqlite only. Findings, report configuration and exported reports are not included; copy the project directory if you need those.

Under the buttons are four tiles: findings, logic flaws, reports and fires. Each shows a live count; clicking a tile opens its panel, and clicking it again closes it. The panels are described below.

No active project

When no project is open you get No project open with two ways to keep what you have captured:

  • Save current session as a new project: type a name and Save. The new project takes the live scope, rules, options and History.
  • …or append captures to an existing project: pick one and Append + switch. The in-memory History is appended to that project's captures.sqlite, then the project opens. Its own scope and rules replace the live ones.

Persistence, autosave and locking

These controls live on Proxy → Options:

  • Persist captures to disk: writes captured traffic to the project's captures.sqlite. Off keeps captures in memory only.
  • Autosave project within 5 s of a change: on by default. Writes project.json only when its content has changed. Failures toast (a repeat of the same error at most every 30 s), for example Autosave blocked: name "…" already used by another project. Rename in Project → Name.
  • Read-only project: blocks autosave and Save for project.json. Captures and findings still save through their own files.
  • Write-lock: set a password and Lock project to force read-only; Unlock needs the password. The lock is a salted SHA-256 hash in project.json. It deters casual edits on a shared machine; the files are plaintext and anyone with disk access can read them.

Capture retention (keep at most N requests, drop requests older than N days, Prune now) is set per project in Options → Storage. Requests attached to evidence are never pruned.

Findings

The findings panel is your evidence notebook. It starts with the retest controls, then a summary row (Findings / High / Critical), then one entry per live finding:

  • a severity pill (Critical / High / Medium / Low / Info),
  • the title, how long ago it was captured, and the endpoint (method, then host and path run together, for example POST api.example.com/v1/chat),
  • a Delete button,
  • OWASP LLM chips (LLM01 … LLM10),
  • an ATLAS row of MITRE ATLAS chips (AML.T…), computed from the OWASP tags,
  • the note,
  • evidence · N with each attached record id, label and note.

Request and response previews are copied into the finding at save time, capped at 64 KiB each, so a finding survives its capture being pruned.

The GUI cannot edit a saved finding. To change one, delete it and save it again, or use the MCP crucible.findings.update tool. Evidence references are attached and detached only through the MCP crucible.evidence.attach / crucible.evidence.detach tools; the panel lists them read-only. See MCP server.

Export markdown writes engagement-{YYYY-MM-DD}.md into the project directory and toasts the path. It is a flat, paste-ready file with one section per live finding: severity, OWASP LLM and MITRE ATLAS labels, capture time, endpoint, status, provider, guardrail hits, note, request and response previews, and supporting evidence.

Adding a finding

Where Action Opens the modal?
Proxy → History right-click → Save as finding Yes
Craft response pane right-click → Mark as finding Yes
Attacker run step right-click → Promote to Finding Yes, with the title prefixed Attacker step #N : and the note pre-filled from the goal and prompt
IPI proof chain Promote chain to Finding No, saved directly
Project → logic flaws Save as finding No, saved directly
MCP agent crucible.findings.add No

Barrage has no finding action of its own: click → Craft on the row, then Mark as finding.

The Save as finding modal has Title, Note, a Severity picker and one OWASP LLM tags checkbox per category. The title is pre-filled with the method, host and path (POST api.example.com/v1/chat), and an empty title falls back to the same.

How severity and tags are set

Findings are never tagged after the fact. The tags and severity a finding carries are the ones in place when it is saved. MITRE ATLAS is never chosen; it is computed from the OWASP tags each time a finding is displayed or exported.

When the modal opens, it proposes a severity and OWASP tags from the source record's guardrail hits. You confirm or change both before Save. The proposal follows these rules:

The record's guardrail hits include Proposed tags Proposed severity
A disclosure: system-prompt leak, tool-schema disclosure, secret exposure, scope break or output exfiltration link The OWASP tags of those kinds (for example LLM07 for a system-prompt leak, LLM02 for a secret) The highest of them: Critical for a secret, High for the rest
A jailbreak signature, and nothing showing the attack was blocked LLM01 High
Anything else: refusals, provider blocks, moderation flags, or no hits None Info

A defended request therefore opens as Info with no tags, and you classify it by hand if it matters.

The direct-save paths set their own values:

Path Severity OWASP tags
IPI Promote chain to Finding Critical if the chain reached Exfiltrated; High for Triggered or Side-effect; Medium otherwise LLM01, plus LLM02 when the chain has beacon callbacks. Every other stage's record is attached as evidence
Logic flaw: internal ID leakage Medium LLM02
Logic flaw: anonymous token drives a write High LLM06
Scope / grounding check High LLM06, LLM01
MCP crucible.findings.add The severity the agent passes, else the proposal rules above The owasp_tags the agent passes, else the proposal rules above

ATLAS is derived per OWASP tag:

OWASP tag MITRE ATLAS techniques
LLM01 AML.T0051.000 LLM Prompt Injection: Direct; AML.T0054 LLM Jailbreak
LLM02 AML.T0057 LLM Data Leakage
LLM05, LLM06 AML.T0048 External Harms
LLM07 AML.T0056 Extract LLM System Prompt
LLM03, LLM04, LLM08, LLM09, LLM10 none

Deleting a finding

Delete opens Delete finding? with an optional reason field. Confirming does not remove the row. The finding is kept in findings.json as a tombstone with the time and reason (deleted by operator (GUI) if you leave it blank), and the deletion is written to the audit log, the same way an MCP agent's crucible.findings.delete is recorded. Tombstoned findings disappear from the panel, the tile counts, Export markdown, the report builder and retests.

Retest

Retest all findings (top of the findings panel) re-fires each live finding's anchored request from captures.sqlite through the proxy's dispatch chokepoint in Shadow mode, one at a time, re-judges the reply, and compares it with what the finding recorded. Re-fires appear in History and the audit log like any other send. Each finding gets one outcome:

Outcome Meaning
still vulnerable Landed before, still a hit
fixed Landed before, refused or unjudgeable now
regressed Refused before, a hit now
still refused Refused before, refused now
unknown Could not re-fire: the record is not in captures.sqlite, or the send failed

When the run finishes, the toast and the line beside the button show the summary (N findings retested: … still vulnerable · … fixed · … regressed · … still refused · … unknown), and up to 12 open rows (still vulnerable or regressed) are listed. The report is written as retest-{timestamp}.md (a table of outcome, severity, finding, before, after, status and re-fire id) and retest-{timestamp}.json in the project directory.

The same run is available headlessly as crucible --retest <slug>; see the overview. Retest needs persisted captures: with persistence off, every row is unknown.

Logic flaws

The logic flaws panel runs two checks over the current History:

  • Scan captured traffic for logic flaws: a cross-request pass that finds internal IDs leaked by one response and accepted as input by another (IDOR or enumeration surface), and anonymously minted tokens that later drive a state-changing call (broken auth). Each result shows a severity, a confidence and the evidence, with Save as finding.
  • Check scope / grounding (LLM): asks the attacker model configured on the Attacker tab whether each of the 25 most recent request/response pairs with inline text bodies stayed within the project's target description. Off-task replies are listed as Scope break with the model's reason and Save as finding. The verdict is the attacker model's opinion; it is recorded in the finding's note and never written into the record's guardrail hits.

Reports

Configure & export… opens the Report builder modal:

  • ENGAGEMENT: Title, Client, Operator, Dates, Target, Classification (none, CONFIDENTIAL, INTERNAL or RESTRICTED; the default is CONFIDENTIAL).
  • BRANDING: Logo path (PNG, SVG, JPEG or WebP, embedded in the HTML) and Primary / Secondary colour overrides.
  • EXECUTIVE SUMMARY: optional plain text; line breaks are kept.
  • SECTIONS: Summary, Scope, Findings, OWASP coverage, Appendix.
  • FINDINGS: Include all, Exclude all, or one checkbox per live finding.

Export is gated on Title, Client, Operator, Dates and Target plus at least one included finding; the modal lists what is missing after Required before export:. Target falls back to the project's target description. Export HTML is immediate. Export PDF renders the HTML, then converts it on a background thread with the first of chromium, google-chrome, chrome or chromium-browser found on PATH, falling back to weasyprint. With none available you keep the HTML and get a note. Output is report-{YYYYMMDD-HHMMSS}.html / .pdf in the project directory, opened with the system viewer when one exists. Builder choices persist in report_config.json.

What goes into the report:

  • Tombstoned findings are excluded, as are tombstoned evidence references.
  • Each finding shows its OWASP LLM tags and the ATLAS techniques derived from them, and its live evidence references.
  • The report states the project's actual credential-redaction setting at export time. With redaction on, it says credential headers and query-string credentials were replaced by <REDACTED:sha256:…> tokens. With redaction off, it says Credential redaction was OFF for this engagement and warns that excerpts may contain live keys, cookies or tokens. Redaction is the Redact sensitive headers toggle on Proxy → Options, and it applies at capture time, so turning it on later does not scrub existing captures.
  • Attacker runs from the current session are summarised (goal, target, status, steps and bypass count).

Campaign statistics

The fires tile counts every judged fire across Barrage and Attacker runs: live runs in this session, Attacker runs saved with the project, and Barrage JSON exports in $CRUCIBLE_DATA_DIR/intruder-runs/. That directory is global, so exports from other projects are counted too. A hit is RefusalBypassed or BypassCandidate, the same definition the engines use for stop-on-first-hit. The panel is recomputed on every repaint.

  • Summary line: runs, fires, hits and overall ASR with its Wilson 95% interval, for example ASR 12% [8–17] (Wilson 95%). The interval keeps small samples honest: 1/1 is not reported as a confident 100%.
  • ASR by technique × target: one row per technique (Barrage mode plus pack, for example Sniper · attack-skeleton-key, or the Attacker strategy) and one column per target (host, plus model when known), up to six columns, then all targets. Each cell reads hits/fires (ASR% [low–high]). Export matrix CSV writes every column to $CRUCIBLE_DATA_DIR/campaign/matrix-{timestamp}.csv.
  • Refusal rate over time: the 14 most recent days that have fires, one line per day with fires, refused percentage, hits and a bar.
  • Run vs run (Barrage, same pack): pick runs A and B. The diff matches payloads by id and reports flipped to hit, flipped to miss, unchanged, only in A and only in B, then lists up to 20 ids under Newly bypassing in B and No longer bypassing in B. Attacker runs are excluded because their turns have no payload identity. It needs at least two Barrage runs.

All projects

The right rail is headed all projects · N with + New, which opens a name field and Create. Creating a project carries the current in-memory History into it and switches to it.

The filter projects box matches name or target. Each row shows the name, captures size and date, with · active on the open project. Click a row to switch; a confirm dialog warns that the current project is saved first. Right-click a row for Open, Duplicate (copies project.json and captures.sqlite under {name} copy), Delete (confirm modal; removes the project directory) and Open data dir (writes the project's path to the log).

Import from ZIP at the foot of the list opens a path field and Apply. Paste the path to a .crucible-project.zip made by Export ZIP; there is no file picker.


The engagement lifecycle

graph LR
    NP["New project"] --> CS["capture + scope"] --> AT["attack (Craft / Barrage / Attacker / IPI)"]
    AT --> SF["Save as finding"]
    SF --> F["Findings"]
    F --> RT["Retest all findings"]
    F --> EX["Export markdown / Report builder (HTML / PDF)"] --> D["deliverable"]
    AT --> CP["Campaign statistics"]
    F --> ZIP["Export ZIP (project.json + captures)"]

Troubleshooting

Symptom Cause Fix
Findings attach to a project. Save or load one above first. No active project Save the session as a project, or open one
Captures gone after reopening a project Persistence was off when you captured Turn on Persist captures to disk (Proxy → Options) before capturing
Every retest row is unknown The anchored records are not in captures.sqlite (persistence off, or pruned) Capture with persistence on; evidence-linked requests survive pruning
A finding has no OWASP or ATLAS tags The source record had no disclosure or unblocked-attack hit, so nothing was proposed Tick the tags in the modal when saving. For an existing finding, delete and re-save it, or use crucible.findings.update
Export PDF fails, HTML is fine No headless browser on PATH Install chromium or google-chrome (or weasyprint); HTML needs none
Export buttons in the report builder are disabled A required field is empty or no finding is included Read the Required before export: line
Save toasts that the project is read-only Read-only or write-lock is on Turn off Read-only project, or Unlock, on Proxy → Options
Autosave toast about a name already used The new name collides with another project Pick a unique name and Save
Findings missing after importing a ZIP Export ZIP does not include findings.json Copy findings.json from the source project directory into the imported one
Findings or captures missing after renaming and reopening a project Save writes project.json under the new slug's directory; the existing findings.json and captures.sqlite are not moved, and the old directory stays on disk Name the project before you start capturing, or move those files into the new directory
Import from ZIP does nothing Wrong path, or not a .crucible-project.zip Paste the full path to a ZIP made by Export ZIP, then Apply

See also: Quickstart · Workflows: engagement report · Proxy → History · MCP server.