Q-Day & Bias Attack Lab
Execute 5 real adversarial attacks directly against deployed DocketDesk 0xcae1a5a1…eafc9c on QoreChain Diana and local ML-KEM-1024 QoreSeal envelopes. Every attack must fail cleanly with a named error.
1. Compromised Classical ECDSA Key Forges Authority Call
Expected: BadPqcSignatureAn attacker recovers the Chair's classical secp256k1 key via Shor's algorithm and submits a forged 4,627-byte buffer to createRound() on live Diana DocketDesk.sol.
Enforcement boundary: Diana 0x…0a01 (pqcVerify staticcall)
2. Unregistered Classical Address Admitted as Juror
Expected: NoPqcKeyAttempts to admit 0x0000…dEaD (no registered ML-DSA-87 key or missing Proof-of-Possession) through live DocketDesk.requireProvenPqcKey() on Diana.
Enforcement boundary: Diana 0x…0a02 (4-tuple pqcKeyStatus)
3. Juror Inflates Committed Score by +1 Point at Reveal
Expected: RevealMismatchLoads Juror 1's real Round #2 ballot anchored on Diana, changes axis 1 from 91 to 92, and compares the recomputed commitment against live Diana getBallot().
Enforcement boundary: DocketDesk.sol keccak256 commitment
4. Premature or Out-of-Phase Ballot Reveal
Expected: PrematureReveal / WrongPhaseCalls live Diana DocketDesk.revealBallot() outside the active RevealOpen phase to attempt early score leakage and herding.
Enforcement boundary: DocketDesk.sol phase state machine
5. Cross-Round QoreSeal Envelope Replay (Tampered AAD)
Expected: DECRYPTION_FAILEDSeals a real hybrid ML-KEM-1024 + X25519 envelope bound to Round #2 AAD, then attempts to open it under Round #99 AAD in the browser.
Enforcement boundary: @qorechain/qoreseal AEAD + ML-KEM-1024