Skip to content
QORECHAIN
Register

Quantum Pass

Live Fire

What can a stolen key still do? A live Q-Day drill: an attacker with only the ordinary key tries five ways to steal.

Share on X

About

What can a stolen key still do? Live Fire is a Q-Day drill you can run yourself. Every QoreChain account has an ordinary key (secp256k1, the one quantum computers will break first) and can add a quantum-safe key (ML-DSA-87). Live Fire builds a real account on QoreChain testnet, set up one of four ways, hands an attacker ONLY the ordinary key, and lets it try five ways to steal. Each attempt is a real transaction; you watch the chain block or allow it, with the chain's own reason and error code. What the four lanes show (measured on diana, every drill re-measures it): - No quantum-safe key: the attacker adds ITS OWN quantum-safe key, drains the account, and the real owner is locked out. - Quantum-safe key added: all five attacks are refused. - Key added, but a wide EVM window left open: the ordinary key can still spend on the EVM side. - Key added, narrow EVM window: nothing gets through. The lesson: add your quantum-safe key before Q-Day, and keep EVM windows narrow. After a drill you sign a one-line report with your ML-DSA-87 key in QoreX, and the LiveFireRange contract verifies it on chain (pqcKeyStatus + pqcVerify) before recording it. Whatever the attacker does not take goes back to you. Live: https://live-fire-lime.vercel.app Code: https://github.com/Oluwatimothy/live-fire (MIT)

How it's made

Scaffolded with create-qorechain-dapp 0.14.0: web/ (fullstack-web, Vite + React + TypeScript) and contracts/ (foundry). Measured first: contracts/scripts/probe.ts plays owner and attacker on testnet in all four set-ups. Results (codespace pqc): ordinary-key send with no PQ key → code 8; with a key → code 20; re-register over a key → 234; owner after takeover → 21 (hybrid PQC signature verification failed); EVM transfer only inside an open window. In the browser: keys are generated on the page and never leave it. @qorechain/sdk EthNativeSigner signs classical or hybrid transactions (MsgSend, MsgRegisterPQCKeyV2 with proof of possession, MsgOpenEVMWindow with allowedTargets), broadcast through the REST API (Vercel rewrite, since REST has no CORS). EVM attacks are signed with viem and sent raw so the node's refusal text is shown. QoreX funds each drill (signAndBroadcast, two MsgSend, hybrid) and signs the report (signArbitrary, QoreSign message-signing-v1). LiveFireRange (0x0dDf61a579646C980072030A5056CFAB77b7BB70): rebuilds the report "live-fire/v1 lane … target … shots … hits … lost … height …", prefixes "qorechain-msg-v1|qorechain-diana|", reads the shooter's key with pqcKeyStatus (registered, ML-DSA-87, possession proven), verifies with pqcVerify, and reads the TARGET's key from the registry as independent evidence. One record per target, no owner. A throwaway witness relays it through an EVM window scoped to the range, one transaction. Tests: 24 Foundry (exact text, tampering, replay, other chain, key checks, inactive precompiles, fuzzing) + 17 vitest (the chain's real refusal messages, lanes, funding math). CI on GitHub. What was hard: QoreChain's explorer indexes EVM transactions by their native hash, so links resolve 0x hashes through ethereum_tx.ethereumTxHash first; reading how QoreX's signArbitrary builds its ML-DSA-87 signature so the contract verifies exactly that; keeping the language plain for non-experts. AI use is documented in AI_USAGE.md.

Timeline

Live FireQuantum Pass

Pushed 1 commit to main

  • c565ca9 AI_USAGE.md: full workflow, division of labour, verification, and where the agent was wrong · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • e555704 Tests: golden replay of the six drills recorded on diana, web and contract · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • 6afa57e Verify here: re-check any recorded drill's ML-DSA-87 signature in the browser · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • 67abe7a Add npm run verify: read-only re-verification of every recorded drill and the range totals, run in CI · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • 8a6f2c2 Tests: drill keys and funding, range stats and history, report line; contract keeps key hash and time · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • f5d70e2 Tests: QoreX connect and report signing, account reads, EVM refusals, lanes and funding waits · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • 1865598 Tests: misleading refusals, block-level failures, lane totals and events · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • e3086bc Tests: type the mocked fetch so the build's type check passes · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • eac9382 Tests: REST broadcaster and explorer-link resolution · Oluwatimothy
Live FireQuantum Pass

Pushed 3 commits to main

  • 8a8d74c README: demo video, project page and Built on QoreChain badge · Oluwatimothy
  • fbc7b8b README: live app link · Oluwatimothy
  • a4f6a9a Live Fire: a Q-Day drill you can run on QoreChain testnet · Oluwatimothy
Live FireQuantum Pass

Pushed 1 commit to main

  • 49e2832 README: CI status badge · Oluwatimothy
Live FireQuantum Pass

New project.

Comments and questions

  • No comments yet.