Quantum Threat Model (Per-Relation Security Bounds, Bootstrap & Peer L1 Survey)
60-Second TL;DR (
ZNN-SPEC-PHASE1-v4): Cryptographically Relevant Quantum Computers (CRQCs) running Shor's algorithm (O((log N)^3)) break every elliptic-curve and bilinear-pairing primitive in polynomial time:Ed25519account/Momentum signatures,secp256k1BridgeContract/SwapContract&[k]GPTLCs,X25519Noise handshakes,BLS12-381threshold coins, andBN254Groth16 SNARKs. ReconcilingZDC-ZP1-HR-001,ZDC-QS-DEEZ-HR-001, and the Round-4 Independent Cryptographic Audit (R4-01..R4-09), Zenon Phase 1v4specifies exact per-relation classical, ideal unbounded Grover, Zalka quadratic-per-processorMAXDEPTH = 2^64bounds (R4-06),CMS19QROM2^-128(2^-256classical RBR) Fiat-Shamir bounds (R4-04), pure-SHA3-256HashRand-PQcoin bounds (R4-05), and height-bounded post-CRQC bootstrap rules (R4-09).
1. Per-Relation Cryptographic Surface & Security-Level Audit (H05, B05, B06, R4-04..R4-06)
Preimage search, collision search, 152-bit truncated address hashes, PoKoS seed commitments, Shamir secret shares, and multi-round Fiat-Shamir QROM reductions obey distinct query and circuit-depth laws:
| Subsystem | Phase 0 / Naive Primitive | Phase 1 (v4) Target Primitive | Classical Bits | Ideal Unbounded Quantum Queries | Depth-Limited (NIST MAXDEPTH = 2^64, Zalka [E6]) & QROM Notes |
|---|---|---|---|---|---|
Block, smt-v1 (0x00/0x01) & 2D AVID Preimage | FIPS-202 SHA3-256 | FIPS-202 SHA3-256 (domain-separated R4-07) | 256 | 2^128 (Grover) | At circuit depth 2^d, K = 2^(64-d) iters/run requires M = 2^(128+2d) parallel runs (W = 2^(192+d) oracle calls). |
| Merkle / Transcript Collision | FIPS-202 SHA3-256 | FIPS-202 SHA3-256 (pure-hash) | 128 (Birthday) | ~2^85.3 (BHT) / ~2^102 (CNS) | Matches NIST Category 1–2 hash-collision standard (M10). |
Unregistered 20B Address (UNEXPOSED) | 0x00 || SHA3-256(pk)[0..19] | 0x02 || SHA3-256("zenon-pq-addr:v1" || alg || pk)[0..19] | 152 preimage | 2^76 single / 2^((152-u)/2) multi-target | Zalka (R4-06): With D_circ ≈ 2^12 (K = 2^52 iters/run covering K^2 = 2^104 states), requires M = 2^152 / K^2 = 2^48 parallel runs and W = M*K = 2^100 oracle calls (> 2^112 gates)! Cold vaults lock full 256-bit binding pre-spend via AuthRegistry.PrecommitKey (B05). |
| Registered / Precommitted Account | 32B Ed25519 (0 PQ) | AccountStore[0x09] / AuthRegistry 32B SHA3-256(pk) + boundDigest32 (R4-01) | 256 | 2^128 (Grover) + NIST Cat. 1–2 | Full public key & algID bound in every signature (R4-01); 0x81 forbidden on unregistered 0x00 Path C! |
Ed25519-PoKoS (EXPOSED 0x00 History) | None | WHIR-SHA3-v1 binding full 32B pubKey_A (B06, R4-02) | ~252 | ~2^126 (Grover over RFC 8032 seeds) | O(1) authenticated exposure resolver (AuthRegistry[0x03] + [0x0a] + GenesisReceive-aware ByHeight(1..2)) eliminates 152-bit bypass (R4-02)! |
Ed25519-PoKoS (UNEXPOSED 0x00 History) | None | WHIR-SHA3-v1 binding 19B targetAddress | 152 | 2^76 ideal / W ≈ 2^98 calls (MAXDEPTH=2^64) | Information-theoretically capped at 152 bits since only addr20 is on-chain; UNKNOWN (missing history) fails closed (R4-02). |
WHIR-SHA3-v1 Fiat-Shamir STARK (0x10) | BN254 Groth16 (0 PQ) | Pure-SHA3-256 WHIR (>= 256b classical RBR: 224b query + 32b grind, 256b ext. field R4-04) | 256 RBR | ~2^128 QROM (CMS19 state-restoration) | Accounts explicitly for Grover's square-root halving of both IOP query soundness and transcript grinding (32b grind -> 16b quantum R4-04)! |
Async Common Coin (HashRand-PQ) | BLS12-381 (0 PQ) | Pure-SHA3-256 HashRand-PQ (M_coin = 256, GF(2^256) salt-free 32B shares R4-05) | 256 unconditional | 2^128 (Grover leaf hiding) + 0 lattice | Unconditional Shamir secrecy before r_4 + 2^-512 QROM masked polynomial degree check; 0.86–1.29 Mbps AVID deal (R4-05). |
HTLC Preimage (HtlcContract / Channels) | SHA-256 (32B) | SHA-256 / SHA3-256 (mandatory 256-bit CSPRNG secret) | 256 | 2^128 (Grover) | Wallets MUST forbid low-entropy user-chosen secrets (M10). |
| P2P Transport & Peer Auth | Noise_XX_25519 / RLPx | X25519MLKEM768 (crypto/tls) + /znn/tls-pq/1.0.0 ML-DSA-44 host ID | ~192 KEM / ~128 Auth | Cat. 3 KEM + Cat. 2 Sig | Disables classical libp2p-noise at Spork #14; consensus NEVER trusts peer.ID (M08). |
2. Five Quantum Attack Vectors & Exact Scope Boundaries (H06, B11, B12, R4-01..R4-09)
- Long-Exposure Shor Theft on Revealed Keys (
EXPOSEDvs.UNEXPOSED—H06, R4-02):0x00accounts with authenticated exposed-key history (AccountBlockreveal,Momentumproducer header, orPTLCEd25519unlock) MUST rotate viaAuthRegistry.RotateKeyprior to CRQC arrival (or rely onSpork #14disabling0x00prior to CRQC, after whichpubKey_A-boundRescueWithPoKoSprovides~2^126Grover securityB06).
- Post-CRQC Long-Range Genesis History Forgery (
B11+R4-09Fix):- Because Phase 0 (
2021) through Phase 1A Momentums were signed by classicalEd25519Pillar keys, a future CRQC could invert 2021 Pillar keys, forge an alternate pre-PQ chain from Genesis (Height = 1) with attacker-controlledFN-DSA-512committees, and even broadcast a fresh post-CRQC BitcoinOP_RETURN. - Normative
v4Fix (R4-09): AtSpork #14(LegacyCryptoSunsetSpork, activated pre-CRQC), Zenon sealsSunsetAnchorCheckpoint = (Height_sunset, MomentumHash_sunset, StateRoot_sunset, CommitteeHash_sunset, BitcoinAnchorHeight <= MaxPreCRQCBitcoinHeight, BitcoinBlockHash)into releasecommon/params.go(social/release weak-subjectivity anchor for prunedgo-zenon-v1nodes) and anchors the99-byteZNN_CKPT_P1preimage on Bitcoin atBitcoinAnchorHeight <= MaxPreCRQCBitcoinHeight. Requiring the Bitcoin anchor block to precedeMaxPreCRQCBitcoinHeightprevents post-CRQC BitcoinOP_RETURNspoofing (Gate ZP-Q25).
- Because Phase 0 (
- Embedded-Contract Classical Backdoors &
targetMABypass (B12+R4-03Fix):- Phase 1E (
Spork #14) haltsBridgeContract.Redeem,SwapContract.RetrieveAssets,Pillar.RegisterLegacy, andPtlcContract{0, 1, 2}unlocks strictly atInclusionMomentumHeight(H_inc) on bothUserSend(ApplySend) andContractReceive(GenerateEmbeddedReceive, overridinggo-zenon-v1'stargetMAsporkHeightrewindR4-03!).
- Phase 1E (
- Proof-System QROM Soundness Collapse (
PQ-03+R4-04Fix):- Closed via pure-
SHA3-256WHIR-SHA3-v1parameterized at>= 256-bitclassical round-by-round soundness (224-bitquery +32-bitgrinding +256-bitextension field ->~2^-128QROM soundness underCMS19,0BN254pairings,0Poseidon2).
- Closed via pure-
- Separable Hybrid Stripping & Peer MITM (
R4-01, M08):- Every
v2/v3signature signsboundDigest32committing to[algID] || SHA3-256(resolvedPubKeyWire)(blocking0x81 <-> 0x00stripping/splicingR4-01), while/znn/tls-pq/1.0.0closes active peer MITM (M08).
- Every
3. Peer L1 Survey (2025–2026)
Plain-English Visual Guide: For a human-friendly breakdown of why Zenon selected each NIST standard and how it stacks up against Algorand, QRL/Zond, Sui, Aptos, Solana, Ethereum, and Bitcoin, see Quantum Algos & L1 Comparison (Visual).
| Ecosystem | Live Primitives vs. Announced / Contingent Roadmaps | Normative Lesson for Zenon Phase 1 (v4) |
|---|---|---|
Bitcoin (BIP-360 P2MR, OP_CAT) | Contingent unactivated BIPs [E4]; BitVM2 [E3] uses P2TR + BN254 today. | Classify FROST & BitVM2 as pre-CRQC transitional vaults; keep BIP-360/OP_CAT covenants contingent (H11). |
Solana (2026–2027 PQ Roadmap & Anza PoKoS) | Transaction v1 (4,096 B) + ed25519-pokos Plonky3 STARK prototype (~400 KB uncompressed). | Apply outer WHIR-SHA3-v1 rate-decay recursion (57–86 KiB at true 2^-128 QROM R4-04) and gate mainnet on physical ZP-Q20 runs (B07, M11). |
| Algorand, Sui & Aptos | Integer-NTT Falcon verify and decoupled Address / AuthenticationKey registries. | AuthRegistryContract (#14) decouples 20B types.Address from active PQ keys under H_inc + 1 semantics (B05, R4-03). |