A Claude model found new quantum attacks on the math behind post-quantum encryption
On 30 November Anthropic posted four papers on lattice problems, with a Lean 4 formalization, whose results it says were discovered by an internal research Claude model; the main paper gives quasi-polynomial quantum algorithms for Module-LWE at very large ring degrees. Trail of Bits and Cloudflare explained on 1 December why ML-KEM, ML-DSA and FN-DSA are not broken, and on 2 December Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle backed a fast move to NIST's post-quantum standards.
The NIST standards ML-KEM, for key exchange, and ML-DSA and FN-DSA, for signatures, are built on structured lattices: problems such as Module-LWE over power-of-two cyclotomic rings, for which no efficient attack, classical or quantum, was known. ML-KEM is already part of TLS, supported by most web servers and browsers, appears in the messaging protocols of Signal and iMessage, and is supported by OpenSSH. Anthropic's formal-math repository now holds four papers on these problems. Its README says the results were discovered by an internal research Claude model and the formalization was written by AI models, and that the algorithms are asymptotic and not practical for the parameter sets of ML-KEM and ML-DSA.
The main paper, on galactic quasi-polynomial quantum algorithms for integral and module lattices, gives one quantum program that solves search Module-LWE in quasi-polynomial time for every fixed rank, all large degrees and almost all square matrices. The Lean 4 statements assume no conjecture and no published theorem: the cited results are formalized too, with their proofs, algorithms are programs of a quantum word RAM defined in about 1,000 lines, and running time counts its steps. The build takes a little over an hour on 12 cores, and a separate checker, Comparator, replays the proofs in Lean's kernel and in the independent kernel nanoda. Whether the statements say what the papers say is, the README notes, for the reader to judge.
Trail of Bits' FAQ explains why deployed systems are safe. The attack gets easier only when the ring degree is extremely large, while the standards use fixed degrees of 256, 512 or 1024. An extremely conservative estimate puts it above 2^1000 operations, against roughly 2^20 for the best quantum attacks on elliptic curves. Cloudflare adds that a straightforward implementation would need at least billions of logical qubits, and that on deployed parameters the attack would be orders of magnitude slower than the best classical attacks. RSA, elliptic curves, AES, SHA-2 and the code-based, multivariate and isogeny candidates are not affected.
Both firms treat it as a new line of research rather than a threat. Trail of Bits notes that new lines of attack often improve quickly at first and that this one is less studied than the sieving attacks on deployed parameters, so cryptographers must check whether it can become practical; NIST had made no statement when it wrote. Its advice is to do nothing now, since rushing to rotate keys or cipher suites carries more risk, to keep migrating, and to build in cryptographic agility. Cloudflare reports that 73% of human traffic to it is already post-quantum encrypted, and the joint statement of 2 December urges organizations to accelerate the migration as soon as possible.
We recommend no immediate action for those deploying ML-KEM, ML-DSA, or FN-DSA.
