CAIN-42 CAIN Studio
25CAIN-42 Top 25 › Black Box flight recorder › Attack lab

Attack lab

Each run records a real session, seals it under a Merkle root, then tries to rewrite history.

4 attacks 1 controls live: nothing pre-recorded

  1. Pick a preset. Red ones are attacks, green ones are honest requests that must still work.
  2. Tamper. Choose any field and drop it, null it, change its type, upper-case it, flip one character, or add a field the product never asked for.
  3. Send and read the real reply, or run every preset and watch the scoreboard fill.

What each preset tests

PresetRouteWhy it matters
controlRecord, seal, verifyPOST /recorder-keystone/recordings → POST /recorder-keystone/recordings/${0.id}/events → POST /recorder-keystone/recordings/${0.id}/seal → GET /recorder-keystone/recordings/${0.id}/verifyA sealed recording verifies.
attackEdit an event after sealingPOST /recorder-keystone/recordings → POST /recorder-keystone/recordings/${0.id}/events → POST /recorder-keystone/recordings/${0.id}/seal → GET /recorder-keystone/recordings/${0.id} → POST /recorder-keystone/verifyChanging one event changes its hash and the root.
attackDrop an event after sealingPOST /recorder-keystone/recordings → POST /recorder-keystone/recordings/${0.id}/events → POST /recorder-keystone/recordings/${0.id}/events → POST /recorder-keystone/recordings/${0.id}/seal → GET /recorder-keystone/recordings/${0.id} → POST /recorder-keystone/verifyTruncation is detected.
attackAdd an event after sealingPOST /recorder-keystone/recordings → POST /recorder-keystone/recordings/${0.id}/events → POST /recorder-keystone/recordings/${0.id}/seal → POST /recorder-keystone/recordings/${0.id}/eventsA sealed recording accepts nothing more.
attackInclusion proof against a made-up rootPOST /recorder-keystone/verify-inclusionA proof must lead to the root it claims.

Tamper with any field and send it again: a verifier must answer no, never crash or say yes. Public demo routes are rate limited per address; a 429 shows as rate limited. Our own lab; no independent test.

FIRME AI CORPORATION · CAIN-42 is a Byzantine trust fabric. Numbers marked "our own check" were run by us, not by an independent party. Nothing on these pages is a certification.