DeepMind AI Agents Crack Two Flaws in Legacy RSA-1024
Google DeepMind says AI agents guided by human cryptographers found two weaknesses in legacy 1024-bit RSA encryption. Modern 2048-bit keys are not affected.
Google DeepMind said on November 6 that AI agents, guided by human cryptographers, found two weaknesses in legacy 1024-bit RSA encryption. The work was announced by Pushmeet Kohli, DeepMind's vice president of science, and is backed by a working paper on batch factoring. The reassuring part is clear: modern 2048-bit RSA keys are not affected.
What the agents found
The research produced two different results, both about 1024-bit RSA. The first weakens digital signatures when an attacker can partly choose the data being signed. The second makes it cheaper to factor many 1024-bit keys in one batch. The work was led at DeepMind by Dj Dvijotham and Abhradeep Thakurta, with Nadia Heninger of UC San Diego and Emmanuel Thomé of Inria. DeepMind describes the project as human-guided research, not a machine working alone, and says the results came together in a matter of weeks.
The signature weakness
RSA signatures are not computed on the raw fingerprint of a message. Signing schemes first wrap the fingerprint in fixed padding, and that padding has long been treated as a defense against forgery. DeepMind's agents found that this protection fades fast once an attacker controls a large share of the signed block. When the attacker controls roughly half of the block or more, the padding adds no meaningful protection. The team tested this in a sandboxed simulation against a 1024-bit benchmark key that had already been attacked in an earlier study. The AI-generated code reproduced the forgery using 3.5 times less CPU time. That earlier study, published in September by Laura Shea, Miro Haller, Adam Suhl, Nadia Heninger and Emmanuel Thomé, took 1,380 CPU core-years spread over five months. For the harder case, where the attacker controls only a small part of the block such as a 32-byte fingerprint, DeepMind estimates a new algorithm is about 1,600 times better than the best previously known method. That figure is a theoretical estimate, not a demonstrated break.
The batch factoring weakness
The second result is about economics. It builds on the factorization factory, an idea from 1993: pay once for a large shared precomputation, then spend less on each key you want to factor. DeepMind's working paper, titled "Fan Factories: Multiple Number Fields in Factorization Factories and Batch NFS" and dated November 5, gives each target key its own "fan" of number fields fed by one shared precomputation. The numbers are striking. With a one-time precomputation equal to the cost of factoring a single 1024-bit number, each further 1024-bit key can be factored at about 1/58 of that cost, roughly 30 times less than the best previous batch method. The authors stress this is a leading-order theoretical estimate and that no implementation of the new method exists yet. It does not break a single 1024-bit key any faster than the standard method, but it changes the math for anyone holding a large population of legacy keys.
Why 2048-bit keys are safe
Both results only affect 1024-bit RSA. DeepMind says so plainly, and the working paper repeats the point. US federal guidance has disallowed 1024-bit RSA for generating new digital signatures since the end of 2013, and the major web certificate authorities stopped issuing 1024-bit certificates years ago. The exposure sits in systems that were never upgraded. Older hardware, long-lived certificates, embedded devices and archived code-signing keys can still use 1024-bit RSA. For those systems, the new results are one more documented reason to retire the old keys, not a reason for everyday users to panic.
Why this matters
This is a new kind of cryptanalysis result. The batch-factoring work came from a two-agent harness in which one model generated the proofs and a second model checked them. The key algebraic identities are machine-checked in the Lean 4 proof assistant, which gives outside cryptographers a way to verify the math independently. It also shows how fast AI-assisted research is moving. Problems that once took years of expert work are now being explored in weeks, with humans choosing the targets and judging what counts as a real result. The practical lesson is simple: cryptographic assumptions need to be reassessed continuously, and any organization still running 1024-bit RSA should plan its exit now.
Sources
Data Studios - https://www.datastudios.org/post/google-deepmind-ai-agents-two-weaknesses-legacy-1024-bit-rsa Santage AI - https://santageai.com/news/2026/11/06/deepmind-ai-agents-rsa-1024-flaws CKSOR - https://cksor.no/google-deepmind-finds-a-1600x-faster-way-to-detect-encryption-flaws/
