Skip to content
Bedrock

Incident drill · diana testnet · 2026-12-01 11:06 UTC

One LMS signature, and the contract carries on.

A copy of the owner’s ML-DSA key is given to an attacker. The attacker queues a malicious obligation and a delegation. An unrelated relayer then submits one LMS-signed incident. The malicious grants are void, the user’s withdrawal and the pre-incident obligation pay out, the surviving root pays without pqcVerify, and the retired root cannot undo any of it.

owner0x9ef8f5…acdf

Runs the vault day to day with the ML-DSA key. The LMS recovery key is held separately.

user0x63385b…c987

Deposits and asks for a withdrawal. Never signs anything that gives authority.

attacker0xb6c030…ec37

Holds a copy of the owner's ML-DSA key. A simulation: the key is handed over, nothing is broken.

relayer0xd8521d…40bf

An unrelated account. Delivers the LMS-signed incident and later actions; holds no authority.

12 transactions

What happened, in order.

checking 12 receipts on diana…

01

Normal operation

ML-DSA-87 through pqcVerify, within the daily budget; one obligation signed by both roots.

  • user deposits 0.2 QOR

    user0xf10e9f3b…block 11,083,90667,180 gas

  • user requests withdrawal of 0.05 QOR

    user0xebc0f783…block 11,083,910123,378 gas

  • owner funds treasury 0.5 QOR

    owner0x52b4a927…block 11,083,91422,491 gas

  • owner payout 0.02 QOR, ML-DSA-87 via pqcVerify

    owner0x85783d84…block 11,083,919341,595 gas

  • owner obligation 0.05 QOR to user, ML-DSA-87 + LMS (binding at once)

    owner0xb7f7dd09…block 11,083,924606,855 gas

02

A copy of the daily key

The attacker queues an obligation to itself and delegates an allowance. An over-budget payout is refused.

  • attacker queues obligation 0.1 QOR to itself

    attacker0xd1cf0004…block 11,083,929356,234 gas

  • attacker delegates 0.05 QOR allowance to itself

    attacker0xbcf8ff9d…block 11,083,933296,720 gas

03

One LMS signature

The relayer submits the incident. The epoch advances, the ML-DSA root is retired, the vault enters Recovery mode.

  • relayer submits LMS-signed incident (Recovery mode)

    relayer0x2977970d…block 11,083,938302,729 gas

04

Carrying on

The void grant's reserve is released, the LMS root pays without pqcVerify, and everything owed to the user pays out.

  • relayer releases the void obligation's reserve

    relayer0x133f86a4…block 11,083,94342,829 gas

  • relayer submits LMS-signed payout 0.1 QOR to the owner's safe address

    relayer0xc9872316…block 11,083,946314,246 gas

  • relayer completes the user's pending withdrawal

    relayer0x5dcb1bff…block 11,083,99843,173 gas

  • relayer settles the pre-incident obligation to the user

    relayer0xd05181f2…block 11,084,00049,764 gas

13/13 checks passed

Every check, read from the chain during the run.

Refusals were checked with simulated calls, so nothing was spent on them. Each check is recorded with what was expected and what diana returned.

CheckExpectedDiana returned
starts in Normal mode00
dual-signed obligation is bindingtruetrue
attacker obligation is pending, not bindingfalsefalse
over-budget payout refused (simulated call)ExposureExceededExposureExceeded
recovery-key replacement refused (simulated call)DualRequiredDualRequired
mode is Recovery11
epoch advanced11
attacker obligation is voidtruetrue
attacker delegation refused (simulated call)DelegationInvalidDelegationInvalid
pre-signed ML-DSA payout refused (simulated call)PrimaryUnavailablePrimaryUnavailable
retired ML-DSA root cannot reverse the incident (simulated call)PrimaryUnavailablePrimaryUnavailable
user balance untouched0.15 QOR0.15 QOR
user received withdrawal + obligation0.1 QOR0.1 QOR

The attacker role holds a copy of the owner's ML-DSA-87 key. No cryptanalysis is claimed or performed.docs/results/g3-live-drill.json

Still true today

The vault is still in Recovery mode.

Vault 0x0e1c07…8e8e, read live. Its mode and epoch have not moved since the incident; deposits move whenever anyone use it with QoreX. Run the drill yourself against a fresh deployment.

The drill vault today

reading diana…