Claude finds quantum algorithms for the math behind ML-KEM and ML-DSA, but they are not practical
An internal Anthropic research Claude found new quantum algorithms for lattice problems behind ML-KEM and ML-DSA; Cloudflare says deployed crypto is still safe.

TL;DR
- Anthropic published four papers on lattice problems, with results discovered by an internal research Claude model and a Lean 4 formalization written by AI models [1].
- The main paper gives quantum algorithms for Module-LWE and Module-SIS, the problems behind ML-KEM and ML-DSA, but Anthropic says they are not practical for the parameter sets of those standards [1].
- Cloudflare estimates a straightforward implementation would need at least billions of logical qubits and says the attack would be orders of magnitude slower than the best classical attacks, so deployed systems are still safe [2].
Anthropic has published four research papers on lattice problems and lattice-based cryptography, together with a Lean 4 formalization of their results [1]. Anthropic says the results were discovered by an internal research Claude model and that the formalization was written by AI models [1]. The first paper is titled “Galactic quasi-polynomial quantum algorithms for integral and module lattices” [1].
Why it matters
ML-KEM (key encapsulation for encrypted connections) and ML-DSA (signatures) are post-quantum standards; Cloudflare says it enabled post-quantum encryption for all websites and APIs in 2022 [2]. Their security rests on two lattice problems, Module-LWE and Module-SIS; ML-KEM relies only on Module-LWE [2]. Anthropic’s main paper describes quantum algorithms for exactly these problems, and one formalized result states that a single quantum program solves search Module-LWE in quasi-polynomial time for every fixed rank, under stated conditions on the degree, noise and modulus, and for almost all matrices [1][2].
That sounds alarming, but both Anthropic and Cloudflare say it does not break deployed systems. Anthropic writes that the results are asymptotic and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA [1]. Cloudflare calls the work purely theoretical and says encrypted data and connections protected by these schemes remain safe [2].
Why the attack is not practical
Cloudflare gives two reasons [2]. First, the hardware does not exist: a straightforward implementation needs a quantum computer with at least billions of logical qubits [2]. Second, the speed-up appears only at enormous scale [2]. Based on the paper’s estimates, attacking ML-DSA would cost on the order of 2^x operations with x above 1,000, against a target security level of 2^128 for the smaller ML-DSA instance, so it would be orders of magnitude slower than the best known classical attacks [2]. Cloudflare adds that quantum computers are far more likely to break RSA and elliptic curves before lattices [2].
How it was checked
The Lean formalization states 132 main theorems and 190 further statements, which are checked with the Comparator tool [1]. Anthropic notes that some running-time bounds differ from the printed ones by logarithmic factors and that two remarks are not formalized [1]. Cloudflare also points to results it calls encouraging for lattice cryptography, such as better foundations for the LWE and SIS problems [2]. Anthropic’s fourth paper covers public-key encryption from GapSVP [1]. Cloudflare says the results just dropped and experts will need time to unpack them [2].
What builders can do now
- Do not roll back post-quantum TLS or ML-KEM plans: Cloudflare says the work does not affect the security of deployed cryptosystems, and 73% of human traffic to Cloudflare is already post-quantum encrypted [2].
- Researchers can rebuild the proofs themselves with
lake buildin the repository; the build takes a little over an hour on 12 cores with 12 GB of memory [1].
Sources
Written and checked by AI from the sources below
Fact-checked by gpt-6.1-sol on · Editorial policy



