DeepMind papers: AI agents lower the cost of two attacks on legacy 1024-bit RSA
Two working papers posted on 6 November report a 3.5-fold cheaper repeat of a known 1024-bit signature computation and a theoretical speed-up for factoring many keys. The authors say their results do not threaten deployed 2048-bit RSA today.

Google DeepMind posted two working papers on Friday 6 November in which, it says, AI agents lowered the cost of two kinds of attack on 1024-bit RSA, a key size NIST guidance no longer allows for new signatures. The first paper says its results "don’t threaten deployed cryptosystems today that are based on 2048-bit and larger RSA", and the second says the same.
Pushmeet Kohli, a DeepMind vice-president and co-author, announced the papers the same day in an article on X.
RSA and why 1024 bits matters
Kohli's announcement explains the idea behind RSA: "multiplying two large prime numbers together is easy, but reversing that process (factorising their product) is computationally much harder." The size of that product sets how hard the reverse step is. NIST's guidance (SP 800-131A Rev. 2, 2019) says an RSA modulus "shall be 2048 bits or more" for US federal use. It allows 1024-bit keys only for verifying old signatures, not for making new ones.
Paper 1: forging signatures with temporary access
"Modular Roots from a Restricted Oracle" studies an attacker who can feed chosen inputs to a signing device for a while. Once that access ends, the attacker must produce signatures on random messages.
- Padding. The authors prove that a fixed signing format stops mattering once the caller supplies slightly more than half of the signed block, at the price of two queries per query. At 1024 bits that covers PKCS#1 v1.5 with more than half a block of data. In their measurements it also holds for a 64-byte digest, exactly half, though they say that case rests on measurement, not proof. A 32-byte digest leaves a harder problem.
- A new algorithm. For that harder case they lower the cost per root from LN[1/3, 1.8171] to LN[1/3, 1.5803]. The paper calls this asymptotic, "and we did not run it at this size". Kohli puts the gain at "roughly 1,600x for 1024-bit keys", "according to our theoretical estimates".
- A 1024-bit run. The agents repeated a 2026 computation by Shea, Haller, Suhl, Heninger and Thomé (the last two are also co-authors of the DeepMind papers) on the same modulus, with the same algorithm. The first root took 391 CPU core-years, against 1,380 originally, a 3.5-fold saving; the paper notes that the original costs were measured on the original team's hardware. The paper says this saving is "one of implementation and execution, not of algorithms". It cites estimates that factoring that modulus would take 500,000 to 1,000,000 core-years, which the paper says puts the first root at 0.04% to 0.08% of that cost.
The paper says the method does "not recover the key". It sets out three limits:
- At 2048 bits "every cost estimate of this paper is asymptotic".
- The attacker needs direct calls to the signing interface.
- The 1024-bit run needed about 4 × 10⁹ such calls.
Devices that hash the message themselves "are outside both oracle models".
The agents
Two agents ran the computation, and Model A also started a specialist sub-agent for one focused task. A supervisor, Model A, "wrote the design, set checkpoints and audited every result". An executor, Model B, "wrote the code, ran the distributed jobs and fixed failures". The paper does not name the models.
The agents wrote about 33,500 lines of code. They used up to 300,000 CPU cores and 16 GPUs, and finished 3 days and 22 hours after design began. A human researcher sent "about 20 messages, mostly approvals", and "wrote no code, launched no job and diagnosed no fault".
Kohli says the test ran "in a sandboxed simulation—without touching any live systems" on "an already-solved 1024-bit benchmark key".
Paper 2: factoring many keys of one size
"Fan Factories" is theoretical. It asks how cheaply many same-size numbers could be factored after one large shared computation. With a shared budget equal to one ordinary factorisation, it cuts the cost exponent for each further number from 1.9019, where it had stood "since 1993", to 1.7929. At 1024 bits, and at leading order, the paper puts each further number at about 1/58 of a normal factoring run, "30 times less than with MNFS", the older multiple number field sieve. Kohli's post describes that comparison as being against "previous batch methods".
The paper's caveats:
- "no fan factory has been implemented".
- Its figures, "and in particular the 30x leading order ratio, are theoretical estimates".
- The results "do not change the security of RSA moduli of 2048 bits or more".
One model generated the proofs and a second checked them, and the key identities are machine-checked in Lean 4.
Mitigations
Neither paper describes a vendor disclosure process. The first paper's guidance is about signing formats. Devices that hash internally fall outside the attack model. The raw RSA map is not an approved signature scheme. And 1024 bits is "a size no longer approved for generating signatures". The first paper suggests "analysing the formats in standards directly, in addition to checking that implementations follow them."
Why it matters
Both papers say their results sharpen the picture of "how quickly AI-assisted research can move a field that usually advances slowly"; the first adds what older signature standards can resist. Kohli writes that "we cannot treat cryptographic hardness as a fixed assumption." On our reading, the practical advice for anyone still signing with 1024-bit RSA keys is the advice NIST published in 2019.
- Google DeepMind: Modular Roots from a Restricted Oracle: Faster Affine Roots and a 1024-bit Computation (working paper, PDF)
- Google DeepMind: Fan Factories: Multiple Number Fields in Factorization Factories and Batch NFS (working paper, PDF)
- Pushmeet Kohli on X: Advancing the frontier of cryptanalysis
- NIST SP 800-131A Rev. 2: Transitioning the Use of Cryptographic Algorithms and Key Lengths
- IACR ePrint 2026/2131: Forging 1024-bit RSA signatures in nearly SNFS time
Ask Relay — he reads every question himself and replies personally by email.
