QoreGauntlet

Threat model

The Q-Day attacker holds the victim account’s classical secp256k1 private key — simulating both quantum derivation of that key and ordinary key theft; the defences are identical. The attacker can act inside any EVM authorisation window the victim has legitimately opened, call any public function on the target, and relay any captured signature or calldata at any time.

The attacker does not hold the ML-DSA-87 private key, any guardian key, or any key the victim never exposed. The chain’s hybrid-signing enforcement on the Native lane and ML-DSA-87 itself are assumed sound — and the Native lane is exercised as a control (A10) rather than merely assumed.

Why test the contract?

QoreChain admits an EVM transaction only from an account with a registered ML-DSA-87 key and an open authorisation window. Inside that window, however, the transaction is signed with the classical key alone. A contract that authorises by msg.sender is therefore exactly as strong as its classical key, whatever the chain underneath guarantees. QoreGauntlet measures that gap, per function.

Terms, in plain language

Q-Day
The day a quantum computer can derive a classical private key (secp256k1) from its public key. QoreGauntlet simulates that day today by simply handing the attacker the classical key — ordinary key theft reaches the same place.
diana
QoreChain’s public testnet (EVM chain ID 9800). Campaigns marked testnet only exercise chain behaviour that exists only there — they cannot run against a local chain. Testnet funds are worth nothing.
PQ / ML-DSA-87
Post-quantum: cryptography a quantum computer cannot break the same way. ML-DSA-87 is the standardised signature scheme QoreChain accounts register alongside their classical key; a “PQ signature” is a signature made with that key.
EVM authorisation window
A scoped, time-limited permission an account opens so its EVM transactions are admitted. Inside an open window, transactions are signed with the classical key alone — which is exactly the exposure QoreGauntlet measures.
Drill account
The fresh testnet account whose classical key is deliberately handed to the attacker engine for a campaign — the same model as the official Q-Day Drill. It never holds mainnet funds.
Attestation
The on-chain record of a campaign: the report’s hash is written to the Verdict Registry and signed with the operator’s ML-DSA-87 key, so anyone can check that the report shown here is the report that was recorded.

Attack catalogue

12 attacks in fixed order

The manifest records the target, start block, catalogue version, and drill account. The static scan identifies potential weaknesses; runtime outcomes show what happened, and attestation binds the recorded report to the registry.

SUCCEEDED
The attack met its success criterion.
REFUSED
The attack was blocked.
NOT APPLICABLE
The scenario does not apply to this run.
IDAttackSeverity
A1Direct privileged callCall each privileged function (withdraw and friends) with attacker-chosen parameters, using only the compromised classical key.Success test: Value moved to the attacker, or privileged state changed.Critical
A2Owner/role takeoverRotate owner, guardian or admin role to the attacker where rotation is classical-only.Success test: Role reads back as the attacker's address.Critical
A3Upgrade hijackPoint a proxy implementation at an attacker contract, then drain through it.Success test: Implementation address changed by the attacker.Critical
A4Mint inflationMint unbacked tokens to the attacker where minting is classical-only.Success test: Attacker token balance increased by the mint.High
A5Approval drainUse standing approvals or permit artefacts the target honours to pull funds without any PQ signature.Success test: Funds moved via allowance without a PQ signature.High
A6Signature replayCapture a legitimate PQ-signed operation and replay it: same contract again, and after any deadline the digest fails to bind.Success test: Any replay accepted and paid.Critical
A7Stale-key acceptanceAfter the controller rotates its PQ key in the registry, present a signature from the previous key.Success test: Old-key signature still accepted.High
A8Fail-open probeCall the authorisation path where the verifier returns empty data (precompiles inactive / verifier address dead) and observe whether the call proceeds.Success test: Call proceeds without a valid PQ verification.Critical
A9Window abusetestnet onlyFrom the compromised account, use an already-open, unscoped or over-broad EVM authorisation window to reach the target and third-party contracts.Success test: An in-window transaction the window's scope should have excluded.High
A10Native-lane control testtestnet onlyAttempt a classical-only Native transfer from the drill account. Expected: chain refusal. This is the campaign control — it separates chain-level protection from application-level exposure.Success test: Transfer accepted (which would itself be a critical chain finding). Refusal is the expected, healthy result.Low
A11Pause/freeze griefingUse classical-only pause/freeze/unfreeze to lock or unlock the contract.Success test: Availability state changed by the attacker.Medium
A12Cross-lane reachtestnet onlyAttempt to move value between the EVM target and the Native lane (convert-coin paths) under classical-only control.Success test: Any cross-lane movement without a hybrid signature.High

Scoring

The campaign grade is set by one ratio: the share of the target’s value at risk that the attacks actually moved under classical-only control. It is always explained by two numbers: value at risk and value actually moved. Both amounts are shown in the campaign verdict and on the leaderboard.

ANo value moved
BUp to 5% of value at risk moved
CUp to 25% moved
DUp to 50% moved
FAnything above 50% moved

Limitations, stated plainly

Attacks A9, A10 and A12 exercise QoreChain-native features — EVM authorisation windows, Native-lane hybrid enforcement, cross-lane conversion. On a local EVM they do not exist, so local campaigns report them NOT_APPLICABLE with the reason shown. They are never simulated and never silently dropped.

Local campaigns use a mock PQC registry: they validate authorisation logic and value flow, not ML-DSA cryptography. Real ML-DSA verification happens only through the production precompile adapter on qorechain-diana. New diana campaigns started from this site run against the deployed contracts on qorechain-diana, funded by the project’s operator account, and their verdicts are recorded and attested on-chain exactly like the headline campaign; a daily cap on diana campaigns protects the operator account, and the runner says so plainly when the cap is reached.

Running against your own contract: registration records your contract and its signed authorisation, but a campaign attacks through the gauntlet target interface, so your contract must be deployed as a gauntlet target through the project pipeline before a campaign can run against it. Until then a started run is recorded as failed with that reason — never simulated.

QoreGauntlet tests the post-quantum threat model only. It is not a general audit: reentrancy, economic exploits and oracle manipulation are out of scope, and a grade A here is not a claim that a contract is safe in every other respect.