FreeNew: the 58-page Authentication Analytics Whitepaper on the 10 login KPIs that matterDownload
Back to Overview

Anthropic Lattice Attack: Why ML-DSA Passkeys stay safe

Anthropic lattice attack explained: are ML-DSA passkeys still safe? Why the new quantum algorithm is far from practical and ES256 passkeys break first.

Vincent Delitz
Vincent Delitz

Created: December 3, 2026

Updated: December 3, 2026

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? 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.

Debugger Icon

Experiment with passkey flows in the Passkeys Debugger.

Try for Free

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.

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:

StandardBlocksDimensions
ML-KEM-5122512
ML-KEM-7683768
ML-KEM-102441,024
ML-DSA-4441,024
ML-DSA-6551,280
ML-DSA-8771,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 and published the papers with a Lean 4 formalization in its formal-math repository. 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 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 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:

Sources: Babbush et al., March 2026 (secp256k1), Gidney, May 2025, Cloudflare, December 2026 (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.

Igor Gjorgjioski Testimonial

Igor Gjorgjioski

Senior Product Lead, VicRoads

We hit 80% mobile passkey activation across 5M+ users without replacing our IDP.

See how VicRoads scaled passkeys to 5M+ users, alongside their existing IDP.

Read the case study

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 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 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:

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.

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.

Demo Icon

Try passkeys in a live demo.

Try Passkeys

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 shows it for one device. Its post-quantum preset 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 helps you see it across your production logins:

See Passkey Inventory in Corbado 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: 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.

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.

Corbado

About Corbado

Corbado is the Passkey Intelligence Platform for large-scale CIAM teams running consumer authentication. We help you see what IDP logs and generic analytics tools can't: where passkeys, passwords, OTP, social login and fallback journeys succeed, stall or fail, which devices and browsers create friction, and when an OS update silently breaks login. Two products: Corbado Observe layers process mining and observability across authentication journeys. Corbado Connect adds managed passkeys with analytics built in alongside your IDP. VicRoads runs passkeys for 5M+ users with Corbado (more than 80% passkey activation rate). Talk to a Passkey Expert →

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.

See what's really happening in your passkey rollout.

Book a Demo

Share this article


LinkedInTwitterFacebook