---
url: 'https://www.corbado.com/blog/anthropic-lattice-attack-ml-dsa-passkeys'
title: 'Anthropic Lattice Attack: Why ML-DSA Passkeys stay safe'
description: 'Anthropic lattice attack explained: are ML-DSA passkeys still safe? Why the new quantum algorithm is far from practical and ES256 passkeys break first.'
lang: 'en'
author: 'Vincent Delitz'
date: '2026-12-03T16:10:43.776Z'
lastModified: '2026-12-03T16:12:17.234Z'
keywords: 'anthropic lattice attack, anthropic lattice papers, module-lwe quantum algorithm, ml-dsa lattice attack, cirg lattice assessment, ml-dsa-87 pubkeycredparams'
category: 'WebAuthn Know-How'
---

# Anthropic Lattice Attack: Why ML-DSA Passkeys stay safe

## Key Facts

- **ML-DSA passkeys stay safe** after Anthropic's lattice papers of 30 November 2026: at
  real key sizes, the new quantum algorithm is far slower than existing attacks.
- Anthropic's algorithm targets **Module-LWE**, the lattice problem behind ML-KEM and
  ML-DSA. Its own analysis gives no useful success guarantee for the three standardized
  ML-DSA parameter sets.
- Cloudflare estimates the attack needs **at least billions of logical qubits**, while
  today's quantum computers have only thousands of physical qubits.
- **ES256**, used by many passkeys today, is an elliptic curve algorithm. Estimates for a
  comparable curve are up to about 1,200 logical qubits, so elliptic curves are expected
  to fall long before lattice-based ML-DSA.
- Cryptographers recommend the highest security level an application can support. Once
  your server verifies ML-DSA, list **ML-DSA-87** first in pubKeyCredParams and keep
  ES256 and RS256 as fallback.

## 1. Introduction

On 30 November 2026 Anthropic released four papers on lattice cryptography, based on
results from an internal Claude model, with Lean 4 proofs for the main results. The headline result is a quantum
algorithm that solves a math problem behind the post-quantum standards ML-KEM and ML-DSA
faster than before. Headlines soon asked whether post-quantum cryptography was broken.

For identity teams that have just started adding ML-DSA to passkey registration, our
assessment is clear: do not pause. The attack is far from practical at real key sizes and
gives no useful success guarantee against the standardized ML-DSA sets. The elliptic curve signatures in today's
passkeys remain the far weaker link. Our guide
[Are Passkeys quantum safe?](https://www.corbado.com/blog/are-passkeys-quantum-safe) covers the basics of
post-quantum passkeys.

This article explains what lattices are, what Anthropic found, why ES256 falls first and
what relying parties should do now.

## 2. Lattices hide Keys in a Grid of Points

ML-KEM (key exchange) and ML-DSA (signatures, used for passkeys) are both built on
lattices. A lattice is a grid of points, like the crossings on graph paper. These are the
lattice points, and the steps between them are the lattice vectors. On paper the grid has
two dimensions, so every point has two coordinates. The security comes from the number of
dimensions: ML-DSA uses more than a thousand instead of two.

### 2.1 Keys hide behind a moved Point (Module-LWE)

The private key is a list of small secret numbers. A public calculation turns them into
one point in the grid: the point from the secret. To build the public key, this point is
moved by a small random amount and the moved point is published (ML-DSA also rounds it).
This small random move is called the noise or error, which gives the problem its name:
Learning with Errors (LWE).

To break the key, an attacker has to work back from the public point to the point it came
from and to the secret behind it.
On graph paper you see this at a glance: you take the nearest crossing. ML-KEM and ML-DSA
keys both rely on this problem.

### 2.2 Signatures need a short Vector (Module-SIS)

Everyone can see long vectors between points in the grid. Forging a signature without the
private key would need a **short** vector that also satisfies a public equation set by the
public key. Finding such a vector is the Short Integer Solution problem (SIS). Its
difficulty helps protect ML-DSA against forged signatures.

![Module-LWE moves a point derived from the secret to a public point, Module-SIS asks for a short vector that fits a public equation: keys hide behind a moved point, signatures behind a short vector](https://www.corbado.com/website-assets/module_lwe_module_sis_lattice_explainer_v2_94df237337.jpg)

### 2.3 Hundreds of Dimensions make both Problems hard

In two dimensions both problems are easy. ML-DSA works in 1,024 to 1,792 dimensions, so
every point has more than a thousand coordinates. Every extra dimension makes the search
harder, and the best known methods need exponentially more time as the dimensions grow.

"Module" means the grid is built from building blocks. Each block is a list of 256
numbers and adds 256 dimensions. The blocks keep keys compact and fast, because a few
blocks describe the whole grid:

| Standard     | Blocks | Dimensions |
| ------------ | ------ | ---------- |
| ML-KEM-512   | 2      | 512        |
| ML-KEM-768   | 3      | 768        |
| ML-KEM-1024  | 4      | 1,024      |
| ML-DSA-44    | 4      | 1,024      |
| ML-DSA-65    | 5      | 1,280      |
| ML-DSA-87    | 7      | 1,792      |

ES256 and RSA hide their keys in problems with a repeating pattern that Shor's algorithm
exploits. Lattices have no such pattern, which is why they carry the post-quantum
standards.

## 3. Anthropic found a faster Quantum Algorithm for Module-LWE

### 3.1 An internal Claude Model found the Results

Anthropic announced the results on
[X](https://x.com/AnthropicAI/status/2127538548119339339) and published the papers with
a Lean 4 formalization in its
[formal-math repository](https://github.com/anthropics/formal-math/tree/main/lattices).
According to the repository, the results "were discovered by an internal research Claude
model". Anthropic shared drafts with outside cryptographers and the US government before
publication.

### 3.2 The Gain only appears far beyond real Key Sizes

Anthropic's algorithm attacks the moved point from section 2.1: it tries to recover the
secret behind the public point faster than known methods. The paper proves a long-run
speed advantage as each building block grows, under specific conditions. ML-KEM and
ML-DSA keep every block at 256 numbers and add security with more blocks, and the
attack's cost grows steeply with the number of blocks. For passkeys this means:

- **ML-DSA keys:** the paper's analysis gives no useful success guarantee for recovering
  a key in any of the three standardized ML-DSA parameter sets.
- **ML-DSA signatures:** the main paper also gives a theoretical algorithm for some
  Module-SIS problems (section 2.2). It leaves the Module-SIS settings used by ML-DSA
  outside its analysis.
- **Other lattice schemes:** the three companion papers give stronger theoretical support
  for cryptography based on unstructured lattices, which have no building blocks.

## 4. The Attack is far from practical at real Key Sizes

Anthropic writes: "For real-world key sizes, the method is still dramatically slower
than the methods that already exist." It adds that the results "do not have practical,
real-world consequences for today's security systems".

Two outside assessments came to the same result:

- **Cryptography Incident Review Group:** a group of 21 cryptographers, among them Dan
  Boneh, Chris Peikert and Vadim Lyubashevsky, writes in its
  [initial assessment](https://cirg.org/statements/1/) that "even (say) 2^1000 quantum
  operations would be far below its cost" for the smallest sets, ML-KEM-512 and
  ML-DSA-44.
- **Cloudflare:** the
  [Cloudflare analysis](https://blog.cloudflare.com/pq-is-still-safe/) estimates that the
  attack needs "at least billions of logical quantum bits" for a straightforward
  implementation. For the smallest ML-DSA set it puts the cost
  "of the order of 2^x, for values of x greater than a thousand, whereas the target
  security level is 2^128".

Today's quantum computers have in the order of thousands of physical qubits. According
to Cloudflare, they would need to grow 10 to 100 times to break classical cryptography.
The review group expects "that the attack will be improved in the near future", so we
will update this article when it is.

## 5. Elliptic Curves fall long before Lattices

Many passkeys today sign with ES256, ECDSA on the P-256 curve. Shor's algorithm breaks
elliptic curves and RSA. Published estimates are up to about 1,200 logical qubits for the
curve secp256k1 and about 1,400 for RSA-2048. The chart compares this with Anthropic's
lattice attack on a power-of-10 scale:

```mermaid
---
config:
  xyChart:
    width: 900
    height: 450
---
xychart-beta
    title "Published logical-qubit estimates (power of 10)"
    x-axis ["secp256k1 ≤1,200", "RSA-2048 ~1,400", "Anthropic lattice attack ~billions"]
    y-axis "Logical qubits, 10^x" 0 --> 10
    bar [3.1, 3.1, 9]
```

_Sources: [Babbush et al., March 2026](https://eprint.iacr.org/2026/625) (secp256k1),
[Gidney, May 2025](https://arxiv.org/abs/2505.15917),
[Cloudflare, December 2026](https://blog.cloudflare.com/pq-is-still-safe/) (estimate)._

The Babbush et al. estimate is for secp256k1. ES256 uses P-256, a curve of the same size
that was outside that estimate. The billions are Cloudflare's estimate. The paper itself gives no
qubit number. Cloudflare sums it up: quantum computers "are far more likely to break
elliptic curves and RSA before lattices".

The Anthropic papers make the case for ML-DSA in passkeys stronger. The algorithm in
your credential table today is the one with the short timeline. Our post-quantum passkey
guide covers the NIST and EU deadlines for ECDSA P-256.

## 6. ML-DSA-87 is the highest standardized Level

The Cryptography Incident Review Group recommends that teams "choose the highest security
level each application can support". ML-DSA-87 is the highest standardized security
level. Prefer it when your server can verify it and your deployment can handle the larger
keys and signatures. The published analysis leaves the attack's relative impact across
the three levels open.

[RFC 9964](https://www.rfc-editor.org/rfc/rfc9964) assigns each of the three levels its
own COSE identifier: ML-DSA-44 is `-48`, ML-DSA-65 is `-49` and ML-DSA-87 is `-50`.
[1Password](https://www.corbado.com/blog/1password-passkeys-best-practices-analysis) supports creating ML-DSA
passkeys on compatible clients when the site offers it.

## 7. Relying Parties should keep ML-DSA first in pubKeyCredParams

The plan stays. The papers only add a reason to prefer the highest ML-DSA level:

- **Verify before you advertise:** your server must verify ML-DSA signatures before
  ML-DSA goes into `pubKeyCredParams`. Check that your WebAuthn library supports it and
  that columns and payload limits fit ML-DSA-87: 2,592-byte public keys and 4,627-byte
  signatures.
- **List ML-DSA-87 first:** order `pubKeyCredParams` as `-50`, `-49`, `-48` and keep
  ES256 (`-7`) and RS256 (`-257`) as fallback. Client and authenticator try the
  highest-ranked algorithm they can create. Registration fails only if they support none
  of them.
- **Check the returned algorithm:** authenticators do not always follow the list. In our
  Safari 27 test, Apple Passwords returned an ES256 passkey to a request that listed only
  ML-DSA.
  Your server should reject every credential whose algorithm was not requested.
- **Monitor the rollout:** after the change, watch registration errors and completion by
  browser and operating system for a few days.
- **Stay crypto-agile:** keep the algorithm configurable, so you can switch again without
  a schema change. Anthropic recommends "agile systems that can be switched quickly".

The flow below shows what happens at registration with this order:

```mermaid
flowchart LR
    classDef ok fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px;
    classDef neutral fill:#e3f2fd,stroke:#1565c0,stroke-width:2px;
    R["Registration request<br/>pubKeyCredParams: -50, -49, -48, -7, -257"]:::neutral
    classDef fail fill:#ffebee,stroke:#c62828,stroke-width:2px;
    R -->|"Supports ML-DSA (e.g. 1Password)"| P["Highest supported ML-DSA level<br/>post-quantum"]:::ok
    R -->|"No ML-DSA support"| O["ES256 or RS256 passkey<br/>as before"]:::neutral
    R -->|"Supports none of them"| F["Registration fails"]:::fail
```

Users with a capable authenticator get a post-quantum passkey at the highest level it
supports. Everyone else keeps registering with ES256 or RS256. How `pubKeyCredParams` negotiation works in detail is covered in
our article on
[pubKeyCredParams and credentialPublicKey](https://www.corbado.com/blog/webauthn-pubkeycredparams-credentialpublickey).

## 8. Leadership needs one Answer: the Post-quantum Plan stays

Expect the headline to reach your security team and leadership. Two sentences answer it:

> Cloudflare estimates that the new attack needs billions of qubits, while estimates for
> elliptic curves like those in today's passkeys are about 1,200. Our post-quantum plan stays and the
> papers make it stronger.

## 9. How Corbado can help

A post-quantum rollout fails quietly when an authenticator ignores the requested
algorithm or rejects the new request. Server logs often do not show which device did what.

The free [Passkeys Debugger](https://www.passkeys-debugger.io) shows it for one device.
Its
[post-quantum preset](https://www.passkeys-debugger.io/?preset=create-post-quantum-passkey)
requests ML-DSA-87, ML-DSA-65 and ML-DSA-44 without an ES256 fallback and shows which
algorithm your authenticator returns. This is how we found the Safari 27 behaviour.

[Corbado Observe](https://www.corbado.com/observe) helps you see it across your production logins:

[Video: Authenticator inventory](https://www.corbado.com/videos/features/authenticator-inventory.mp4) ([See Passkey Inventory in Corbado Observe](https://www.corbado.com/observe/authenticator-inventory))

- **[Authenticator Inventory](https://www.corbado.com/observe/authenticator-inventory):** see which credential
  managers and security keys your users have registered, to spot the providers that may
  support ML-DSA. The algorithm stored with each credential shows how many already use
  ML-DSA.
- **[Passkey Errors](https://www.corbado.com/observe/passkey-errors):** after you add ML-DSA to registration,
  compare errors by browser and operating system to catch authenticators that mishandle
  the new request.

To see this for your own login, [book a demo](https://www.corbado.com/contact).

## 10. Conclusion

Anthropic's papers are a real mathematical advance, found by an AI model and with Lean
proofs for the main results. They do not break ML-DSA and elliptic curves remain the weak link. Our
recommendation: keep adding ML-DSA to passkey registration, list ML-DSA-87 first and
keep ES256 and RS256 as fallback until authenticator support catches up.

## Frequently Asked Questions

### Did Anthropic break ML-DSA?

No. Anthropic published a quantum algorithm that solves Module-LWE, a lattice problem
behind ML-KEM and ML-DSA, asymptotically faster than before. At the key sizes used in
practice it is far slower than existing attacks. Its own analysis gives no useful success
guarantee for the three standardized ML-DSA parameter sets. Anthropic still calls ML-KEM and ML-DSA two of the
strongest public key algorithms available.

### What is a lattice in post-quantum cryptography?

A lattice is a grid of points, like the crossings on graph paper but in hundreds of
dimensions. ML-KEM and ML-DSA turn the secret into a point, move it by a small random amount and
publish the moved point. Working back to the secret is very hard for classical and quantum
computers.

### How many qubits would the Anthropic lattice attack need?

The paper gives no concrete number. Cloudflare estimates at least billions of logical
qubits for a straightforward implementation. Breaking the elliptic curve secp256k1 takes
up to about 1,200 logical qubits according to Babbush et al. (2026). ES256 uses P-256, a
curve of the same size, so elliptic curves are expected to fall long before lattices.

### Should relying parties stop adding ML-DSA to pubKeyCredParams?

No. The Cryptography Incident Review Group recommends continuing the transition to
post-quantum cryptography and choosing the highest security level each application can
support. Once the server verifies ML-DSA, list ML-DSA-87 first and keep ES256 and RS256
as fallback.

### How can I test whether my authenticator creates ML-DSA passkeys?

Use the post-quantum preset of the Passkeys Debugger. It requests ML-DSA-87, ML-DSA-65 and
ML-DSA-44 without an ES256 fallback and shows which algorithm your authenticator returns.
