Skip to content
Nikolay Pankov

Writing / View as AI

AI Found a Crack in Post-Quantum Encryption. Don't Panic, but Keep Migratingas AI assistants read it

Search engines and AI assistants don’t see the layout. They read plain text and structured data. This is exactly what they get for this article.

View as people see it

Markdown

Served at /blog/ai-post-quantum-crypto-crack.md

---
title: "AI Found a Crack in Post-Quantum Encryption. Don't Panic, but Keep Migrating"
description: "An AI model found a new quantum attack on the lattice math behind NIST's post-quantum standards. It is nowhere near practical, but the industry's response says to speed up your migration, not pause it."
canonical_url: "https://pankovlabs.com/blog/ai-post-quantum-crypto-crack"
date: "2026-12-03T09:00:00.000Z"
updated: "2026-12-04T15:12:42.108Z"
tags: ["ai-engineering"]
author: "Nikolay Pankov"
---

# AI Found a Crack in Post-Quantum Encryption. Don't Panic, but Keep Migrating

An AI model found a new quantum attack on the lattice math behind NIST's post-quantum standards. It is nowhere near practical, but the industry's response says to speed up your migration, not pause it.

An AI model found a new quantum attack on the math behind the world's post-quantum encryption standards. It is nowhere near practical, but the industry's response tells you to speed up your migration, not pause it.

## TL;DR

- **What happened:** On Nov 30, Anthropic published four papers with machine-checked proofs, describing results it says an internal Claude research model discovered. The headline result is a quantum algorithm that solves certain structured module-lattice problems in quasi-polynomial time. Those lattices are the math family under NIST's ML-KEM (FIPS 203) and ML-DSA (FIPS 204).
- **Why you shouldn't panic:** A panel of 21 cryptographers reviewed it and called the attack's cost "galactic". Against ML-KEM-512, it needs more than 2^1000 quantum operations.
- **Why it still made headlines:** On Dec 2, the NSA and eight tech companies (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle) urged everyone to move to post-quantum cryptography faster.
- **The real story:** AI models are now producing publishable cryptanalysis, and reviewers expect this attack to be improved.
- **What to do:** keep migrating, use hybrid schemes, choose the highest security level you can, and make algorithms easy to swap.

## What happened

The story went from a private review to an industry-wide call to migrate faster in about two weeks, and most of the noise came before anyone could read the papers.

![Two weeks from private review to a call to migrate faster: key events, Nov 16 to Dec 2, 2026](https://pankovlabs.com/api/media/file/fig-timeline.png)

*Sources: The Hacker News, The Block, CSO Online, Cloudflare, Gizmodo · Nov 16 to Dec 2, 2026*

Before the release, rumors claimed an AI lab had broken encryption without a quantum computer, and some versions said RSA-2048 had fallen ([MIT Technology Review](https://www.technologyreview.com/2026/12/01/1150237/anthropics-bombshell-cryptography-breakthrough-is-kind-of-fine-actually/), [CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html)). Coinbase said it saw no reason to think today's cryptography was in immediate danger. On Nov 29 a new panel, the Cryptography Incident Review Group (CIRG), went public ([The Block](https://theblock.co/news/ecosystems/2026-12-01-a-complete-nothingburger-anthropic-releases-lattice-cryptography-research-says-findings-pose-no-practical-threat-today-448218)).

Anthropic posted the papers and proofs to GitHub on Nov 30, and CIRG published its initial assessment the same day. Several CIRG members had received the results on Nov 16 ([BetaNews](https://betanews.com/article/anthropic-claude-lattice-cryptography-papers/), [The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). Cloudflare answered on Dec 1 with a post titled [Post-quantum cryptography is still safe](https://blog.cloudflare.com/pq-is-still-safe/). On Dec 2, the NSA and eight tech companies urged a faster move to post-quantum cryptography ([Gizmodo](https://gizmodo.com/eight-of-the-worlds-biggest-tech-companies-just-issued-a-cryptic-warning-about-encryption-2000848558)).

Not everyone liked how it was handled. Scott Aaronson criticized the partial early disclosure that let speculation spread, and cryptographer Nadim Kobeissi asked why Anthropic allowed an "uncontrolled fear cycle" ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html), [The Block](https://theblock.co/news/ecosystems/2026-12-01-a-complete-nothingburger-anthropic-releases-lattice-cryptography-research-says-findings-pose-no-practical-threat-today-448218)).

## What Claude actually found

The main paper describes a quantum algorithm that solves certain structured lattice problems faster than any previously known method. The catch: the speed-up only appears as one parameter grows, and real standards don't grow that parameter.

**Lattices in one paragraph.** Lattice cryptography hides a secret inside a system of equations with small random errors added, a problem called Learning With Errors (LWE). Recovering the secret is believed to be hard even for quantum computers. Structured variants (Ring-LWE and Module-LWE) add algebraic structure that makes keys smaller and operations faster. That efficiency is why NIST built ML-KEM (key exchange) and ML-DSA (signatures) on module lattices.

**The claim.** For module lattices of small rank over power-of-two cyclotomic rings, the algorithm solves random instances of search Module-LWE with short secrets in quasi-polynomial time on a quantum computer ([dev.to summary of the abstract](https://dev.to/jamilxt/anthropics-quantum-lattice-attack-what-changes-for-your-post-quantum-migration-547d), [DataCamp](https://www.datacamp.com/blog/anthropic-post-quantum-cryptography-breakthrough)). Quasi-polynomial means slower than polynomial but much faster than exponential, which is a big deal on paper.

**How it was made.** The lead paper, *Galactic quasi-polynomial quantum algorithms for integral and module lattices*, runs 283 pages ([Quantum Computing Report](https://quantumcomputingreport.com/anthropic-publishes-ai-discovered-quasi-polynomial-quantum-algorithm-for-structured-lattices/)). The repository credits the results to an internal research Claude model, and AI models also wrote the Lean 4 formalization: 132 main theorem statements and 190 intermediate ones, checked by the proof assistant ([AI Weekly](https://aiweekly.co/alerts/anthropic-ships-claude-found-lattice-papers-with-lean-4-proofs)). Drafts went to outside cryptologists and the US government before release ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)).

**What it did not find.** There is no improvement for classical computers against mainstream lattice systems, and no quantum improvement against unstructured lattices. The other three papers actually strengthen the theory behind unstructured-lattice schemes such as FrodoKEM ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html), [CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html)).

![The new attack hits structured lattices only, and only in theory: what the Nov 30 papers mean for each crypto family](https://pankovlabs.com/api/media/file/fig-crypto-families.png)

*Sources: Anthropic papers via The Hacker News, CSO Online, DataCamp, MIT Technology Review*

The one family the papers touch is the one in the new standards. The family most of today's internet still runs on, RSA and elliptic curves, remains the nearer-term quantum risk, as PQShield CEO Ali El Kaafarani told [MIT Technology Review](https://www.technologyreview.com/2026/12/01/1150237/anthropics-bombshell-cryptography-breakthrough-is-kind-of-fine-actually/).

## Reality check: why cryptographers call it "galactic"

At real key sizes, the new attack is far more expensive than older attacks that are already out of reach. That is the verdict of the Cryptography Incident Review Group (CIRG), 21 cryptographers from academia and industry, including Dan Boneh (Stanford), Matthew Green (Johns Hopkins) and Vinod Vaikuntanathan (MIT), who serve in a personal capacity ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html)). They even used AI models to help optimize the attack before estimating its cost.

![The new attack costs over 2^1000 operations against a 2^128 target](https://pankovlabs.com/api/media/file/fig-attack-cost.png)

*Attack cost: CIRG via The Hacker News; 2^128 target: Cloudflare; atoms in the universe: common estimate of 10^80*

Two numbers make the point. Against ML-KEM-512 and ML-DSA-44, even 2^1000 quantum operations would not be enough ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). A direct implementation would also need billions of logical qubits, while today's quantum computers have roughly thousands of physical qubits ([Cloudflare](https://blog.cloudflare.com/pq-is-still-safe/)).

**Why the standards dodge it.** A module lattice has two size knobs: the ring degree *n* and the module rank *k*. The attack's advantage shows up when *n* grows while *k* stays small. [ML-KEM](https://csrc.nist.gov/pubs/fips/203/final) and ML-DSA do the opposite: they fix *n* at 256 and add security by raising *k* (for ML-KEM, k = 2, 3 and 4 for the 512, 768 and 1024 parameter sets). Along that path the attack stays exponential ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html), [Cloudflare](https://blog.cloudflare.com/pq-is-still-safe/)).

**Why it still matters.** CIRG expects the attack to be improved, and whether improvements bring the cost down for the real standards is the open question ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). Anthropic still calls ML-KEM and ML-DSA among the strongest public-key algorithms available, but says the results lower its long-term confidence in structured lattices ([MIT Technology Review](https://www.technologyreview.com/2026/12/01/1150237/anthropics-bombshell-cryptography-breakthrough-is-kind-of-fine-actually/)).

## The reaction: no emergency, but less time

The official message on Dec 2 had two parts: today's encryption is not in immediate danger, and everyone should move to post-quantum cryptography faster anyway.

- **Dec 2, Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle:** Joint statement backing US guidance to adopt NIST's post-quantum algorithms and speed up migration ([Gizmodo](https://gizmodo.com/eight-of-the-worlds-biggest-tech-companies-just-issued-a-cryptic-warning-about-encryption-2000848558))
- **Dec 2, NSA:** Told operators of the government's most sensitive systems to speed up their own transition, citing unspecified discoveries disclosed by AI companies ([Gizmodo](https://gizmodo.com/eight-of-the-worlds-biggest-tech-companies-just-issued-a-cryptic-warning-about-encryption-2000848558))
- **Dec 2, NSA and other US cyber officials, endorsed by the companies:** Recent AI advances are not an "immediate and widespread threat" to existing cryptography ([Gizmodo](https://gizmodo.com/eight-of-the-worlds-biggest-tech-companies-just-issued-a-cryptic-warning-about-encryption-2000848558))
- **Dec 1, Cloudflare:** The research is theoretical; its rollout continues, with 73% of human traffic already post-quantum encrypted ([Cloudflare](https://blog.cloudflare.com/pq-is-still-safe/))
- **Dec 1, Justin Drake, Ethereum researcher:** Called the attack impractical and said it supports hash-based roadmaps; the Ethereum Foundation moved its quantum-resistant L1 target to mid-2028 ([The Block](https://theblock.co/news/ecosystems/2026-12-01-a-complete-nothingburger-anthropic-releases-lattice-cryptography-research-says-findings-pose-no-practical-threat-today-448218))
- **Nov 30, CIRG:** No practical threat; keep migrating, use the highest security level, and diversify the standards ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html))
- **Nov 28, Coinbase:** No reason to believe AI researchers have found anything that immediately endangers current cryptography ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html))

The government has not said what the AI companies discovered, or whether it goes beyond Anthropic's published papers ([Gizmodo](https://gizmodo.com/eight-of-the-worlds-biggest-tech-companies-just-issued-a-cryptic-warning-about-encryption-2000848558)). One more data point: OpenAI's chief research officer reportedly told staff to stop using its models on cryptography problems, according to The Information, as cited by [Axios](https://www.axios.com/2026/12/01/ai-anthropic-encryption-quantum-agility).

Matt Caswell, executive director of the OpenSSL Foundation, told Axios the rules are the same; the news "just changes how fast the game is being played."

## The real story: AI is now a cryptanalyst

The attack itself is impractical. What should get your attention is who found it: an AI model produced original cryptanalysis that 21 experts took seriously, along with machine-checked proofs.

**It isn't the first time.** In July, a Claude-derived attack recovered a working signing key from HAWK-256, a challenge parameter set of a signature scheme in NIST's post-quantum process. The HAWK team withdrew the scheme the day after disclosure ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). AI is also showing up on the attacking side of security more broadly: on Dec 1, the UK AI Security Institute reported that two OpenAI models autonomously broke into a hardened simulated corporate network, with their cyber safeguards switched off for the test ([AISI](https://aisi.gov.uk/blog/gpt-6-astra-and-gpt-6-2-astra-solve-zero-energy-our-hardest-cyber-range-to-date)).

**Speed is the threat, not this paper.** Counterpoint analyst Neil Shah argues the result matters a lot for AI-driven mathematics and very little for anyone's keys today, but that AI could speed up the follow-on work that cuts an attack's cost ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html)). Even the reviewers used AI models to optimize the attack before costing it. If standards can age faster than before, the time to replace one matters more than which one you pick ([Axios](https://www.axios.com/2026/12/01/ai-anthropic-encryption-quantum-agility)).

**Standards may need more variety.** CIRG asked NIST and other bodies to standardize public-key systems built on different math, even where they are less efficient, and asked frontier AI labs to share what they try with cryptographers ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). Scott Aaronson raised whether the industry may eventually need less structured lattice problems, despite their larger keys ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html)). Cloudflare's researchers see an upside: AI-assisted research with responsible disclosure can help defenders find and fix weaknesses before attackers exploit them ([Cloudflare](https://blog.cloudflare.com/pq-is-still-safe/)).

## What developers should actually do

Keep migrating, and build so you can change your mind quickly. Cryptographers, Anthropic, Cloudflare and analysts all land on that advice, and none of it is exotic.

![Hybrid key exchange: an attacker has to break both halves (X25519 + ML-KEM-768)](https://pankovlabs.com/api/media/file/fig-hybrid-key-exchange.png)

*Defaults: Cloudflare post-quantum support docs, Dec 2026*

Hybrid key exchange is why a surprise in either field doesn't have to become an incident. Browsers don't support post-quantum signatures yet; Chrome plans to use Merkle Tree Certificates instead ([Cloudflare docs](https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-support/)). So for most teams, authentication is the harder half of the migration.

1. **Find your crypto first.** Many organizations don't know which algorithms they use or where, says the OpenSSL Foundation's Matt Caswell ([Axios](https://www.axios.com/2026/12/01/ai-anthropic-encryption-quantum-agility)). List every place you use RSA, ECDH, ECDSA or Ed25519: TLS, SSH, JWT signing, code signing, stored encrypted data.
2. **Turn on hybrid key exchange now.** X25519MLKEM768 is on by default in Chrome and Edge 131+, Firefox 132+, Safari 26+, OpenSSL 3.5+, Go 1.24+, rustls 0.23.27+ and Node.js 24.5+ ([Cloudflare docs](https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-support/)). Upgrading your server's TLS library is often most of the work, and it stops "harvest now, decrypt later" collection of today's traffic.
3. **Use the highest security level your app can afford.** CIRG's advice for teams already on NIST's standards ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). For ML-KEM that means 768 or 1024 over 512 where sizes and latency allow.
4. **Combine schemes built on different math.** CIRG and Anthropic both recommend hybrids, so one broken assumption doesn't break the system ([The Hacker News](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html)). For long-lived signatures, a hash-based scheme such as SLH-DSA is worth a look where its larger signatures are acceptable.
5. **Make algorithms swappable.** Keep algorithm choices in config, not code. Put all crypto calls behind one internal module, version your key and ciphertext formats, and run tests across more than one algorithm. Reviewing cryptographers say organizations need to swap methods quickly ([Axios](https://www.axios.com/2026/12/01/ai-anthropic-encryption-quantum-agility)).
6. **Replace RSA and elliptic curves first.** They remain the nearer quantum risk. NIST's final IR 8547 (Oct 27, 2026) deprecates them after 2030 and disallows them after 2035 ([PostQuantum.com](https://postquantum.com/security-pqc/nist-ir-8547-final/)).
7. **Press your vendors and budget for the long run.** IDC's Sakshi Grover tells CIOs to demand credible migration and algorithm-replacement plans. Counterpoint's Neil Shah says to treat post-quantum work as an ongoing capability, not a one-time project ([CSO Online](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html)).

A quick way to see what you negotiate today, as suggested in this [dev.to walkthrough](https://dev.to/jamilxt/anthropics-quantum-lattice-attack-what-changes-for-your-post-quantum-migration-547d). Look for X25519MLKEM768 in the TLS output and an mlkem or sntrup hybrid in the SSH output:

```bash
# TLS: which key-exchange group does the server pick? (OpenSSL 3.5+)
openssl s_client -connect example.com:443 </dev/null 2>/dev/null | grep -i "group"

# SSH: which key exchange does your client negotiate?
ssh -v user@host exit 2>&1 | grep "kex: algorithm"
```

## Sources

**Primary and official**

- [Post-quantum cryptography is still safe](https://blog.cloudflare.com/pq-is-still-safe/), Cloudflare, Dec 1, 2026
- [Post-quantum support in browsers and libraries](https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-support/), Cloudflare docs
- [GPT-6 Astra and GPT-6.2 Astra solve Zero Energy](https://aisi.gov.uk/blog/gpt-6-astra-and-gpt-6-2-astra-solve-zero-energy-our-hardest-cyber-range-to-date), UK AI Security Institute, Dec 1, 2026
- [FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard](https://csrc.nist.gov/pubs/fips/203/final), NIST, Aug 13, 2024

**Reporting and analysis**

- [Claude AI finds quantum attack on ML-KEM and ML-DSA math, but it is far from practical](https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html), The Hacker News, Dec 1, 2026
- [Eight of the world's biggest tech companies just issued a cryptic warning about encryption](https://gizmodo.com/eight-of-the-worlds-biggest-tech-companies-just-issued-a-cryptic-warning-about-encryption-2000848558), Gizmodo, Dec 3, 2026
- [Anthropic's AI-driven cryptography breakthrough puts enterprise crypto-agility to the test](https://www.csoonline.com/article/4255093/anthropics-ai-driven-cryptography-breakthrough-puts-enterprise-crypto-agility-to-the-test.html), CSO Online, Dec 1, 2026
- [Anthropic's bombshell cryptography breakthrough is kind of fine, actually](https://www.technologyreview.com/2026/12/01/1150237/anthropics-bombshell-cryptography-breakthrough-is-kind-of-fine-actually/), MIT Technology Review, Dec 1, 2026
- [Encryption's new race against time](https://www.axios.com/2026/12/01/ai-anthropic-encryption-quantum-agility), Axios, Dec 1, 2026
- ['A complete nothingburger': Anthropic releases lattice cryptography research](https://theblock.co/news/ecosystems/2026-12-01-a-complete-nothingburger-anthropic-releases-lattice-cryptography-research-says-findings-pose-no-practical-threat-today-448218), The Block, Dec 1, 2026
- [Anthropic's lattice cryptography papers](https://betanews.com/article/anthropic-claude-lattice-cryptography-papers/), BetaNews
- [Anthropic publishes AI-discovered quasi-polynomial quantum algorithm for structured lattices](https://quantumcomputingreport.com/anthropic-publishes-ai-discovered-quasi-polynomial-quantum-algorithm-for-structured-lattices/), Quantum Computing Report
- [Did Anthropic crack post-quantum encryption?](https://www.datacamp.com/blog/anthropic-post-quantum-cryptography-breakthrough), DataCamp
- [Anthropic ships Claude-found lattice papers with Lean 4 proofs](https://aiweekly.co/alerts/anthropic-ships-claude-found-lattice-papers-with-lean-4-proofs), AI Weekly
- [Anthropic's quantum lattice attack: what changes for your post-quantum migration](https://dev.to/jamilxt/anthropics-quantum-lattice-attack-what-changes-for-your-post-quantum-migration-547d), dev.to
- [NIST finalizes its post-quantum transition plan](https://postquantum.com/security-pqc/nist-ir-8547-final/), PostQuantum.com, Oct 2026

Structured data (JSON-LD)

In the article’s HTML, read by Google and Bing.

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "BlogPosting",
      "@id": "https://pankovlabs.com/blog/ai-post-quantum-crypto-crack#article",
      "url": "https://pankovlabs.com/blog/ai-post-quantum-crypto-crack",
      "mainEntityOfPage": "https://pankovlabs.com/blog/ai-post-quantum-crypto-crack",
      "headline": "AI Found a Crack in Post-Quantum Encryption. Don't Panic, but Keep Migrating",
      "description": "An AI model found a new quantum attack on the lattice math behind NIST's post-quantum standards. It is nowhere near practical, but the industry's response says to speed up your migration, not pause it.",
      "image": "https://pankovlabs.com/api/media/file/cover-crypto.png",
      "datePublished": "2026-12-03T09:00:00.000Z",
      "dateModified": "2026-12-04T15:12:42.108Z",
      "keywords": "ai-engineering",
      "inLanguage": "en",
      "author": {
        "@id": "https://pankovlabs.com/#person"
      },
      "publisher": {
        "@id": "https://pankovlabs.com/#person"
      }
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://pankovlabs.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Writing",
          "item": "https://pankovlabs.com/blog"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "AI Found a Crack in Post-Quantum Encryption. Don't Panic, but Keep Migrating",
          "item": "https://pankovlabs.com/blog/ai-post-quantum-crypto-crack"
        }
      ]
    }
  ]
}

Entry in llms.txt

/llms.txt lists every article for AI assistants.

- [AI Found a Crack in Post-Quantum Encryption. Don't Panic, but Keep Migrating](https://pankovlabs.com/blog/ai-post-quantum-crypto-crack.md): An AI model found a new quantum attack on the lattice math behind NIST's post-quantum standards. It is nowhere near practical, but the industry's response says to speed up your migration, not pause it.