Research10 min read

DeepMind's AI agents and legacy 1024-bit RSA: what was measured, what was proved and what is only estimated

Google DeepMind's two working papers on 1024-bit RSA contain one real computation, a 3.5x engineering speed-up on a known forgery benchmark, alongside proved results on padding and asymptotic estimates behind the 1,600x and 30x headlines. None threatens 2048-bit RSA.

On 6 November 2026 Google DeepMind announced that its AI agents, "guided by humans", had "uncovered two major weaknesses in legacy 1024-bit RSA cryptosystems". The company's own post added in the same breath that "modern 2048-bit systems remain safe from these specific exploits". Some coverage kept the first half and dropped the second. One widely shared headline described a "1,600x faster" way to expose encryption flaws, which is not what the underlying documents measured.

The substance sits in two DeepMind working papers: Modular Roots from a Restricted Oracle: Faster Affine Roots and a 1024-bit Computation and Fan Factories: Multiple Number Fields in Factorization Factories and Batch NFS, dated 5 November 2026. Both list the same twelve authors, including Pushmeet Kohli, Nadia Heninger (also affiliated with UC San Diego and Inria) and Emmanuel Thomé (also affiliated with Inria). Read closely, they contain three kinds of claim: one computation that was actually run, some results that are proved, and several cost estimates that are asymptotic and untested at real key sizes. This article separates them.

Background: what "breaking" RSA usually means

RSA security is normally benchmarked against factoring: factor the public modulus and you recover the private key. The fastest classical method for general integers is the general number field sieve (GNFS), whose cost is written as L[c], where a smaller constant c means a faster algorithm. Progress is usually measured by shaving small amounts off c.

An older line of work shows that some RSA tasks can be easier than factoring. In 2007 Antoine Joux, David Naccache and Emmanuel Thomé studied an attacker with temporary access to an "oracle" that computes RSA roots (in practice, a signing interface) on chosen inputs. Once access ends, the attacker must forge signatures for new random targets alone. They also defined an "affine" oracle that only accepts inputs of a fixed format with a small caller-chosen part, which models a device that pads the caller's data before signing.

Earlier in 2026, Laura Shea, Miro Haller, Adam Suhl, Nadia Heninger and Emmanuel Thomé put the unrestricted version into practice. Their ePrint article, Forging 1024-bit RSA signatures in nearly SNFS time, reports an attack on a 1024-bit key that "took 1380 CPU core-years over five calendar months, and made 2^32 oracle queries", using a hardware security module as the signing oracle. After the precomputation, they report, any chosen signature could be forged offline in 180 core-years. They did not exfiltrate the key. That computation is the benchmark DeepMind's agents went back to.

What was measured: a faster rerun of a known computation

The only full experiment in the DeepMind material is a rerun of the Shea et al. instance. According to the Modular Roots working paper, the agents used "the same algorithm, polynomials and bounds" on the same modulus. The first root (the first forged value) took 391 CPU core-years in total, 318 offline and 73 online, against 1,380 (1,200 and 180) reported in the earlier work. That ratio is the widely quoted 3.5x.

The paper is unusually direct about what that number means. Because both computations ran the same algorithm on the same inputs, "the factor of 3.5 is one of implementation and execution, not of algorithms". Most of the saving came from sieving, which the authors say accounts for 90% of it. On the same machine, their optimised fork of the open-source CADO-NFS siever was 1.8 to 4.4 times faster than the upstream version while finding the same relations. Other gains came from engineering choices within the same method, such as stopping part of the descent at the first valid relation and computing the final root with a different combination strategy. The paper states plainly: "None of these gains changes the asymptotic cost."

The 391 figure also has boundaries. The linear algebra ran on GPUs (about 330 GPU-hours reserved) and is not counted, and 7.5 core-years of trial runs and probes are excluded. The authors give their own adjusted comparisons: charging the GPU stage at the earlier CPU cost gives a factor of 3.4, and adding the probes gives 3.3. Careful secondary explainers, such as Sysseder and alfw.ai, report the same 3.3x adjustment.

The calendar time is mostly parallelism

The full-scale computation finished 3.2 days after the first full-scale sieving job, against about five months for the earlier team. The paper reports peaks of about 300,000 CPU cores and 16 GPUs, against an average of about 3,300 cores for Shea et al., and says the difference "reflects mainly parallelism". The "under four days" figure is the 3 days and 22 hours from the start of the design to the verified root. Neither describes a cheap attack.

What the measured run did not do

This is the point most often lost. The experiment computed an RSA root under the oracle model. It did not factor the 1024-bit modulus and did not recover the private key. The paper says its statements are "about the cost of computing roots after temporary access to the map; they do not recover the key." In the experiment, the oracle was a separate program that was the only component with access to the factorisation. It answered 4,055,916,065 queries in a 20-minute batch, after which it was withdrawn and the target was drawn. The paper puts the cost of actually factoring a 1024-bit modulus at an estimated 500,000 to 1,000,000 core-years, as cited from Shea et al., so the first root cost roughly 0.04% to 0.08% of that.

What was proved: when padding stops protecting

The more conceptually interesting part of the Modular Roots working paper concerns padding. Many signing interfaces do not sign arbitrary numbers. They wrap the caller's data in a fixed structure, such as the PKCS#1 v1.5 format, and that structure has long been assumed to make forgery harder.

The paper shows that this assumption has a sharp threshold. If the caller can choose roughly half the bits of the signed block, the fixed format "stops mattering": an affine oracle with that much freedom can simulate the unrestricted oracle using two queries per original query, plus a cheap two-dimensional lattice reduction. The core theorem is stated as proved "without heuristic assumptions" for windows slightly above half the bits. At exactly half the bits, the evidence is a measurement rather than a proof: across random 1024-bit moduli, 79.6% of re-randomisation attempts succeeded, or about 1.26 draws per query.

The paper maps this onto the PKCS#11 interfaces used by hardware security modules:

  • Raw signing (CKM_RSA_X_509): the unrestricted case, where the measured computation applies directly. The raw map is not an approved signature scheme.
  • PKCS#1 v1.5 with long caller data (CKM_RSA_PKCS): at 1024 bits, from 65 bytes of data upward the format is no obstacle, at twice the queries.
  • A caller-supplied 64-byte digest (for example SHA-512): exactly at the threshold, where the measurements show the reduction works.
  • A caller-supplied 32-byte digest (for example SHA-256): too little freedom, leaving the harder affine problem.
  • Digest computed inside the device (for example CKM_SHA256_RSA_PKCS): "outside both oracle models".

The paper calls this "a statement about a standard, not about a program", so it applies to every correct implementation of the format. It does not show that hashing is broken, and it does not identify any deployed product that meets the model's conditions.

What was only estimated: the 1,600x and 30x figures

The short-digest case

For the 32-byte case, the working paper gives a new algorithm for the affine problem that lowers the heuristic cost of computing one root, offline phase included, from L[1.8171] to L[1.5803]. With a larger offline phase, the online cost per root can approach L[1.3867]. These are asymptotic exponents that rest on the standard, unproven heuristics used throughout number field sieve analysis. The paper is explicit: "That result is asymptotic, and we did not run it at this size." Its open-questions section adds that this regime "has not been run at any cryptographic size" and that its offline phase is "far more expensive" in practice than for the unrestricted algorithm.

The "approximately 1,600 times" figure is not a measured result in the working paper. It comes from the announcement, as reported by Interesting Engineering, which says the new algorithm "theoretically improves upon the previous best attack by approximately 1,600 times for 1024-bit RSA keys". The same article's summary turns this into "up to 1,600 times faster", dropping the word "theoretically". The Fan Factories paper gives a 1024-bit factor of about 31.27 for converting exponent gaps into leading-order ratios; applied to the gap between 1.8171 and 1.5803, it gives a figure in the region of 1,600. That fits the announcement, but leading-order ratios ignore the o(1) terms and, in the authors' words elsewhere, do "not predict running times".

Fan factories and batch factoring

The second working paper is about economics rather than a single key. Since Don Coppersmith's work in 1993, it has been known that an attacker who must factor many integers of the same size can share some of the work. Coppersmith's "factorisation factory" precomputes the rational side of the sieve once, at a cost of L[2.007], then factors each integer at L[1.639]. With a smaller budget, the paper says, the factory "gives nothing", and the best per-integer cost for a budget of roughly one factorisation has been Coppersmith's multiple number field sieve (MNFS), at L[1.902].

The new idea gives each target integer its own "fan" of number fields, all fed by the shared precomputed rational side. With a precomputation equal to one GNFS run, each further integer costs L[1.7929] instead of L[1.9019]. At 1024 bits and at leading order, the paper translates this into about 1/58 of the cost of one GNFS run per extra integer, or about 30 times less than MNFS. Counting the precomputation, three or more integers already cost less this way than with MNFS. The algebraic identities and exact feasibility witnesses behind the main theorems are machine-checked in Lean 4, while the calculus arguments were proved in the text and checked numerically.

The limits are written into the paper itself:

  • "No fan factory has been implemented", and the authors make "no claim about the size at which it would overtake a well-tuned implementation of the number field sieve".
  • The 30x and 1/58 figures are leading-order estimates from heuristic exponents, "not measurements".
  • Memory is a second obstacle: at a budget of one GNFS run, the stored table holds on the order of 2^75 pairs at 1024 bits, at leading order.
  • For a single integer, "nothing changes". With unlimited precomputation, Coppersmith's original factory remains optimal, so the fan is "not a new lower floor".
  • For batches factored together without precomputation, the gain is at most 0.018 in the exponent, a leading-order factor of at most 1.75 at 1024 bits.

The paper's leading-order ratios grow at larger sizes, but it rules out a 2048-bit threat directly: the fan factory must first spend a precomputation as costly as factoring one integer of the target size, about 2^117 operations at 2048 bits, and lowers only the cost of each further integer.

Threat model: who would actually be exposed

The conditions for the signature result to matter are narrow. The attacker needs direct calls to a signing interface with chosen inputs, not calls through an application that hashes first, and about four billion of them, all before the target is known. The key must be 1024-bit, a size the paper notes NIST guidance no longer approves for generating signatures, and the interface must be raw or give the caller about half the signed block. Shea et al. name blind RSA schemes as another setting with a signing oracle, so the category is not purely hypothetical.

The batch result matters to an attacker targeting a large population of same-size legacy keys, who can afford a precomputation the size of a full 1024-bit factorisation plus enormous storage. Even then, the advantage is an estimate for a machine nobody has built.

Both working papers state that the results "don't threaten deployed cryptosystems today that are based on 2048-bit and larger RSA" (the Fan Factories wording is "do not").

Where the AI agents fit

The most concrete AI claim is about engineering. Section 6 of the Modular Roots paper describes a supervisor agent that wrote the design, set budgets and audited results, and an executor agent that wrote and ran the code: about 33,500 new lines, 336 distributed experiments and 16,292 tool calls. The human researcher chose the problem and instance, approved the conditions for irreversible steps such as the oracle batch, and sent about 20 messages, mostly approvals. The paper says the researcher "wrote no code, launched no job and diagnosed no fault".

The paper also lists failures that only appeared at full scale, including a 32-bit index overflow that made the first computed root wrong; it was caught because the root failed verification. This is competent, closely checked execution of a known pipeline with public code as the reference. As alfw.ai notes, that is a different claim from originating the method, and the paper does not make it. The Fan Factories results came from a two-agent harness in which one model generated proofs and another verified them.

What is still unknown

Both documents are labelled working papers. The sources reviewed for this article report no independent replication and no peer review. Coverage also differed on availability: Data Studios wrote that a full paper on the signature result was not public when it went to press, while Neural Brew and alfw.ai link to the Modular Roots PDF, which can now be opened. Complete proofs and parameters are deferred to a "full version" not included in the documents opened here.

Why the distinctions matter

Collapsing these results into "AI makes RSA attacks 1,600 times faster" turns an asymptotic estimate into a measurement, treats signing-oracle forgery as key recovery, and implies relevance to the 2048-bit keys most systems use. The defensible summary is narrower: a known 1024-bit forgery computation now costs about 3.5 times less CPU time through better engineering; PKCS#1 v1.5 padding adds no protection once a caller controls about half the signed block; and new theoretical routes could, if they work in practice, make breaking many legacy keys cheaper.

For organisations, the practical response is the long-standing one: retire remaining 1024-bit RSA keys, and check whether any signing interface accepts raw values or long caller-chosen data. Sysseder suggests labelling every claimed speed-up as measured, theoretical or independently reproduced, alongside the queries, hardware and storage behind it. That habit will serve for the next announcement too.

Sources

  1. Google DeepMind: Modular Roots from a Restricted Oracle: Faster Affine Roots and a 1024-bit Computation (working paper, PDF)storage.googleapis.com
  2. Google DeepMind: Fan Factories: Multiple Number Fields in Factorization Factories and Batch NFS (working paper, PDF)storage.googleapis.com
  3. Google DeepMind on LinkedIn: Advancing the frontier of cryptanalysislinkedin.com
  4. Shea, Haller, Suhl, Heninger and Thomé: Forging 1024-bit RSA signatures in nearly SNFS time (Cryptology ePrint Archive 2026/2131)eprint.iacr.org
  5. Interesting Engineering: 1,600x faster: Google DeepMind agents expose weaknesses in older encryption methodsinterestingengineering.com
  6. Sysseder: What DeepMind's RSA-1024 research actually showssysseder.com
  7. alfw.ai: DeepMind's Agents Cut a 1024-Bit RSA Computation to 391 Core-Yearsalfw.ai
  8. Data Studios: Google DeepMind AI agents find two weaknesses in legacy 1024-bit RSAdatastudios.org
  9. Neural Brew: Google DeepMind: AI Agents Find Two Weaknesses in 1024-Bit RSAneuralbrew.ai