Ai Engineering 7 min read

Anthropic's lattice papers: a quasi-polynomial quantum attack on Module-LWE that leaves ML-KEM and ML-DSA standing

On November 30 Anthropic released four lattice papers found by an internal Claude model, with 132 Lean-checked main theorems. The headline quantum attack is asymptotic and galactic; cryptographers and Cloudflare say deployed post-quantum crypto is safe.

On November 30, 2026, after several days of rumours that an AI lab had broken modern encryption, Anthropic published what it actually had: four papers on lattice problems and a Lean 4 formalization of their results. The repository says the results “were discovered by an internal research Claude model” and that the formalization was written by AI models.

The headline result is real, and it does involve the math behind the two main NIST post-quantum standards, ML-KEM (key exchange) and ML-DSA (signatures). It is also, in the word cryptographers keep using, galactic: an asymptotic quantum speedup that costs far more than existing attacks at the key sizes anyone deploys. RSA and elliptic curves are not affected at all. What matters is what the papers prove, why the attack does not touch today’s parameters, and why cryptographers still treat it as a warning.

What Anthropic released

The release is a research artifact, “not maintained and not accepting contributions.” It contains four papers:

  1. Galactic quasi-polynomial quantum algorithms for integral and module lattices (81 main statements, 104 further statements in Lean)
  2. Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP (24 and 35)
  3. A converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise rates (19 and 35)
  4. Public-key encryption from GapSVP within Õ(n), classically, an adaptive reduction to decision LWE in dimension kn with exponential modulus (8 and 16)

Paper 1 is the one that set off the alarm. Among its results is a single quantum program that solves search Module-LWE in quasi-polynomial time for every fixed rank, all sufficiently large power-of-two degrees and almost all square matrices. Module-LWE (learning with errors over module lattices) is the hard problem ML-KEM rests on; ML-DSA rests on Module-LWE and Module-SIS.

Papers 2 to 4 mostly run the other way. They connect lattice problems to each other through new reductions, and according to the Cryptography Incident Review Group (CIRG), they strengthen the theoretical foundation for cryptography built on unstructured lattices. Anthropic told the group it found no improvement in classical attacks on any mainstream lattice cryptosystem, and no quantum improvement against unstructured ones.

Why the attack does not break deployed standards

The CIRG statement gives the asymptotics: ignoring polynomial factors, the running time is n^(poly(k)·log n) for module lattices of rank k over power-of-two cyclotomic rings of degree n, which is n^O(log n) for fixed rank. That beats exponential time as n grows. But ML-KEM and ML-DSA do not grow n. They fix n at 256 and raise security by increasing the rank k. The speedup lives on the axis the standards do not use.

At real parameters the numbers are enormous. The CIRG, which says it used AI models to help optimize the attack and estimate its cost, writes that even 2^1000 quantum operations would be “far below its cost” for the smallest parameter sets, ML-KEM-512 and ML-DSA-44. Cloudflare’s analysis, by JP Aumasson, Mari Galicer, Christopher Patton and Bas Westerbaan, puts the cost of attacking ML-DSA at roughly 2^x with x above 1,000, against a 2^128 target for the smaller ML-DSA instance. It adds that a straightforward implementation would need at least billions of logical qubits, while today’s machines have on the order of thousands of qubits. Cloudflare also notes the attack is “not even really quasi-polynomial, but exponential” when you scale the standards’ security level the way they are actually designed to scale.

Anthropic’s own README says the same: “the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA.” In a statement quoted by MIT Technology Review, the company said the results “do not have practical, real-world consequences for today’s security systems,” while adding that they lower its long-term confidence in structured lattices.

There is an irony here. The rumours were about RSA. The result applies to the cryptography being deployed to replace RSA, and it is still far weaker against that replacement than an ordinary quantum computer would be against RSA. As PQShield CEO Ali El Kaafarani told MIT Technology Review, the real near-term quantum risk “remains with the RSA and elliptic-curve cryptography still widely used today.”

How the result was checked

The Lean formalization is what makes this release unusual. It states 132 main theorems and 190 intermediate theorems and remarks, and they assume no conjecture and no published theorem: cited results the proofs rely on are formalized too. Algorithms are written as programs for a quantum word RAM defined in about 1,000 lines of Lean, and running time is counted in machine steps. A further 63 theorems tie that machine to the standard classes P, BPP, PSPACE and BQP, so “quasi-polynomial time” means something checkable rather than a claim in prose.

The checks use Comparator, which confirms that the proofs establish exactly the stated theorems from Lean’s three standard axioms and replays them in both Lean’s kernel and the independent nanoda kernel. A full build takes a little over an hour on 12 cores.

The README is direct about the limits. Some bounds differ from the printed ones by logarithmic factors. Two remarks (one heuristic, one with open questions) are not formalized. Remark 7.17 of paper 4 is conditional on an open question. And the key caveat: “That the statements say what the papers say is for the reader to judge.” Lean proves that the formal statements are true; whether they match the paper’s claims, and whether the definitions capture the real problems, is still a human review job. It is the same split seen in earlier AI math claims covered here, such as OpenAI’s Lean-verified Exponential Time Hypothesis claim, which the CIRG cites as a separate line of classical attacks on structured lattices.

Disclosure and the reaction

Anthropic shared the results with several CIRG members on November 16, two weeks before publication, according to the group’s statement. MIT Technology Review describes the CIRG as a newly formed panel of 21 experts whose website went live last week. Its November 30 assessment is the closest thing to an independent verdict so far: the attack “falls far short of compromising the current NIST standards,” but “it is reasonable to expect that the attack will be improved in the near future,” and the open question is whether improvements will reach practical parameters.

Its recommendations are concrete:

  • Keep migrating to post-quantum cryptography. Delaying would prolong reliance on RSA and elliptic curves, which fall to far smaller quantum computers.
  • Choose the highest NIST security level each application can support.
  • Use hybrids that combine schemes based on different mathematical foundations, and design systems so individual algorithms can be swapped quickly.
  • NIST and other bodies should prioritize standardizing more diverse public-key systems, even at some efficiency cost.
  • Frontier AI labs should share what they tried, including which systems resisted attack and how much effort went into each, not only their successes.

Cloudflare, which says 73% of human traffic to its network is now post-quantum encrypted, found no fundamental flaw in ML-KEM or ML-DSA and is continuing its rollout. Its framing is worth keeping: AI does not change whether a cryptosystem is secure; it changes how quickly we learn its exact security level.

What to watch

Three things will decide whether this stays a theoretical footnote. First, follow-up work: the CIRG expects the attack to improve, and the question is whether anyone can move the speedup onto the rank axis that ML-KEM and ML-DSA actually scale along. Second, human review of the papers, now that the Lean code is public for anyone with 12 cores and an hour. Third, standards policy: the CIRG’s call for more diverse public-key standards puts pressure on NIST, whose code-based alternatives are slower but rest on different math.

It also fits a pattern. Since October, labs have reported AI-found results in complexity theory and, last week, in post-quantum cryptanalysis. The CIRG asked labs to publish their negative results too. If they do, defenders will get a much clearer picture of which systems AI-assisted cryptanalysis has tested and failed to break.

Get Insanely Good at AI

Get Insanely Good at AI

The book for developers who want to understand how AI actually works. LLMs, prompt engineering, RAG, AI agents, and production systems.

Keep Reading

Ai Engineering

How to Automate Workflows with Claude Code Routines

Learn how to use Claude Code's new routines to schedule tasks, trigger API workflows, and automate GitHub PR reviews on cloud infrastructure.

Ai Engineering

MiniMax says its internal model broke Waterfall, Blender, LOCKER and ROLLO, and solved 55 open TII McEliece challenges

MiniMax's cyber team published nine cryptanalysis write-ups found mostly by an unnamed internal model: second-scale collisions on two SHA-3 entrants, a passive break of every LOCKER parameter set, and record McEliece key recoveries. Code is public; independent review is not in yet.

Ai Engineering

GPT-6 Astra helped build a candidate lattice definition of the Standard Model

UCSB physicist Nathaniel Craig says OpenAI's GPT-6 Astra took the lead on the proof in his 123-page paper on lattice chiral fermions, published with a Lean 4 formalization. Here is what was proved, what Astra did, and what remains open.

Ai Engineering

Mythos AI Model Breaks HAWK PQC Algorithm in 48 Hours

An AI-driven lattice reduction technique forged HAWK-1024 signatures in 48 hours, eliminating the algorithm from NIST PQC standardization.

Ai Engineering

Anthropic delays pretraining of its next model to January as Amodei asks Congress for five frontier laws

Dario Amodei's second pacing essay says Anthropic pushed its next model's pretraining back at least six weeks, adopted a 14-day self-improvement waiting period, and wants five safeguards written into federal law.