CAIN-42 CAIN Studio
25CAIN-42 Top 25 › Signed decision receipts › Live attack lab

Attack lab

Every CODEGUARD decision comes with an Ed25519-signed receipt. Get one, then try to forge it.

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
controlGenuine receipt verifiesPOST /codeguard-keystone/check → POST /codeguard-keystone/verify-receiptA real receipt from the live gate checks out.
attackReceipt with decision flipped to ALLOW on a DENYPOST /codeguard-keystone/check → POST /codeguard-keystone/verify-receiptThe signature covers the decision.
attackReceipt for a different commandPOST /codeguard-keystone/check → POST /codeguard-keystone/verify-receiptA receipt is bound to the exact action it decided.
attackReceipt with the signature removedPOST /codeguard-keystone/check → POST /codeguard-keystone/verify-receiptNo signature is not a pass.
attackReceipt that is not a receiptPOST /codeguard-keystone/verify-receiptUnknown structure is refused.

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.