Turing Registry

Anthropic's Lean-Checked Lattice Attack Is Too Big to Run

The PDF is 280-odd pages long and sits in a GitHub folder called formal-math/lattices, next to a Lean 4 project that takes "a little over an hour on 12 cores, with 12 GB of memory" to build. Its title leaked a day before the text: Galactic quasi-polynomial quantum algorithms for integral and module lattices. The README states in one flat line where it came from: "The results were discovered by an internal research Claude model. The formalization was written by AI models."

By Monday, November 30, 2026, the full text was public along with three companion papers, and a newly formed Cryptography Incident Review Group (CIRG), 21 cryptographers including Dan Boneh, Chris Peikert, Nadia Heninger, Vadim Lyubashevsky and Ryan Williams, published its first statement on it. By Tuesday morning, December 1, that statement was the top story on Hacker News at 736 points, the paper itself was ninth, and the BBC was running "Anthropic says it has found theoretical weaknesses in encryption technology." On Bluesky the trending card still read "Cryptographers probe AI encryption rumor," which tells you how fast the story outran its own source.

On Monday morning, working from the title alone, this site wrote that it pointed to a quantum algorithm for small-rank modules and was not yet an attack on Module-LWE. The full text changes half of that, and the correction belongs up front: the paper does claim a quasi-polynomial quantum algorithm for random instances of search Module-LWE, the problem under ML-KEM. The other half holds, and the rest of this piece is about why.

What the paper claims

Strip the abstract down and the headline result is this: for module lattices of polylogarithmic rank over power-of-two cyclotomic rings, a quantum computer can approximate the shortest vector, shortest independent vectors and closest vector problems within a factor linear in the dimension, in time quasi-polynomial in the ring degree n. From that machinery the paper solves random search Module-LWE "with short secret and error, for suitable moduli of polynomial size," and recovers keys from NTRU lattices below a norm bound.

CIRG's footnote gives the running time as n^(poly(k)·log n) for rank k. The Lean statement in the repository is blunter about it: one quantum program solves the problem in time 2^(c·rank^8·(log2 n)^2), for every fixed rank and all sufficiently large degrees, with c an unspecified constant. The rank sits in that exponent to the eighth power.

The abstract closes on its own disclaimer: "The algorithms are galactic: the bounds on their running times are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA." The limitations section puts a number on it. For ML-KEM-512, with n = 256 and module rank 2, the algorithm computes a filtration of a rank-5 module lattice, and some of the Gaussian sampling instances it needs have rank over the integers greater than 2^10400. CIRG, which says it used AI models to help optimise the attack and estimate its cost, puts it this way: even 2^1000 quantum operations "would be far below its cost for the smallest parameter sets." Cloudflare's own write-up lands in the same place, an attack on ML-DSA "of the order of 2^x, for values of x greater than a thousand," against a target of 2^128.

The argument on Hacker News: rank against degree

The thread splits along one line. User BoppreH opened with the summary most people upvoted: a galactic algorithm that breaks "a hypothetical (much bigger) version" of ML-KEM and ML-DSA, impractical today, with the sting in Harvest Now Decrypt Later, where traffic recorded now is opened by whatever exists in twenty years. User insanitybit's answer to a request for a plain summary went further and said the NIST algorithms "have a very impractically exploitable weakness." User thomascountz pushed back that no NIST security target had been broken even in theory, because 2^1000 is wildly worse than brute-forcing a 128-bit key.

The paper and CIRG are specific about the direction in which any weakness appears. The quasi-polynomial speed-up appears as the ring degree n grows with rank held small. CIRG's third footnote spells out why that matters: "ML-KEM and ML-DSA reach higher security levels by increasing the number of components (the rank k) while keeping n=256 fixed." ML-KEM-512, -768 and -1024 use rank 2, 3 and 4 over the same degree-256 ring. The parameter families in which the paper proves its asymptotics, defined in its Section 12.5, grow n instead, and the paper says plainly that they "are not part of the standards." The algorithm is fast along an axis the standards do not travel and gets dramatically worse along the one they do, since the paper's own bounds are quasi-polynomial "if and only if" the rank stays polylogarithmic.

So insanitybit has it half right. The paper shows that the algebraic structure in these schemes can be exploited asymptotically, which cryptographers had believed was exponentially hard even for quantum machines. It shows nothing about 2^128 at n = 256. CIRG's choice of words is careful: if these standards "were scaled up in a certain way, their quantum security would increase much more slowly than previously believed."

User nullc made the point that keeps the story from being a shrug. Quasi-polynomial means the constants are the only thing between the algorithm and relevance, and there is "a LOOONG history of continual improvements in the constant factors." CIRG agrees in its own register: "It is reasonable to expect that the attack will be improved in the near future." Whether improvement closes a gap of roughly ten thousand bits of exponent, or a few hundred, is the open question, and nobody on either side has a number for it yet.

What the Lean files settle and what they do not

This site's standing test for a machine-checked proof has four parts: it builds, the formal statement matches the claim, the axiom list is clean, and someone replays it independently. The repository answers three of them on paper. It says only the Challenge/ scaffolding contains sorry, that the axioms printed are the standard three (propext, Classical.choice, Quot.sound), and that the Comparator check replays the proofs in Lean's kernel and in the independent kernel nanoda. Cited results are formalised with their proofs rather than assumed. Those claims are checkable by anyone with 21 GB of disk, and nothing public yet reports a third party doing it.

The fourth check is where the README is unusually frank: "That the statements say what the papers say is for the reader to judge; AI readers have compared them with the text." A separate file, docs/departures.md, lists where the Lean differs from the printed paper. That is the human review still outstanding. A machine-checked theorem about a quantum word RAM defined in about 1,000 lines of Lean is exactly as relevant as those 1,000 lines are faithful to how quantum computers cost things. Claims in this exact area have failed before: in April 2024 a preprint claiming a polynomial-time quantum algorithm for LWE was effectively retracted after a bug turned up in one step. Lean makes that kind of hidden step much harder to slip through; it does nothing for a definition that measures the wrong thing.

The rumour mill, for the record, was wrong in a specific way. User rybosworld noted that the rumours before publication had RSA falling. Nothing in the four papers touches factoring, and Anthropic, per CIRG, reported no improvement in classical attacks on any mainstream lattice system and no quantum improvement on unstructured lattices.

What CIRG asks for, and what to watch

The group's advice is conservative and specific. Keep migrating to post-quantum cryptography, since the RSA and elliptic-curve systems it replaces fall to "far fewer quantum resources than this new attack requires." Pick the highest ML-KEM security level an application can afford. Use hybrids built on different mathematics, which is already how most TLS key exchange runs as X25519MLKEM768, as user tptacek pointed out in the thread. And it asks NIST to "prioritize standardizing additional public-key cryptosystems based on diverse designs, even at some cost in efficiency."

Its last paragraph is aimed at the labs. CIRG wants them to share "what they tried, which systems resisted attack, and how much effort they devoted to each." That is a request for the negative results, the part a company has the least reason to publish. Anthropic has given cryptographers a 280-page paper and a Lean build; it has not said how much compute the search consumed or what else the internal model attempted and failed at.

The markers that would move this story are concrete. An independent Comparator replay reported by someone outside Anthropic. A line-by-line human audit of departures.md and the machine model. Any improvement that brings the ML-KEM-512 cost estimate within a few hundred bits of 2^128. And a response on NIST's pqc-forum about whether the Module-LWE assumption at fixed n = 256 needs a new security margin. Until one of those lands, headlines about broken encryption are ahead of the evidence.

Sources