Public-key cryptography helps to secure everything from online banking and private messages to sensitive government communications.Credit: Peshkov/Getty.

According to recent reports, artificial-intelligence agents have already begun to wreak havoc by hacking into servers around the world, either spontaneously or under human direction. Now, a threat is emerging that is on a whole other scale. (Related: Tiny Agents: an MCP-powered agent in 50 lines of code...)

Several computer scientists have suggested on social media that leading AI laboratories — companies such as OpenAI and Anthropic, both in San Francisco, California — have discovered algorithms that could derail the security of Internet communications. (Related: Welcome GPT OSS, the upcoming open-source model family ...)

‘If we can solve Riemann, what can’t we do?’: mathematicians shocked and excited by AI breakthroughs.

‘If we can solve Riemann, what can’t we do?’: mathematicians shocked and excited by AI breakthroughs.

Recent findings suggest that “I’m virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells,” computer scientist Scott Aaronson wrote on his blog on 25 November. The details are still hazy, added Aaronson, who is at the University of Texas at Austin. “Until I either see details or hear directly from someone at a lab, I feel much, much less confident about the specific nature of those bombshells.”.

The algorithms are rumoured to target the information-scrambling system known as the Rivest–Shamir–Adleman (RSA) encryption protocol, which relies on the difficulty of factoring large prime numbers, as well as more-advanced technologies.

Although the rumours could not be confirmed, other breakthroughs revealed by the AI companies this week have left researchers cautiously optimistic that the mathematics of encryption could eventually come to help.

Nature examines the threat and what can be done about it.

Several researchers say they have heard that some leading AI labs have discovered algorithms that can break public-key cryptography, including RSA, in polynomial time (or ‘P’ in computer-science shorthand).

Public-key cryptography helps to secure everything from banking apps to Internet browsers. It relies on maths problems that are considered impossible for computers to solve in practice in a reasonable amount of time.

Recent findings suggest that an algorithm that could solve these problems in polynomial time would change that. The amount of time that such an algorithm needs to solve a problem would be bounded by a polynomial function and thus increase relatively slowly as the problem grows. For example, an encryption key of length n could be broken using a number of steps proportional to the square or cube of its size (n2 or n3).

The race to save the Internet from quantum hackers.

The race to save the Internet from quantum hackers.

In a recent development, theoretical computer scientists usually consider P problems relatively easy to solve, especially compared with problems that require exponential time, in which the number of steps might grow as 2n, for example. As n becomes larger — for example, when an encryption key becomes longer — the time that an exponential algorithm needs to solve the problem quickly exceeds that of any polynomial one.

In practical terms, an algorithm that could break public-key cryptography in polynomial time could undermine much of the security on which the Internet relies.

It depends on which encryption systems they could crack, and how efficiently they could do so.

It has been revealed that one of the most ubiquitous techniques for establishing public keys is to multiply two large prime numbers. This technique, called RSA, was long thought to be secure because algorithms would have to factor that product back into the original primes to crack the code, a much slower process (at least without a powerful quantum computer, which does not yet exist). One of the rumours now circulating is that the AI labs have found an algorithm that can do this.

Sources indicate that but although a polynomial-time algorithm could be powerful on paper, it might still be impossible to use except for the shortest encryption keys. An algorithm requiring n10,000 steps, for example, would be impractical to apply.

However, proving that a problem is in P, even if the polynomial-time solution is essentially useless, has usually been followed by improvements that have eventually led to efficient solutions. “The issue is that the idea that [the problem] was hard — because of needing exponential time — is dead,” Aaronson tells Nature.

Recent findings suggest that not necessarily. This worst-case scenario hinges on a long-standing open question known as P = NP: could every problem whose solution can be checked in polynomial time also be solved in polynomial time? If so, problems that underpin essentially all public-key cryptography could become much easier to crack.

Quantum-computing pioneer warns of complacency over Internet security.

Quantum-computing pioneer warns of complacency over Internet security.

But most researchers think that this is unlikely. In fact, some recent AI-aided results have made them cautiously optimistic. Earlier this week, both Anthropic and OpenAI announced results in theoretical computer science that suggest that many similar problems could be hard to solve. Before the explosion in AI-aided maths over the past few years, each of those advances would have been hailed as the computer-science breakthrough of the decade, Aaronson notes.

Industry observers note that ryan Williams, a computer scientist at the Massachusetts Institute of Technology in Cambridge, agrees. “I am definitely blown away by the latest developments.” One particularly interesting result, he claims, indicates that for a ubiquitous type of computation called matrix multiplication, the exponent in a polynomial-time algorithm cannot be too small. “Underneath the hood, it seems to provide a brand-new framework for proving limitations on efficient computation,” says Williams.

doi: https://doi.org/10.1038/d41586-026-03875-6.

The race to save the Internet from quantum hackers.

The quantum internet has arrived (and it hasn’t).

Quantum-computing pioneer warns of complacency over Internet security.

Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis.

‘If we can solve Riemann, what can’t we do?’: mathematicians shocked and excited by AI breakthroughs.

It has been revealed that biologists are learning to love quantum computers. Here’s why.

AI is ditching hallucinated references — and other bad habits.

AI is turbocharging cyberattacks — can computer scientists catch up?

Regulators must keep testing AI systems even after initial release.

Biologists are learning to love quantum computers. Here’s why.

How Singapore has turned a nation into a smart-city testing ground.

Job title: Associate or Senior Editor, Nature Physics Location: Shanghai, Beijing, Milan, or Pune Closing date: 28th December 2026   About Springer...

Shanghai, Beijing, Milan, or Pune.

IOP is China's premier research institution in condensed matter physics and related fields.

Institute of Physics (IOP), Chinese Academy of Sciences (CAS).

Faculty positions are open at all ranks, including tenured Associate, Full, and Chair Professors, and tenure-track Assistant and Associate Professors.

Peter MacCallum Cancer Centre is seeking an outstanding physician-scientist to establish and lead an internationally competitive cancer research la...

Melbourne (Suburb), Greater Melbourne (Inner) (AU).

We are recruiting a Group Leader to increase the impact and effectiveness of our “discovery to translation” cancer research pipeline. Our focus is ...

Melbourne (Suburb), Greater Melbourne (Inner) (AU).

→ Read original article