Skip to content
Bedrock

Live challenge · diana testnet

Every daily key is public. Bedrock’s vault still holds.

Three vaults on QoreChain’s diana testnet each started with 0.3 QOR. Every ML-DSA-87 secret key that controls them is published in challenge/keys.json, which simulates a failure of the whole family. Only vault C’s LMS recovery key is secret.

Vault C

Bedrock: ML-DSA + LMS recovery

ML-DSA key published, LMS key secret

—/ 0.3 QOR

reading…

0.05 QOR went out under its single-family cap. Then its LMS root retired the published key, and the rest is held.

0x398035f189…d3d925bb on the explorer

reading diana…

The claim under test

With every ML-DSA key public, nobody can take more than the 0.05 QOR budget C has already paid out, and nobody could stop C’s recovery root from retiring the published key.

What happened · our own first attempt

Two vaults emptied. One held.

We made the first attempt ourselves on 2026-12-01, with the published keys and a separate attacker account. This is recorded history, not the live state above.

Verified on chain

  1. 1 · 11:08:00 UTC

    Normal operation

    All three vaults hold 0.3 QOR in Normal mode, and every ML-DSA key is public.

  2. 2 · 11:08:24 UTC

    Compromise

    With the published keys, A and B are emptied in two transactions.

    0x8257272c…0x14e8e4f3…

  3. 3 · 11:08:45 UTC

    Exposure protection

    The same attempt on C is refused. Only its single-family budget, 0.05 QOR, goes through.

    0x017d0dc2…

  4. 4 · 11:09:19 UTC

    Independent recovery

    C's offline LMS root retires the published key. An unrelated account delivers it.

    0xd155bff3…

  5. 5 · 11:09:28 UTC

    Continued operation

    The published key is refused before verification. C holds 0.25 QOR in Recovery mode.

Every event, with blocks, gas and refusal reasons9 events
  1. 11:08:00 UTCblock 11,084,044

    stateA 0.3 QORB 0.3 QOR · Normal · epoch 0C 0.3 QOR · Normal · epoch 0
  2. 11:08:24 UTCblock 11,084,060

    takenA: take all 0.3 QOR with the published key

    0x8257272c… 268,549 gas

  3. 11:08:36 UTCblock 11,084,068

    takenB: take the whole treasury 0.3 QOR with both published ML-DSA keys

    0x14e8e4f3… 523,291 gas

  4. 11:08:45 UTCblock 11,084,075

    refusedC: take the whole treasury with the published ML-DSA key

    ExposureExceededrefused when simulated, so no transaction was sent

  5. 11:08:48 UTCblock 11,084,077

    within budgetC: take the single-family budget 0.05 QOR

    0x017d0dc2… 341,391 gas

  6. 11:08:58 UTCblock 11,084,084

    stateA 0 QORB 0 QOR · Normal · epoch 0C 0.25 QOR · Normal · epoch 0
  7. 11:09:19 UTCblock 11,084,099

    LMS responseC: recovery root retires the published ML-DSA keys

    0xd155bff3… 340,756 gasrelayed by an unrelated account

  8. 11:09:28 UTCblock 11,084,105

    refusedC: take the whole treasury with the published ML-DSA key

    PrimaryUnavailablerefused when simulated, so no transaction was sent

  9. 11:09:31 UTCblock 11,084,107

    stateA 0 QORB 0 QOR · Normal · epoch 0C 0.25 QOR · Recovery · epoch 1

Every event is in challenge-live.json. An earlier set of challenge vaults, built before the QCAI Stage 1 fix and with different keys, behaved the same way: run-1.

Try it from this page

Ask vault C to pay 1 wei on the authority of its published ML-DSA key. This is an eth_call: diana simulates the call against its latest state and nothing is signed or sent.

payout(0x…dEaD, 1, {primaryKey: C_primary.publicKey})

Take the challenge

Anything you can build with the published keys counts.

You need a diana account with a registered ML-DSA-87 key and an EVM window (QoreChain’s build-before-qday workshop 2 shows how). The script is a convenience.

$ cd tools && pnpm install
$ export CHALLENGER_PRIVATE_KEY=0x...your own testnet account
$ pnpm challenge status
$ pnpm challenge attempt C 0xYourAddress

What counts as a counterexample

Any one of these on vault C: its treasury (0.25 QOR, not counting anyone’s own deposit) shrinks without a signature from its LMS recovery key; it accepts any authorization signed with its published ML-DSA key; or its mode, epoch or keys change without its LMS key.

For a challenge result, open an issue with the transaction hashes. For a defect in Bedrock’s code that could affect other deployments, report it privately first through the repository’s Security tab. Issues in QoreChain itself belong with QoreChain, under its own disclosure policy.

Scope and ground rules
  • In scope. The three vaults and their published keys, on diana only. Anything you can build with those keys counts.
  • Out of scope. Every other contract, account and key, QoreChain's own infrastructure (RPC, validators, faucet, explorer), and anything that degrades service for others. Never reuse these keys.
  • Test funds. The vaults hold test QOR from the public faucet, with no monetary value.
  • Simulation, not cryptanalysis. Publishing the keys simulates a failure of the whole ML-DSA family. No claim is made that ML-DSA has been broken.
The three contracts and C’s policy
VaultAddressDeploymentGas
A single ML-DSA key0x1baaf2…43340xb46e4456…503,166
B ML-DSA primary + ML-DSA guardian0xae9fa4…cfc80xdf8d5360…4,233,314
C Bedrock: ML-DSA + LMS0x398035…25bb0x0b35c4fc…4,598,949

C’s policy: 0.05 QOR per 24-hour window for either root alone, 0.1 QOR between dual checkpoints. deployments/diana/challenge.json