What it catches, what it costs, and what it misses
Every number on this page was recorded with scripts/record_benchmarks.py on interlock-fiduciary 1.22.1, interlock-escrow 1.12.0 and interlock-agentgov 1.3.3.
Check these numbers against this build
pip install interlock-fiduciary==1.22.1
sha256sum -c SHA256SUMS
fiduciary verify-bundle after.fidb --charter $(cat charter.digest) \
--keys pinned-keys.jsonEach timing is 100 runs of one operation on one machine, after a warm-up, against local SQLite ledgers and directories. A real deployment adds network round trips to its APIs, PostgreSQL or Kubernetes, and the time a person takes to approve.
Allowed by the gateway, then caught by the stack
In each workflow a recorded model session makes calls that a static gateway policy allows. Interlock stages each write in its own system and measures every row, file, object or record it touched. Fiduciary checks that against the signed mandate, and refuses or undoes what broke a rule. All 16 bundles verify offline, V1 to V14.
| Workflow | System | Rung | Refused | Undone | Checks that stopped or undid it | Bundles verified |
|---|---|---|---|---|---|---|
| Workspace agent | Files | T | 4 | 0 | Change limit, Only the kinds the mandate allows, No deletes without a grant, Commit only on the version measured | 2 (after exit 7) |
| Coding agent | Git | T | 6 | 0 | Change limit, Claims backed by a signed event, Only the kinds the mandate allows, No deletes without a grant, Commit only on the version measured | 2 (after exit 7) |
| Cloud SRE | Kubernetes | P | 5 | 0 | Value guard, per partition, No deletes without a grant, Rate window | 2 (after exit 7) |
| Clinical EHR | FHIR R4 | V | 4 | 1 | Stays inside its partition, Claims backed by a signed event, Rate window, Commit only on the version measured, Read back, undo if different | 2 (after exit 7) |
| Service desk & CRM | REST API | V | 3 | 1 | Stays inside its partition, Commit only on the version measured, Read back, undo if different | 2 (after exit 7) |
| Refunds & payments | SQLite | T | 48 | 0 | Stays inside its partition, Change limit, Value guard, per partition, Rate window, After untrusted input | 2 (after exit 7) |
| SaaS admin | SQLite | T | 2 | 0 | Stays inside its partition, Change limit, Only the kinds the mandate allows | 2 (after exit 7) |
| Supply chain ERP | SQLite | T | 3 | 0 | Change limit, Value guard, per partition, Requests match the change, Only the kinds the mandate allows | 2 (after exit 7) |
Incident replays
Each replay rebuilds the pattern of a public incident against stand-in MCP servers, protected the way fiduciary protect protects yours.
| Replay | What caught it | Bundles verified |
|---|---|---|
| A destructive cloud call with a found token | the token's custody, the scan's seed, and a destructive call held for its owner | 3 |
| A cross-server toxic flow | the rule of two across both servers' sessions, and the private values it tracked | 3 |
| A silent MCP server update | each tool's pinned definition, the version pin, and the read-only claim check | 1 |
Measured local overhead
The time each step takes in process, on one machine: budget holds, staging, signature checks, outbound inspection and memory recall.
| Operation | Samples | P50 (ms) | P95 (ms) | P99 (ms) |
|---|---|---|---|---|
| AgentGov hold and capture (SQLite ledger) | 100 | 0.43 | 1.09 | 1.49 |
| Interlock SQLite stage, diff and commit | 100 | 1.74 | 2.59 | 3.12 |
| Interlock directory stage and diff | 100 | 3.36 | 4.29 | 9.33 |
| Fiduciary FIDU1 Ed25519 verify | 100 | 0.19 | 0.24 | 0.38 |
| Fiduciary WebAuthn ES256 passkey verify | 100 | 0.10 | 0.23 | 0.42 |
| Outbound V13 layered egress and split scan | 100 | 0.13 | 0.62 | 0.88 |
| Cross-session memory fingerprint and recall | 100 | 0.03 | 0.11 | 1.60 |
Attacks and faults the tests run
Each row is a test that runs in CI, against SQLite, PostgreSQL, loopback REST and FHIR servers, the MCP proxy and Node's Web Crypto.
| Attack or fault | What the runtime does | What the offline check sees | Test file |
|---|---|---|---|
| A value hidden under layers of encoding | Decodes URL encoding, HTML entities, JSON escapes, Unicode normalization, base64, base32 and hex, up to four layers deep | V13 outbound digests and rule verdict | test_evasion.py |
| A credential split inside one call | Rejoins the pieces, in order, across the call's arguments, query parameters, path segments and body | V13 records the secret match | test_evasion.py |
| Duplicate JSON keys and URL parser tricks | Refuses a message with duplicate keys, and reads a backslash in a URL's host part the way browsers do (WHATWG) | V13 destination check against allowed domains | test_evasion.py |
| A confused deputy across three servers | Shares labels, memory citations and secret digests across every server one client starts | V13 checks memory citations across the servers' logs | test_toxic_flow.py |
| Memory poisoned in one session, read in the next | Records session.remembered when a tool writes memory, MEMORY.md or CLAUDE.md, and labels later reads of it | V13 ties each session.remembered to the reads that cite it | test_memory.py |
| The host clock steps backwards | Holds a record's time at the previous record's, so the log never goes back in time | V12 time order passes | test_faults.py |
| A sub-agent crashes or hangs while holding budget | An operator releases the stale hold, and a slow caller books again without spending twice | V6 ledger balance | test_faults.py |
| A put-back on a REST or FHIR system fails twice | Retries a busy or briefly down system (429, 502, 503, 504) up to three times; a 412, or a failure that persists, leaves the intent open (CommitUnsettledError) and trips the scope's circuit breaker | The open intent, and AgentGov's signed record of the trip | interlock test_rest.py, test_fhir.py |
What it does not catch
The checks match exact values and known mechanisms. These are the gaps, and what bounds each one.
- Paraphrases and summaries. Scanning matches exact values and the encodings above. A model that rewords sensitive data is not matched; only the
bytes_sentbudget and call limits bound it. - Values shorter than eight characters. A value or a piece shorter than eight characters is not tracked, and private text that is not a credential is not rejoined from pieces.
- Splits across calls, and transforms that are not encodings. Pieces sent in separate calls or out of order, ROT13, XOR and encryption are not matched; the
bytes_sentbudget bounds them. - Channels outside the proxy. Shell commands, raw sockets and a client's own built-in tools do not pass through a protected MCP server and are not seen. In CI, turn off shell tools such as Bash.
- Someone else's edit during a put-back. If a REST or FHIR record changes while a put-back runs (409 or 412), the put-back leaves that change alone, keeps the intent open and pauses the scope until a person looks.
Step by step
- Get the source at this release.
git clone --branch v1.22.1 https://github.com/crimsondevil0929/fiduciary - Install it.
pip install -e . - Record the numbers on your machine.
python scripts/record_benchmarks.py - Build the site from them.
python scripts/build_site.py site
Questions
Do these numbers include model or network time?
No. The timings are local and in process. The workflow results replay recorded model sessions, so no model is called and nothing is spent.
How do I check them?
Run scripts/record_benchmarks.py on your own machine, check SHA256SUMS beside the built site, and verify the bundles offline with fiduciary verify-bundle.