( Attack drill · QoreChain Diana )

A full classical compromise, refused on chain.

Two of three multisig keys are in the attacker’s hands. They propose an implementation that drains the vault, then try every path around the guardian. Each row below is a real Diana transaction.

5

Attack transactions sent. Every one reverted with the expected error.

10,000

jUSD in the vault before and after the drill. Demo token, testnet only.

0

Changes to the implementation, the nonce or the balance during the drill.

1

Guardian veto, signed offline with ML-DSA-87 and verified by pqcVerify.

( Live challenge · fresh proposal on the current proxy )UNREVIEWED

( Fresh attack, not a replay )

A new drain proposal is live. Try to get it past the gate.

The compromised 2-of-3 multisig proposed this against the current V2 proxy. Every check on the right is a read-only eth_call against Diana. No wallet, no transaction, no keys.

opId 0x703af8e5…7b13bce2 · block 11156870 · proposal tx

Reading the live proxy from Diana...

The gate checks the guardian approval before the delay. It has none.

A fresh foreign ML-DSA-87 key signs the exact digest and tries to approve.

An EOA calls the proxy upgrade function, bypassing the gate.

Read-only simulations. The state is checked at the current Diana block. This is a real proposal, not a mock.
( Drill replay · recorded Diana transactions )READY

( replay )

The compromised multisig tries to ship the drain.

Seven recorded transactions. Real revert reasons, real hashes. This is a replay, not a new on-chain run.

JANUS WATCH · DRILL LOG
  1. OKcompromised multisig proposes drain upgradeUpgradeProposed
  2. REVERTclassical-only executeNotApproved
  3. REVERTforeign guardian key approveInvalidSignature
  4. REVERTguardian signature over an altered intentInvalidSignature
  5. REVERTdirect proxy upgradeNotAdmin
  6. OKguardian vetoUpgradeVetoed
  7. REVERTexecute after vetoOpNotPending
state0x770D92…1447bbnonce 010,000 jUSDunchanged

Reading the live proxy from Diana...

The attempts

AttemptExpectedObservedTransaction
Compromised multisig proposes drain upgradeproposal accepted, no approvalUpgradeProposed0x43cf1ada…6caf8fec
Classical-only executeNotApprovedNotApproved0x6337b838…acde5b94
Foreign guardian key approveInvalidSignatureInvalidSignature0x2a077acc…e87b274b
Guardian signature over an altered intentInvalidSignatureInvalidSignature0x136bace0…b5040dba
Direct proxy upgradeNotAdminNotAdmin0x6ffdaaf6…25de12db
Guardian vetoUpgradeVetoedUpgradeVetoed0x7ec54316…0e092880
Execute after vetoOpNotPendingOpNotPending0x6573f0a5…add11a33

Drain opId 0x329407bf…98ba6d2a. The multisig is a 2-of-3 stand-in for a Safe, labelled as such. Raw output: diana-attacks.json. The same operation is indexed in Janus Watch.

( The legitimate upgrade )

The same gate lets the real change through, after review, delay and a guardian signature.

The review receipt 0xa8bc87b4…bc7a26ba binds commit ec0aec3 and the QCAI Stage 2 report. It’s recorded in the execution event.

StepResultTransaction
Multisig owner A submits proposesuccess0xebb6e783…bc6e5b83
Multisig owner B approvessuccess0x81fe8a20…b0c126b0
Multisig executes, gate emits UpgradeProposedsuccess0xd32823d0…ec0c76a9
Janus Lens rebuilds intent from chain, checks artifact and review receiptno blockers, see lens-legit-upgrade.txtread-only, no tx
Guardian signs exported intent offline, relayer submits approvesuccess0x60f19462…bd409b61
Execute before the 120 s delayDelayNotElapsed0x05ab0ed2…cf9428d6
Execute after the delay, gate emits UpgradeExecuted with reviewHashsuccess0xd7488928…20cfac28

Reading the proxy from Diana…

Contracts on Diana, chain ID 9800

JanusGate0x1cEc24a6F662f67dF8c1D762Bb8311343CD447c3
JanusProxy0x4EDd5b27B8E09633bE06AA096C3bFF7a2efc082A
JanusDemoMultisig (2-of-3 stand-in)0x1B9D71705eb75e55a4087E4a0Ff93e086300DC59
LendingVaultV10x770D9237C83Cfc19ee8aC3559E51c978721447bb
LendingVaultV2 (legitimate)0x76976e32eAbe6F27CdbC9D370E50b9343B6c9621
LendingVaultV2Drain (attack)0x879Ae0980Afa9DFECb19B246B6683CAC4a3DC839

Deployed from commit ec0aec3, the source audited in QCAI Stage 2. The PQ precompiles are active on Diana testnet only, not mainnet.