Skip to content
gradient

An AI found an attack on post-quantum encryption, and called it galactic

Anthropic says an unreleased Claude model discovered a quantum algorithm against the lattices behind two NIST standards. One word in the paper's own title tells you most of what the headlines left out.

By Medhansh Pipaliya··5 min read

Start with the title

Late on 30 November, Anthropic published four papers on lattice cryptography. The lead one runs to 283 pages and is called Galactic quasi-polynomial quantum algorithms for integral and module lattices.

Most coverage skipped past that first word. It shouldn't have. In theoretical computer science a galactic algorithm is one that beats everything else asymptotically and is completely useless in practice, because the constants buried inside the big-O are so enormous the thing would never finish on any machine that could exist. The name is a running joke in the field: better than every rival, somewhere out in the galaxy.

Anthropic put that word in its own title. Nobody there was trying to frighten you.

What was actually found

The company says the central result was discovered by an unreleased internal Claude model. It is a quantum algorithm attacking structured lattice problems, which are the mathematics underneath ML-KEM and ML-DSA, the two post-quantum standards NIST approved and the world is currently in the middle of adopting. These are the schemes meant to replace RSA once quantum computers can break it.

The algorithm runs in quasi-polynomial time, which is faster than any previously known method against these problems. Asymptotically, that is a real result.

Then you get to the constants. ML-KEM and ML-DSA raise their security by increasing the module rank while holding the ring degree fixed at 256, which happens to be the direction this attack handles worst. The technique needs something like 2^840 copies of a particular quantum state at rank 1,024. The Cryptography Incident Review Group, which assessed the work, put it in a way I liked: even 2^1000 quantum operations would fall far short of what the attack would cost against ML-KEM-512.

There are roughly 2^272 atoms in the observable universe.

So the honest summary is that nothing you use got weaker last week. Anthropic says so, the reviewers say so, and the authors called their own algorithm galactic.

Why it still matters

Two reasons, and neither is the one the headlines reached for.

The attack exploits structure that is there deliberately. Lattice cryptography comes in two flavours. Unstructured lattices are the conservative option and nobody has found a good attack on them. Structured ones, built over algebraic rings, are what NIST standardised, because the extra structure makes keys small and operations fast enough to run on a phone. The trade has always been understood: you buy performance with mathematical regularity, and regularity is the first thing an attacker goes looking for.

This is the clearest sign yet that the trade carries a cost. Anthropic's own phrasing is that the result lowers their long-term confidence in structured lattices. The three companion papers point the other way, strengthening the hardness foundations for the unstructured kind. That gap is the story.

A machine checked it. All four papers ship with a Lean 4 formalisation: 132 main theorem statements and 190 intermediate ones, mechanically verified. This matters more than it sounds. The standing objection to AI doing mathematics is that these models are fluent enough to produce something that reads like a proof and isn't one. A proof assistant is immune to fluency. Either the argument type-checks or it doesn't.

It is also not a one-off. Anthropic published an attack on the HAWK signature scheme in July, and in October used a lattice technique to reconstruct where the ECDSA curve constants came from. Three results in five months, in a field where wrong answers are unusually cheap to detect. The trend is more interesting than any single paper.

What this was not

The release landed in the middle of a rumour that an AI lab had broken RSA-2048, which Elon Musk had repeated the day before. Plenty of coverage ran the two together.

They are different things. RSA is untouched by this work, as are code-based schemes, hash-based signatures and unstructured lattices. Germany's BSI, which looked into the RSA claim separately, found nothing substantiating it. We've written about that rumour on its own, because how it travelled is a story by itself.

The irony is fairly sharp. For a few days people worried that AI had broken the old locks, and what actually turned up was a theoretical dent in the new ones.

How to read this

Treat it as a weather report, not an alarm. Anthropic and the review group say the same thing: keep migrating to post-quantum cryptography, use the highest security levels available, and build systems where an algorithm can be swapped out without rewriting everything around it. That last idea, crypto-agility, is the real lesson. You want to be the kind of organisation that can change its locks quickly, because this will not be the last paper of its kind.

Watch the constants. Always. Nearly every alarming cryptography headline dies right here. An attack that is asymptotically better and practically impossible is a research result, not a threat, and that distinction almost never survives the trip into a news article. If you take one habit from this piece, take the habit of asking how big the numbers are.

The model found it and the machine checked it. Strip out the encryption drama and that is the part worth keeping. A system produced a non-trivial result in a hard field, and the proof was verified by something that cannot be talked into agreeing with it.

Three things to watch:

  • Whether anyone shrinks the constants. Galactic algorithms occasionally come back down to earth. Someone will try.
  • Whether NIST responds. It standardised the structured schemes. Even a calm public comment would tell you how seriously the committee takes the long-term point.
  • Whether unstructured lattices get another look. They are slower and their keys are bigger. If confidence in the structured versions keeps eroding, that cost starts to look worth paying.

The headline version of this week was that AI is coming for your encryption. The accurate version is that an AI wrote 283 pages of mathematics, had it checked by a proof assistant, and the people who published it told everyone to change nothing. Both are remarkable. Only one of them is true.


A note on sourcing: the technical details here come from Anthropic's published papers and the Cryptography Incident Review Group assessment as reported by Quantum Computing Report, along with Anthropic's own posts and commentary from Scott Aaronson. I have not read the 283-page lead paper myself, which seems worth admitting.

All posts

Enjoyed this issue?

Get the next one in your inbox. Free, one-click unsubscribe.