Skip to main content

On Wednesday the NSA told the owners of America’s national security systems to speed up their move to post-quantum cryptography, and to do it now. The reason it gave was new: “frontier SI companies” had privately shown the government discoveries that affect some cryptography in use today. The advice that went with it was old and dull, which is a compliment. Step 1: inventory your cryptographic dependencies. Step 2: assess risk. Step 3: triage and implement. The crypto coverage went straight to Bitcoin wallets, as it always does. I did Step 1 for something smaller: a single Chainlink VRF draw on Base. The list has six lines. Most of them are familiar. One is a line this blog has told you more than once not to worry about, and on one specific axis we were wrong to say so.

TL;DR

  • On 2 December 2026 the NSA advised an “immediate” acceleration to post-quantum cryptography, citing undisclosed discoveries by AI companies; a joint NSA, CISA and ONCD statement said these do not pose an “immediate and widespread threat”.
  • Chainlink VRF on Base proves every draw with a key on secp256k1, the same elliptic curve that Bitcoin and Ethereum wallets use. Shor’s algorithm breaks it.
  • The public key cannot be hidden, because every fulfilment has to carry it so the contract can check the proof. 19 of the 20 fulfilments in a 1,000-second sample this morning carried the same one.
  • A quantum attacker gains the ability to predict draws, not to change them. Uniqueness survives. Unpredictability does not, and the block hash that today protects you becomes something the block producer can grind.
  • Step 3 has nothing to implement yet. NIST’s finished post-quantum standards and the NSA’s CNSA 2.0 suite cover key exchange and signatures. Neither includes a VRF.

What the NSA actually said

There were two documents. The NSA advisory tells national security system owners to implement CNSA 2.0, “identify quantum-vulnerable cryptographic dependencies and establish modernization plans”. It singles out firmware signatures and hardware roots of trust, because their algorithms “may be difficult to update throughout a device’s operational lifetime”. The joint statement from the NSA, CISA and the Office of the National Cyber Director is calmer. It says AI models have solved “previously unsolved” mathematical problems with “real implications” for cryptography, but that, in its current assessment, these do not threaten that cryptography immediately or widely.

Neither document names the companies or says which systems are affected. (A day earlier Anthropic had published research on a theoretical weakness in two post-quantum standards; the UK’s National Cyber Security Centre says those remain safe in practice, and the NSA did not link the two.) Nobody outside a few rooms knows what was disclosed. What everyone can see is the instruction, and the instruction is an inventory.

Step 1, done for one draw

Here is every cryptographic dependency between “you bought a ticket” and “the contract paid the winner”, for a game using the Chainlink VRF 2.5 coordinator on Base (0xd5D517aBE5cF79B7e95eC98dB0f0277788aFF634). I read the verified source rather than the docs.

Line What it does Primitive Quantum effect
1. Your wallet Signs your entry, receives your payout ECDSA on secp256k1 Shor: broken once the public key is visible
2. The proving key Produces and proves the random word ECVRF on secp256k1 Shor: secret key recoverable; outputs become predictable
3. Seeds and commitments Request ID, pre-seed, commitment, word expansion keccak256 Grover only: roughly halves the security level, still out of reach
4. The request block hash Mixed into the seed last keccak256 over a block the sequencer builds Not broken. But see below: it changes sides
5. The coordinator’s owner Registers keys, sets fees, cancels subscriptions Safe 4-of-12, ECDSA signers Shor: 8 of the 12 owners have sent transactions on Base, so their public keys are on chain
6. The game’s owner Can repoint the game at a different coordinator ECDSA owner key Shor: whoever controls it can deliver chosen “random” words

Lines 1, 5 and 6 are the standard quantum story: elliptic-curve signatures fall, so whoever holds a quantum computer can act as any key whose public half they have seen. We covered the wallet side in September, the coordinator’s Safe in November, and the repointable game contracts in October. They are serious, and they are the same risk every other contract on Base carries. Line 3 is fine. Line 2 is the one nobody counted, and line 4 only makes sense once line 2 is understood.

Two properties, one curve

The comment block in Chainlink’s own VRF.sol lists the guarantees. Two matter here. “Full uniqueness”: for a given seed and public key there is exactly one output that will pass verification. “Full pseudorandomness”: without the proof, the output cannot be told apart from randomness. Both rest on the curve, but not in the same way.

Uniqueness is the property this blog keeps quoting. When we wrote in September that “a VRF word has exactly one valid value given key and seed, so no speedup anywhere creates a second one”, that was correct, and it still is. The output is fixed by the secret key and the seed, and the proof check ties it to the public key. Knowing the secret key does not let you make a second valid output. The word is still the word.

Pseudorandomness is the other half. It means nobody can compute the word before the oracle publishes it. That holds only while the secret key is secret, and the secret key is a discrete logarithm on secp256k1. Shor’s algorithm computes discrete logarithms. A machine that can recover a Bitcoin private key from a public key can recover a VRF proving key from its public key, in exactly the same way, because it is the same problem on the same curve.

So when we wrote in October that “the oracle’s secret key makes the output unforgeable, so nobody is guessing your result”, the sentence packed two properties together. “Unforgeable” is uniqueness, and it survives. “Nobody is guessing” is pseudorandomness, and it does not. And in May the headline “On-Chain Gaming Was Never Exposed” was right about the past and wrong about the future. Settled draws cannot be changed. Future draws can be read early.

A public key that has to be public

Bitcoin’s quantum debate is about exposure. The NSA’s “harvest now, decrypt later” warning is about stored ciphertext. The crypto version is the stored public key. Glassnode estimated in May that about 30.2% of circulating bitcoin sits in outputs whose public keys are already visible on chain. The rest are protected, for now, by a hash: the public key is not revealed until the coins move.

A VRF proving key gets no such shelter. The coordinator registers it by hash, but the proof has to be checked against the full public key, so every fulfilment brings it along. I decoded one this morning. The transaction that fulfilled a request at 08:26:38 UTC carries a 64-byte point whose keccak256 is 0x00b81b5a…73ccab, the first of the two proving keys registered on the coordinator. The point sits on secp256k1. Of the 20 fulfilments in a 1,000-second window this morning ending at block 65,482,005, 19 carried that same key and one carried the other. For a Bitcoin address, exposure is a choice that some holders avoid. For a VRF key it is how the system works. The key is never hidden, not even once.

That is not a mistake by Chainlink: a verifier needs a public key. It does mean that on the day secp256k1 falls, every proving key falls with it, with nothing to steal and no careless transaction to wait for.

The second input changes sides

Here is the coordinator code that builds the seed, quoted from the deployed source:

uint256 actualSeed = uint256(keccak256(abi.encodePacked(proof.seed, blockHash)));

blockHash is the hash of the block your request landed in. In Who Moves Last Decides we described mixing in a second input as insurance against the VRF itself. It is worthless on a normal day. On the day the key leaks it is the only thing between the key holder and the result, because the key holder cannot see the block hash in advance.

That insurance pays out only if the person holding the key is not also the person choosing the block hash. On Base, a single sequencer builds every block. Today it cannot use the block hash, because it cannot evaluate the VRF. It could reorder or rebuild a block before publishing it and get a different seed, but it would be rolling blind, with no idea whether the new draw is better or worse. Chainlink’s consumer contract says so in its own security notes: a block producer “could, in principle, fork the blockchain to evict the block containing the request” and force a different input, but “such an attack would incur a substantial economic cost”.

Now add line 2. A block producer that can compute VRF outputs is no longer rolling blind. It can build a few versions of the block that contains your request, compute the draw for each, and publish the one it likes. This does not need a reorganisation and leaves no orphaned block. Confirmations do not help, because they guard against changes after a block is published. This choice happens before. The coordinator on Base asks for a minimum of zero confirmations (its minimumRequestConfirmations reads 0), and the request I decoded this morning was fulfilled three seconds after it landed. We looked at that field in October and concluded, fairly, that if Coinbase wanted to reorganise its own chain to flip your dice roll, confirmations were not what was stopping it. The post-quantum version is quieter: no reorganisation, no visible fork, just a block producer that knows which block to publish.

A VRF draw stays fair because the party who sets the input cannot read the output. That separation depends on one assumption about one curve.

Step 3 has nothing to implement

The NSA’s third step is “triage and implement”. For lines 1, 5 and 6 there is something to implement: NIST has finalised post-quantum signature standards, and smart accounts can verify them in contract code without a fork. For line 2 there is not. The finished NIST standards cover key encapsulation and digital signatures. CNSA 2.0 covers the same ground plus symmetric primitives. Neither contains a verifiable random function. Lattice-based VRF designs exist in the academic literature, but none is standardised, none is audited for production use, and none is deployed on any chain I know of.

Rotating the key does not help. registerProvingKey accepts a new point, but VRF.sol hard-codes secp256k1’s group order and field size, so the replacement is another secp256k1 key with the same weakness. A real fix is a new verifier, which means a new coordinator. A game moves to a new coordinator through setCoordinator, the same owner-controlled repoint we flagged in October as a fairness risk. In that sample, 35 of 59 Base game contracts carried it and only 2 could not be repointed at all. Seen through the NSA’s eyes, those 2 are the ones with no upgrade path, which is the same complaint the advisory makes about firmware burned into hardware. The repoint we called a weakness is also the only way out. Both are true at once, and the honest response is to make the switch slow and visible, not to remove it.

There is one fairness primitive left that survives Shor: plain hash-based commit-reveal, where each party commits to a secret hash and reveals it later. Grover only weakens hashes. It is also the thing VRF replaced, because commit-reveal lets the last party to reveal walk away when they do not like the result. The scheme that survives quantum computing has a known problem. The scheme that fixed that problem relies on a curve that quantum computing breaks.

Why this is our problem as well

Satoshie’s raffles and coinflips draw from Chainlink VRF, so everything above applies to us in full. We have said “never exposed” in a headline, and we would rather correct that here than wait for someone else to. The timeline is not tomorrow: the US Government Accountability Office reported in October that experts expect cryptographically relevant quantum computers as early as the 2030s. Nothing here is an incident. It is an inventory line that has been left blank.

If we expect other platforms to publish their failure modes, here is ours. Our draws are only as unpredictable as Chainlink’s proving key is secret. Our games can only move to a post-quantum verifier if one is built and we can point at it. Until then the honest description of our randomness is “provably unique, and computationally unpredictable on today’s hardware”. That is still far better than a server-side random number generator, which needs no new hardware to fail and fails without leaving a trace. It is just not the same as “unbreakable”, and we will stop rounding it up.

What I am not claiming

  • I am not claiming anyone can predict a Chainlink VRF draw today. Nobody has shown a quantum computer anywhere near the size Shor needs for a 256-bit curve.
  • I am not claiming the Base sequencer grinds block hashes. Without the key there is nothing to grind for, and I have no evidence of anything of the kind.
  • I am not claiming the undisclosed AI discoveries affect secp256k1. The statements do not say which systems are affected, and I am not guessing.
  • I am not claiming past draws are at risk. They are settled, and uniqueness means a recovered key cannot rewrite them.

Three questions for any provably fair platform

  1. Which of your fairness claims rely on uniqueness, and which rely on unpredictability? If you cannot split them, your users cannot either.
  2. Who can influence the input to your draw (block, timing, whether the request is sent) and what stops them today, other than not knowing the answer?
  3. If a post-quantum VRF shipped tomorrow, how would your contracts move to it, who would approve the move, and how much notice would players get?

The NSA asked for an inventory because you cannot fix what you have not listed. A VRF draw has six cryptographic lines, and the one that decides whether a draw can be seen early is the one printed on chain in every fulfilment. Counting it costs nothing. Leaving it out is how a headline ends up saying “never exposed”.

Data note: the NSA advisory and the joint NSA/CISA/ONCD statement were read first-hand on nsa.gov. The Glassnode (30.2%) and GAO (“as early as the 2030s”) figures and the NCSC position are as reported by Cointelegraph and Decrypt on 2 December 2026. Coordinator source is the Sourcify-verified VRFCoordinatorV2_5_Optimism at the address above. The proving-key count, the minimumRequestConfirmations value, the Safe’s owners and threshold, and each owner’s Base transaction count were read on chain on 3 December 2026. The sample is 20 RandomWordsFulfilled events across 5,000 blocks (1,000 seconds) ending at block 65,482,005, with the public key decoded from the forwarder calldata and hashed to confirm it matches the registered key hash. The 35-of-59 and 2-of-59 figures are from our October consumer census and have not been re-measured.

📷 Photo by Jaclyn Baxter on Unsplash

Valentina Ní Críonna

Author Valentina Ní Críonna

More posts by Valentina Ní Críonna