# Anthropic's lattice attack never touched RSA. Find the keys a quantum computer breaks first

> The RSA-2048 rumour was wrong and the lattice attack is galactic. A post-quantum migration starts with listing where your product uses RSA and elliptic curves.

URL: https://www.voirlabs.io/insights/quantum-panic-rsa-audit-public-key-crypto
Author: Asad Naeem, AI products & engineering, Voir Labs (https://www.voirlabs.io/team/asad)
Published: 2026-12-04
Tags: Security, Post-quantum, Web3

For two weeks the internet was told RSA-2048 had fallen. It hadn't. What Anthropic published on November 30 is a quantum attack on the lattice maths behind the new standards, at a cost the reviewing cryptographers call galactic, and nothing in it touches RSA. The useful part of the episode is the conclusion every serious reviewer reached: RSA and elliptic curves are the keys a quantum computer breaks first, and the industry is speeding up its post-quantum migration because of it. This article covers what was actually published, and how we would find the RSA and elliptic-curve keys inside an AI product in an afternoon, sorted by how urgent each one is.

## What was published, and what was rumoured

The rumour came first. BleepingComputer reports that social media users "claimed to have insider knowledge and began spreading rumors that Anthropic had cracked RSA-2048", amplified by Elon Musk "claiming to have heard from multiple people that RSA had been broken." Germany's BSI told Reuters it was reviewing "the unsubstantiated RSA claims", and one post quoted in the same report read: "Teams were scrambling over the weekend in case of a catastrophic cryptographic breakthrough."

The papers themselves, four of them with a Lean 4 formalization on GitHub, are about lattices. Their README says: "The results are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA." It also says: "The results were discovered by an internal research Claude model."

The Cryptography Incident Review Group, an independent panel Anthropic briefed on November 16, published its initial assessment the same night. On the NIST standards ML-KEM and ML-DSA: "Those earlier attacks are already far beyond practical reach, and the scale of the new attack is galactic." The Record reports the group's estimate that, even at the lowest standard security levels, the attack "would cost far more than 2¹⁰⁰⁰ operations". The group also warns: "It is reasonable to expect that the attack will be improved in the near future."

Then the conclusions turned towards the old algorithms. Cloudflare's write-up concludes that "quantum computers are far more likely to break elliptic curves and RSA before lattices." On December 2, Amazon, Anthropic, Apple, Cloudflare, Google, Meta, Microsoft, OpenAI and Oracle signed a joint statement urging organisations "to accelerate the migration as soon as possible", and Cloudflare moved its own target for being fully post-quantum from 2029 to 2027.

## Shor's algorithm has a short list

A large quantum computer running Shor's algorithm breaks the maths under public-key cryptography: RSA, elliptic-curve Diffie-Hellman, ECDSA, Ed25519 and the secp256k1 curve every Bitcoin and Ethereum wallet signs with. It does not do the same to symmetric cryptography. AES-256, SHA-256, HMAC and password hashes such as Argon2 are not on that list, which already shortens the audit for most products.

In a typical AI product that means:

- **Not on the list:** your model provider API keys, session cookies signed with a server secret, webhook signatures built on HMAC (the `createHmac("sha256", secret)` pattern), and data encrypted at rest with AES.
- **On the list, urgent:** key exchange. TLS between your users and your edge, and between your backend and every API it calls, agrees a session key with elliptic-curve Diffie-Hellman. Anyone recording that traffic today can decrypt it once a large enough quantum computer exists, which is why it is called **harvest now, decrypt later**.
- **On the list, later:** signatures. A JWT signed with RS256 or ES256 can only be forged once that computer exists, and a token that has already expired is worth nothing to forge. The exceptions are signatures meant to last: wallet keys, firmware and release signing keys, signed records you keep for years.

## A sketch of the inventory

This is a sketch of how we would start: a script that lists every line in a repository that uses public-key cryptography, labelled with the bucket above. It is ours, written for this article, and we ran it against a small test repository before publishing.

```ts
// pq-inventory.ts: list where a repo uses public-key crypto
import { readFileSync } from "node:fs";
import { execSync } from "node:child_process";

const rules: [RegExp, string][] = [
  [/\b(ECDH|X25519|diffieHellman|RSA-OAEP)\b/i,
    "key exchange: record-now, decrypt-later"],
  [/\b(RS|PS|ES)(256|384|512)\b|\bEdDSA\b|\bEd25519\b/,
    "signature: JWT, webhook or token"],
  [/\bsecp256k1\b|\bethers\b|\bviem\b|\bbitcoinjs/i,
    "signature: wallet key, may live for years"],
  [/BEGIN (RSA |EC )?(PRIVATE|PUBLIC) KEY/,
    "key material in the repo"],
];

const files = execSync("git ls-files '*.ts' '*.js' '*.json' '*.pem'")
  .toString().trim().split("\n").filter(Boolean);

for (const file of files) {
  readFileSync(file, "utf8").split("\n").forEach((line, i) => {
    for (const [pattern, label] of rules) {
      if (pattern.test(line)) console.log(`${label}\t${file}:${i + 1}`);
    }
  });
}
```

Run it with `npx tsx pq-inventory.ts` from the repository root. On our test repository it flagged a `jose` call signing with `alg: "RS256"`, a `crypto.diffieHellman` call and the `viem` dependency, and it left the HMAC webhook check alone. Notice what it cannot see: TLS. Your code rarely names the key exchange, because the runtime picks it. That needs its own check.

## Check what your runtime negotiates

At your edge, the work may already be done: Cloudflare says "73% of human traffic to Cloudflare is post-quantum encrypted". The gap is usually behind the edge, in outbound calls from your servers to model providers, payment APIs and your own services, where the TLS library decides.

For Node, run `node -p process.versions.openssl`. OpenSSL 3.5.0, released in April 2025, added ML-KEM, ML-DSA and SLH-DSA, and it offers the hybrid group X25519MLKEM768 in TLS by default. Anything older negotiates classical key exchange only. The Node 22 on the machine that built this site reports OpenSSL 3.0.13, so its outbound calls are on the harvest-now list until that runtime is upgraded. The same question applies to Python's `ssl` module, your Go version and the base image of every container you ship.

## Make the signature swap a config change

You don't need to replace RS256 this quarter. You do need to be able to replace it in a day, and that is a design choice you can make now. Keep the algorithm and key id in configuration, publish keys through a JWKS endpoint, and make verifiers read `alg` and `kid` from the token instead of hard-coding them. Then moving to ML-DSA means a new key, a JWKS entry and an overlap window.

Plan for the size. FIPS 204 puts an ML-DSA-44 signature at 2,420 bytes and its public key at 1,312 bytes; an Ed25519 signature is 64 bytes and its public key 32 (RFC 8032). A JWT sent on every request, in a header with size limits, will feel that.

The review group adds two pieces of advice that apply when you adopt the new standards: "choose the highest security level each application can support", and use "hybrids that combine schemes based on different mathematical foundations". In practice that means ML-KEM-1024 where the bytes allow, and keeping the classical X25519 next to ML-KEM, which the hybrid TLS groups already do.

For wallets the clock is different. CNBC notes that "no existing quantum computer can crack Bitcoin's security today", but a secp256k1 key whose public half is already on chain cannot be rotated by a config change. If you build [Web3 products](/services/web3-blockchain), list those keys separately and follow your chain's own migration proposals.

## What to keep

- Anthropic's papers attack lattice schemes at a galactic cost and say nothing about RSA. Your post-quantum migration plan does not change because of them, and it should exist.
- The keys at risk first are RSA and elliptic curves. Find them: key exchange is urgent because traffic recorded today can be decrypted later; most signatures can wait.
- Check your runtime's TLS library, since your code never names it. OpenSSL 3.5 or later offers hybrid ML-KEM by default.
- Make algorithms configuration, so the signature swap is a key rotation.

If you want a second pair of eyes on where your product uses public-key cryptography, or help with the [custom software](/services/custom-software) that has to change, [book a conversation](https://calendly.com/voirlabs/30min).

## Sources

- Anthropic, formal-math, lattices README: https://github.com/anthropics/formal-math/tree/main/lattices
- Cryptography Incident Review Group, Initial Assessment of Anthropic's Findings on Lattice Cryptography (November 30, 2026): https://cirg.org/statements/1/
- Cloudflare, Post-quantum cryptography is still safe (December 1, 2026): https://blog.cloudflare.com/pq-is-still-safe/
- BleepingComputer, Anthropic cryptography disclosure draws backlash after RSA panic: https://www.bleepingcomputer.com/news/security/anthropic-cryptography-disclosure-draws-backlash-after-rsa-panic/
- The Record, AI 'encryption-breaking' discovery is not a threat, cryptographers say: https://therecord.media/anthropic-quantum-cryptographic-attack-not-a-threat
- Anthropic, Joint statement on post-quantum cryptography (December 2, 2026): https://www.anthropic.com/news/joint-statement-post-quantum-cryptography
- CNBC, AI, quantum computing and encryption security explained: https://www.cnbc.com/2026/12/03/ai-quantum-encryption-security.html
- OpenSSL 3.5 release notes: https://openssl-library.org/news/openssl-3.5-notes/
- NIST, FIPS 204 Module-Lattice-Based Digital Signature Standard: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.pdf
- RFC 8032, Edwards-Curve Digital Signature Algorithm (EdDSA): https://www.rfc-editor.org/rfc/rfc8032

---

Voir Labs is an AI-first design and development studio (https://www.voirlabs.io/). Related service: https://www.voirlabs.io/services/custom-software. Book a 30-minute conversation: https://calendly.com/voirlabs/30min
