Anthropic's lattice breakthrough: Is post-quantum cryptography the beginning of a mathematical arms race?

Anthropic's lattice breakthrough: Is post-quantum cryptography the beginning of a mathematical arms race?

Anthropic's recent AI-assisted mathematical research has opened a new theoretical avenue for attacking certain lattice problems underlying post-quantum cryptography (PQC). The good news is that the new attack does not improve on existing attacks against standardized ML-KEM or ML-DSA parameters. There is no immediate reason to abandon these algorithms. But the discovery raises a broader question: what happens when AI substantially accelerates mathematical discovery? For digital signatures, this may reinforce the importance of conservative security assumptions, mathematical diversity, and most of all, crypto agility.

What does this mean for code signing today?

For now, very little changes. As IBM Research explains, the new algorithm has theoretically significant properties but remains prohibitively expensive at the parameter sizes used by current standards. Its discovery does not establish a reduction in the concrete security of ML-DSA (Dilithium), nor does it establish an attack against Falcon, which is also lattice-based.

The implications of cryptographic breakthroughs differ between encryption and signing. Encrypted communications can be collected today and decrypted years later. Digital signatures primarily face the risk of future forgery. However, once a signature algorithm becomes forgeable, distinguishing authentic historical signatures from newly fabricated ones can also become difficult.

Trusted timestamps can help in theory, but only if their own cryptographic foundations remain trustworthy. In practice, they often build on the same standards and formats and are therefore limited to the same key constraints and algorithms. Archival evidence with re-signing capability provides a more straightforward route to deal with future cryptographic vulnerabilities.

Code signing presents a particular challenge: software and firmware may remain in service for decades. Changing the algorithm used to sign new releases is relatively straightforward compared with updating millions of deployed verification endpoints, especially embedded devices and secure boot implementations.

There is no reason to interrupt PQC migration plans. There is every reason to make sure they accommodate future changes and already plan for a potential loss of trust in existing signatures and changes in verification algorithms and requirements.

Are we entering a mathematical arms race?

Cryptography has always been subject to an arms race between algorithm designers and cryptanalysts. AI could substantially accelerate it, especially in the field of mathematical advances (as opposed to finding implementation weaknesses).

But the consequences depend on the nature of the mathematical discovery. Optimizing an existing attack may reduce security margins and require larger parameters. A fundamentally new mathematical approach could undermine the assumptions behind an entire family of algorithms. Conversely, AI can also help establish stronger theoretical foundations and improve our confidence in cryptographic constructions.

As Cloudflare points out, accelerated discovery changes how quickly we understand the security of an algorithm, not its inherent security.

If a mathematical shortcut exists, we may increasingly need to assume that it will be discovered. That makes the choice of underlying security assumptions particularly important. It also creates a potential mismatch between the speed of mathematical discovery and the time required to standardize, implement and deploy new cryptography.

Could we avoid this dependence on mathematical hardness altogether?

Why quantum cryptography is not the answer

Despite the similarity in terminology, quantum cryptography and post-quantum cryptography address different problems. PQC uses classical algorithms designed to resist quantum attacks. Quantum key distribution (QKD), by contrast, exploits physical properties of quantum systems to establish shared secrets.

The appeal of information-theoretic security is obvious: security can rest on solid principles and need not depend on the absence of an undiscovered efficient mathematical attack.

Unfortunately, establishing a shared secret between two parties is very different from creating a signature that anyone can independently verify. If a signature and its verification key are freely copyable classical data, an attacker with unlimited computational power can simply search for a signature that passes verification.

Research into quantum digital signatures explores ways around this limitation, typically involving quantum verification material, pre-established relationships or additional infrastructure. No known approach offers a practical replacement for conventional signatures while preserving all their essential properties.

For code signing, the recipients may be unknown when the software is signed. For document signing, an independent third party may need to verify a signature years later. Both applications depend on precisely the kind of universal verifiability that makes information-theoretic security so difficult to achieve.

SLH-DSA: A conservative but imperfect safety net

Fortunately, not all mathematical security assumptions are equally exposed to new cryptanalytic techniques.

Alongside ML-DSA, NIST standardized SLH-DSA (based on SPHINCS+), a stateless hash-based signature algorithm. Its security relies on comparatively conservative assumptions about cryptographic hash functions rather than the hardness of structured lattice problems.

This does not make it immune to cryptanalysis. But it provides an independent foundation based on well-established primitives, making it a particularly valuable alternative if confidence in lattice-based signatures declines.

The trade-off is efficiency. SLH-DSA signatures range from approximately 8 to 50 KB, and its computational requirements can be substantial. While these costs may be acceptable for server and desktop software distribution, they can be problematic for constrained embedded systems.

Stateful hash-based signatures such as LMS and XMSS offer smaller signatures and can improve verification performance. However, they introduce an additional operational risk: reusing a one-time signing key can compromise security. Maintaining signing state reliably across concurrent operations, failover and disaster recovery makes them particularly challenging for general-purpose signing infrastructure, although they remain attractive for controlled firmware signing environments.

NIST's search for a better alternative

NIST recognized the importance of mathematical diversity well before Anthropic's latest research. Its additional post-quantum signature competition seeks practical alternatives to the initial standards, exploring approaches based on different mathematical foundations, from multivariate equations and isogenies to symmetric primitives.

One particularly interesting candidate is FAEST. It offers asymmetric, publicly verifiable signatures based on symmetric cryptography.

The principle is surprisingly intuitive: the signer demonstrates knowledge of a secret AES key that maps a public input to a public output, without revealing the key. A message-bound zero-knowledge proof turns this demonstration into a digital signature that anyone can verify.

FAEST builds on a proof technique introduced in 2023, after NIST had selected its original signature algorithms. It offers more compact signatures than SLH-DSA at comparable security categories for certain parameter sets, while relying on familiar symmetric cryptographic primitives.

Its more complex and relatively young proof construction still requires extensive scrutiny. FAEST is not a standardized algorithm, nor is it necessarily as conservative as SLH-DSA. Nevertheless, it illustrates a promising direction: improving the practicality of digital signatures without introducing another specialized algebraic hardness assumption.

The competition has already shown how fast things can move: HAWK, the lattice-based candidate, was withdrawn from the process in July 2026 after a classical key-recovery attack. That attack is unrelated to Anthropic's work, but it illustrates the point that even a promising lattice design can lose its footing within a single standardization cycle.

Crypto agility as a permanent requirement

Post-quantum migration is often described as a transition from one generation of cryptographic algorithms to another. AI-assisted mathematical discovery suggests that we should prepare for something more continuous.

Mathematical diversity may become a permanent requirement. Hybrid signatures combining independent algorithms could provide additional protection, provided verifiers require all component signatures to be valid.

Centralized signing infrastructure can make algorithm transitions easier, but crypto agility must extend beyond signing itself. Artifact formats, certificates, trust anchors, timestamps and deployed verification systems all need to accommodate change.

For organizations preparing for post-quantum code signing, the conclusion is not to wait for a better algorithm. It is to continue preparing for PQC without committing the entire software trust ecosystem to a single mathematical foundation.

The goal is not merely quantum-safe cryptography. It is lasting cryptographic resilience through crypto agility.

SignPath: crypto agility in code signing

With SignPath, organizations can centralize code signing, manage cryptographic keys and signing policies independently of their build pipelines, and re-sign software releases as security requirements evolve. Read more about crypto agility support in SignPath.