Anthropic Encryption Attack: Is ML-KEM Safe?
Anthropic's 30 November lattice papers describe a quantum attack on the math behind ML-KEM and ML-DSA that is galactic in cost and no threat to deployed keys. CIRG advises continuing the move to post-quantum encryption and choosing the highest security level each application can support. No browser offers ML-KEM-1024 by default, and only 2 of 58 Indian sites accept ML-KEM-1024.

Affected systems and impact
| Flaw | Affected systems | Impact |
|---|---|---|
| Galactic quasi-polynomial quantum algorithmQuantum quasi-polynomial-time algorithm for module lattices of small rank, including random instances of Module-LWE | The structured lattices behind ML-KEM and ML-DSA, as the polynomial degree grows; not their fixed parameter sets | None today: CIRG says even 2^1000 quantum operations would be far below its cost for ML-KEM-512 |
At 01:45 UTC on 30 November, Cardano founder Charles Hoskinson wrote that he had been briefed on “what everyone is terrified about” and gave the paper’s title as 64 hexadecimal characters. About ten hours later a stranger had worked out the words behind them, and the Anthropic encryption story was out before Anthropic had published a line.
Those characters were a SHA-256 hash, a way to commit to a text without showing it. At 12:10 UTC an account that Scott Aaronson identifies as Michael DeBono’s posted a guess, crediting the AI models Gemini and Fable: “Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings.” Hashing that sentence gives Hoskinson’s value exactly. Nothing was decrypted. A hash can only be matched by guessing what went in.
Anthropic merged four papers and a Lean 4 formalization of their results into its public formal-math repository at 22:47 UTC, which was 4:17 AM on 1 December in India. Its post on X followed 14 minutes later. The main paper had gained a first word, “Galactic”. Its abstract says the algorithms “are not practical for the parameter sets of ML-KEM and ML-DSA”, the post-quantum standards that browsers, banks and governments are now adopting.
This article was drafted with Claude, which Anthropic makes. Every claim links to its source, and the site scan below comes from code anyone can run.
What did Anthropic’s lattice papers find?
The main paper gives quantum algorithms that solve several lattice problems in quasi-polynomial time, among them random instances of Module-LWE, the problem behind ML-KEM, for module lattices of small rank. Quasi-polynomial means a running time like n raised to the power log n. That is far below the exponential growth of the best attacks known before, as n grows.
Here n is the degree of the polynomials inside the lattice, which is 256 in ML-KEM. The paper runs to 283 pages. The repository says the results “were discovered by an internal research Claude model” and that AI models wrote the formalization.
Lean is a proof checker. The release states 132 main theorems in it, with algorithms written as programs for a model quantum computer, and the proofs assume no unproved conjecture. The README keeps one caveat: whether the formal statements say what the papers say “is for the reader to judge”.
The other three papers are about unstructured lattices, the plainer kind used by schemes such as FrodoKEM:
Paper 2 shows that finding approximately short vectors reduces to the SIS and SIVP problems and, on a quantum computer, to LWE and GapSVP.
Paper 3 proves a converse of the “dual attack” and a quantum equivalence between SIVP and LWE at small noise rates.
Paper 4 builds public-key encryption from GapSVP with a classical reduction.
The Cryptography Incident Review Group (CIRG) is a group of 21 cryptographers, several of whom Anthropic briefed on 16 November. It says Anthropic reported no faster classical attack on any mainstream lattice scheme. Nor did Anthropic report a quantum speed-up against unstructured lattices. CIRG adds that the other papers “strengthen the theoretical foundation” for unstructured-lattice cryptography. It also separates this work from recent classical, slightly subexponential attacks on structured lattices that build on OpenAI’s refutation of the Exponential Time Hypothesis.
Does the Anthropic encryption attack threaten ML-KEM today?
The attack does not threaten ML-KEM today: it needs a quantum computer far beyond any that exists, and CIRG says even 21000 quantum operations would be “far below its cost” for ML-KEM-512, the smallest parameter set. No deployed ML-KEM key is at risk today, by every account published so far.
The paper says so itself. For ML-KEM-512 its algorithm computes a structure called the canonical filtration of a rank-5 module lattice. Some of its sampling steps then work on lattices with more than 210,400 dimensions. The observable universe holds about 2266 atoms.
Cloudflare, whose network now carries post-quantum encryption for 73% of human traffic, put it in hardware terms in “Post-quantum cryptography is still safe”. A straightforward implementation needs “at least billions of logical quantum bits”, against thousands of qubits in today’s machines. The attack would also be “orders of magnitude slower” than the best classical attacks on the same parameters.
So the loudest framing was wrong. A Hacker News post of a Guardian story on 30 November was titled “Anthropic to announce it cracked quantum-resistant ML-KEM encryption”. Nothing was cracked: no key, no message and no parameter set in use.
The bigger quantum risk is still the old one. CIRG warns that delaying the move to post-quantum encryption “would prolong reliance on existing systems that can be broken with far fewer quantum resources than this new attack requires”. That means RSA and elliptic curves. Anthropic’s own statement, quoted by Wired, says the results “do not have practical, real-world consequences for today’s security systems”.
Why do cryptographers still take it seriously?
Because the Anthropic encryption result attacks the exact assumption behind ML-KEM’s design: that module lattice problems of fixed rank stay exponentially hard, even for quantum computers, as the polynomial degree grows.
ML-KEM keeps its numbers in polynomials of degree 256, arranged in a small square matrix. Its three versions differ only in that matrix’s size, called the rank k. The rank is 2 for ML-KEM-512, 3 for ML-KEM-768 and 4 for ML-KEM-1024. For any fixed rank, the new algorithm’s cost grows like nO(log n) with the degree n. CIRG calls that much slower growth in security than “previously believed”.
That is why the reviewers sound calm and uneasy at once. “It is reasonable to expect that the attack will be improved in the near future,” CIRG writes. The open question is whether improvements will reach the standards themselves.
Scott Aaronson’s post relays a point from cryptographer Noah Stephens-Davidowitz: ML-KEM-512 has rank 2, so its safety from this attack rests “merely” on galactic constant factors. Aaronson calls himself “deeply uncomfortable” with security that rests only on constants, because constants often shrink.
Martin Albrecht of King’s College London told Wired, before the papers came out, that such a result “gives us the signal that we don’t understand the hardness of these problems as well as we think we do”.
Why does the security level matter now?
Because the Anthropic encryption attack gets dramatically more expensive as the rank grows, and rank is exactly what separates ML-KEM-512, ML-KEM-768 and ML-KEM-1024.
A footnote from CIRG explains that the speed-up applies as each component’s degree grows, while ML-KEM and ML-DSA “reach higher security levels by increasing the number of components (the rank k) while keeping n=256 fixed.” Aaronson’s update puts it more bluntly: the cost is exponential in a polynomial of the rank.
The paper’s own bounds show the effect. Its Remark 23.9 gives a formula for the size of the sampling steps, and applying it to all three levels gives these sizes:
ML-KEM-512, rank 2: lattices above 210,400 dimensions, the figure the paper prints.
ML-KEM-768, rank 3: above 220,384 dimensions.
ML-KEM-1024, rank 4: above 233,696 dimensions.
The time bound in the Lean statement behaves the same way. Its exponent carries the rank to the eighth power, so going from rank 2 to rank 4 multiplies it by 256. These are bounds from proofs, not attack estimates, and better algorithms could lower all of them. The direction is the point: the attack’s cost explodes as the rank grows.
CIRG’s advice follows from that: “choose the highest security level each application can support.” NIST had already written the idea into FIPS 203. It says “the strongest possible parameter set should be used” when data is first protected, while it recommends ML-KEM-768 “as the default parameter set”.
The price is size. An ML-KEM-1024 key and ciphertext take 1,568 bytes each, against 1,184 and 1,088 for ML-KEM-768. In TLS, the hybrid group SecP384r1MLKEM1024 sends 1,665 bytes each way instead of 1,216 and 1,120, as RFC 10024 sets out.
Does the attack affect ML-DSA signatures?
Only on paper, and less directly than ML-KEM: the paper’s theorems give no useful guarantee for ML-DSA’s three parameter sets, and it does not treat the Module-SIS problem that signature forgery rests on.
CIRG still names ML-DSA-44, the smallest set, beside ML-KEM-512 in its estimate of a cost far beyond 21000 quantum operations. Signatures are also less urgent than key exchange. A recorded TLS session can be decrypted years later once its key exchange falls, but a forged signature helps an attacker only while the key behind it is still trusted.
That is why the move to post-quantum TLS started with key exchange. For certificates, Chrome is not planning to add standard post-quantum X.509 certificates to its root store and is working on Merkle Tree Certificates instead, according to Cloudflare’s support list.
Which Indian sites use post-quantum encryption?
On 1 December 2026, 35 of 58 Indian bank, government and payment sites that answered accepted the X25519MLKEM768 hybrid, and only Canara Bank and Indian Overseas Bank accepted an ML-KEM-1024 group.
The scan ran from India between 06:07 and 06:10 UTC against 63 Indian sites and 26 global ones, using the checker described below. In all, 84 of the 89 answered. These are the X25519MLKEM768 counts for each group of sites:
Banks: 14 of 23, including HDFC Bank, ICICI Bank, Axis Bank, Kotak, Yes Bank and Bank of India.
Government, regulators and markets: 11 of 20, including the income-tax department’s main site, DigiLocker, RBI, IRCTC, NSE and BSE.
UPI and payments: 10 of 15, including NPCI, Paytm, PhonePe, Cashfree and PayU.
Global reference sites: 23 of 26.
Of the 58 Indian sites, 23 offered no post-quantum key exchange at all. SBI’s two sites, Bank of Baroda, Indian Bank, Central Bank of India, UCO Bank, IDBI Bank and Federal Bank run TLS 1.3 with classical groups only. So do UIDAI and its myAadhaar portal, EPFO, CERT-In, Parivahan and SEBI. Seven still run TLS 1.2, among them the GST portal, Passport Seva, the BHIM UPI site, BillDesk and CCAvenue’s checkout.
Payment APIs lag their front pages. Razorpay’s website accepts X25519MLKEM768, but api.razorpay.com, where merchants’ servers send payment calls, negotiated plain X25519. So did Juspay’s API, while Cashfree’s API accepts the hybrid.
Only 2 of 58 Indian sites accept ML-KEM-1024, and both prefer ML-KEM-768. Canara Bank and Indian Overseas Bank accept SecP384r1MLKEM1024, confirmed with a full key share that drew a 1,665-byte answer. Both also accept the two ML-KEM-768 hybrids, the same three-group list that AWS’s recommended load-balancer policy offers. And both pick X25519MLKEM768 whatever order a client asks in, so any client that also offers ML-KEM-768 still gets ML-KEM-768.
Google was the only site in the scan that accepts ML-KEM-1024 on its own, the group called MLKEM1024. GitHub, Wikipedia and Netflix offered no post-quantum group. Sixteen sites, this one included, still accept the pre-standard Kyber draft that Cloudflare’s documentation marks obsolete. For the 36 sites also checked on 27 November, nothing changed in four days.
Where can you choose ML-KEM-1024?
Not in a browser’s default settings: Chrome, Edge, Firefox and Safari all offer ML-KEM-768 hybrids by default, and the settings Chrome and Firefox added offer ML-KEM-1024 only on its own.
No browser offers ML-KEM-1024 by default. Chrome 146 and later read an enterprise policy called PreferSlowKexAlgorithms. Set to cnsa2, after the NSA’s Commercial National Security Algorithm Suite 2.0, it puts ML-KEM-1024 first in Chrome’s list without sending a key for it. Google’s own description says “setting this policy is not required for security” and that it makes Chrome “slower when accessing websites”. A test flag for the same feature expired in Chrome 152, and Chrome is now on version 159.
Firefox 154 and later have the same option as an about:config preference, security.tls.enable_mlkem1024, or as the CNSA2KeyAgreementEnabled policy, which the ESR builds lack (bug 2052296). Firefox adds ML-KEM-1024 at the end of its list, after the hybrid it prefers, and HTTP/3 connections follow the setting from Firefox 157. Apple documents only X25519MLKEM768 for iOS 26, macOS Tahoe 26 and later, and describes no ML-KEM-1024 setting.
In the scan, Chrome with the cnsa2 policy would have got ML-KEM-1024 from 2 of the 84 sites, both of them Google’s. Firefox with its setting on would have got it from none. Google follows the client’s order, and Firefox lists ML-KEM-1024 last.
Servers and libraries support more, though almost none switch it on by default:
OpenSSL 3.5 and later support SecP384r1MLKEM1024 and MLKEM1024, but neither is in the default group list, even in OpenSSL 4.1.
Go 1.26 enables SecP384r1MLKEM1024 by default on both sides, yet a Go server picks X25519MLKEM768 whenever the client sent a key for it. Go 1.27 adds MLKEM1024 as an option.
Java 27 supports SecP384r1MLKEM1024 under JEP 527 but leaves it off by default.
BoringSSL, the library inside Chrome, has MLKEM1024 but not the SecP384r1MLKEM1024 hybrid. Rustls 0.23 offers MLKEM1024 as an opt-in.
AWS load balancers accept SecP384r1MLKEM1024 in their post-quantum policies, and newer CNSA 2.0 policies offer MLKEM1024.
Cloudflare’s edge offers X25519MLKEM768 and none of the ML-KEM-1024 groups.
OpenSSH stops at ML-KEM-768, with mlkem768x25519-sha256 as its default since version 10.0.
IANA’s registry of TLS groups marks only X25519MLKEM768 as Recommended. So for ordinary browsing, CIRG’s answer to the Anthropic encryption papers cannot be followed today. It can be followed where you control both ends, such as APIs between your own servers, internal services and mobile apps that bring their own TLS library.
How were the sites tested?
Each check sends one TLS ClientHello that offers a group without a key; a server that supports the group answers by asking for one, so no key is exchanged and no connection completes.
The TLS 1.3 standard allows exactly this: a client may send an empty key list to ask the server to pick a group. Some load balancers stay silent for 11 to 16 seconds instead of refusing. For those, the checker offers the group again next to the classical secp384r1. It counts a choice of secp384r1 as “no” only if the same server prefers X25519MLKEM768 to secp384r1.
For the two groups that matter most it also sends a real key share, built from a random P-384 or X25519 key and a well-formed ML-KEM key. A server that really runs the exchange answers with the share size RFC 10024 gives. Finally the checker replays the group lists of Chrome, Firefox, Go, OpenSSL and Java, copied from their source code and documentation, to see what each would get.
$ python3 -m pqlevel scan www.iob.in
www.iob.in:443
SecP384r1MLKEM1024 accepts (HelloRetryRequest for SecP384r1MLKEM1024)
...
real key share, SecP384r1MLKEM1024 yes (ServerHello with SecP384r1MLKEM1024 (1665-byte share))
offered both ML-KEM-1024 and -768 hybrids without shares: prefers X25519MLKEM768 whatever the client's order
...
Chrome 146+ with policy PreferSlowKexAlgorithms = cnsa2 gets X25519MLKEM768The code, its tests and the raw results are in the mlkem-level-check repository. It was first run against real OpenSSL 3.5.7 (bundled in Node.js 22.23.2) and Go 1.26.10 servers on the same machine, and every result matched what those libraries’ source code predicts.
What should developers change?
Keep deploying X25519MLKEM768 everywhere, and use SecP384r1MLKEM1024 on connections where you control both ends, keeping every post-quantum choice a hybrid, as CIRG advises.
Start by closing the gaps. A server on OpenSSL 3.5 or later offers X25519MLKEM768 by default, unless an old ssl_ecdh_curve line pins classical curves. The 23 Indian sites without it need a software upgrade or a configuration fix, not a new policy.
Second, rank ML-KEM-1024 first on servers. OpenSSL 3.5 group lists accept tuples separated by a slash, and a server picks from the first tuple it shares with the client. This nginx line gives ML-KEM-1024 to any client that offers it, and X25519MLKEM768 to everyone else without an extra round trip:
ssl_ecdh_curve SecP384r1MLKEM1024/X25519MLKEM768:SecP256r1MLKEM768/X25519:secp256r1:secp384r1;Apache takes the same string after SSLOpenSSLConfCmd Groups. In the local test, that line gave a Go 1.26 client SecP384r1MLKEM1024 after one extra round trip, and Chrome X25519MLKEM768 at once. To serve the CNSA 2.0 browser settings too, add MLKEM1024 to the first tuple. That accepts ML-KEM-1024 without a classical partner, so leave it out unless such clients need it.
Third, configure the clients you control. Go ignores the order of CurvePreferences, so a Go client must enable only the 1024 hybrid to use it. Do that only for connections to your own servers:
cfg := &tls.Config{
MinVersion: tls.VersionTLS13,
CurvePreferences: []tls.CurveID{tls.SecP384r1MLKEM1024},
}On OpenSSL 3.5, curl’s --curves option and openssl s_client’s -groups take '*SecP384r1MLKEM1024:*X25519MLKEM768:X25519'. The two stars send key shares for both hybrids. Java 27 takes the system property jdk.tls.namedGroups=SecP384r1MLKEM1024,X25519MLKEM768,x25519.
Fourth, keep hybrids and plan for change. CIRG encourages “hybrids that combine schemes based on different mathematical foundations” and systems whose schemes “can be replaced quickly if the need arises”. It also asks NIST to standardize more public-key schemes “based on diverse designs”.
Finally, do not pause the migration. RSA and elliptic-curve keys fall to a far smaller quantum computer than this attack needs, and traffic recorded today can be decrypted later. PHP teams can follow the steps in quantum-safe encryption for Laravel.
What does this mean for RSA, Bitcoin and the earlier rumors?
The Anthropic encryption papers change nothing for RSA: they concern lattices, not factoring or elliptic curves, so RSA keys and Bitcoin’s elliptic-curve signatures face the same quantum threat as before, from Shor’s algorithm on a much smaller machine.
The month of rumors had pointed the wrong way. Talk of an AI lab breaking RSA ran through November, as covered in what “factoring in P” would mean and the RSA-2048 rumor check. By the end of the month, the best-informed hints pointed at lattices instead.
The quantum machine that threatens RSA is also far smaller than this one. The breakdown of a 22,593-qubit RSA-2048 estimate shows what such a machine would need.
What should you watch for next?
Watch for faster versions of the Anthropic encryption attack, especially a lower cost in the rank, and for NIST’s answer to CIRG’s call for standards built on different mathematics.
CIRG expects the attack to improve. The key question is whether improvements shrink its dependence on the rank, which is what protects ML-KEM-1024.
Independent checks of the proofs will matter. The Lean project builds in a little over an hour on 12 cores, and Anthropic has not yet submitted it to the Palomar registry’s acceptance check.
Browser defaults can change fast. A move by Chrome, Firefox or Apple to offer ML-KEM-1024 by default would change every number in the scan.
The checker can be rerun at any time, to see whether other Indian sites join Canara Bank and Indian Overseas Bank.
Attention has been intense. By 06:16 UTC on 1 December, CIRG’s assessment had 486 points on Hacker News, and the thread on the leaked title had 540.

ML-KEM is safe today, and the Anthropic encryption papers give no reason to slow the move to it. What changed on 30 November is the margin. The lowest level now rests on galactic constants, and the highest level is the one almost nobody can choose. Developers who control both ends of a connection can fix that part now.
Frequently asked questions
Did Anthropic break encryption?
No. Its 30 November papers describe a quantum algorithm for the lattice problems behind ML-KEM and ML-DSA, and the review group CIRG says even 2 to the power 1,000 quantum operations would be far below its cost for ML-KEM-512. No key, message or deployed system was broken, and RSA and elliptic curves are not affected by it.
Is ML-KEM-768 still safe to use?
Yes. CIRG, Cloudflare and Anthropic all say the attack falls far short of the parameter sets in use, and X25519MLKEM768 also keeps a classical X25519 layer. CIRG advises choosing the highest security level each application can support, which matters most where you can choose.
Should my website switch to ML-KEM-1024?
Offering it does no harm, but browsers will rarely use it: none offers ML-KEM-1024 by default, and the CNSA 2.0 settings in Chrome and Firefox offer it only without a hybrid. Rank SecP384r1MLKEM1024 first on your server and use it on connections between your own systems.
Does the attack affect UPI payments or Bitcoin?
Not in practice. The UPI and payment sites checked on 1 December used X25519MLKEM768 or classical key exchange, and Bitcoin uses elliptic-curve signatures. The new attack targets lattice problems and needs a quantum computer far beyond any that exists.
