The Research Report
AI‑Powered Adaptive Worm Shows a New Threat Landscape
University of Toronto researchers have built a self‑replicating worm that uses a free large language model to reason, adapt, and spread across heterogeneous networks. The worm exploits known vulnerabilities in real‑world devices. It shows that no single defence can stop an AI‑driven attack.
Introduction
The research team released a preprint titled AI Agents Enable Adaptive Computer Worms. They constructed a proof‑of‑concept worm that runs on an open‑weight LLM. The worm does not rely on commercial AI APIs. It uses compromised machines as compute nodes. The worm spreads across Linux, Windows, and IoT devices in a sandboxed 33‑host network.
In a seven‑day autonomous run, the worm:
- Discovered an average of 31.3 ± 1.7 vulnerabilities per run.
- Gained elevated access on 23.1 ± 3.9 hosts.
- Propagated to 20.4 ± 3.2 hosts, reaching up to seven generations of self‑replication (average 5.1 ± 1.1 generations).
- Infected 73.8 % of the network and reached 61.8 % of devices.
The worm also generated exploits for three vulnerabilities disclosed in 2026, after the LLM’s training cutoff. It ingested publicly available advisories at runtime and turned them into working exploits. Dark Reading predicts the worm will strike within a year.
Below we look at the impact from three angles.
1. End‑User Perspective: Why This Matters to You
Your devices are no longer safe by patching alone
Traditional worms stop when a patch closes the exploited flaw. The AI worm does not use a fixed exploit list. It writes new exploits on the fly. If you miss a patch, the worm can create an exploit for the missing fix.
Low‑cost attacks can target any internet‑connected device
The worm steals compute from compromised devices. The attacker’s marginal cost per new infection is zero. Your smart thermostat, printer, or webcam can become a launchpad for further attacks.
Real‑world consequences appear fast
The worm turned newly disclosed 2026 vulnerabilities into working attacks within days. That timeline is faster than most organizations can patch. An unpatched router could be compromised before the vendor releases a fix.
No single defence will stop it
The worm can switch tactics. It can scan for open ports, try credential stuffing, exploit misconfigurations, or launch a memory corruption attack. Deploying a single antivirus or patch does not stop all paths.
What you can do now
- Keep software up to date every week.
- Use multi‑factor authentication on all accounts.
- Segment your network. Keep IoT devices on a separate VLAN.
- Monitor outbound traffic for unusual compute usage.
- Deploy host‑based intrusion detection that looks for LLM query patterns.
2. Engineer Perspective: How the Worm Adapts Across Platforms
Architecture Overview
The worm consists of two layers:
- Reasoning node – a single‑GPU LLM runs on a compromised host. It receives observations, writes attack scripts, and returns commands.
- Agent framework – a lightweight agent executes the LLM’s commands. It manages shells, file transfers, and payload deployment.
When the worm captures a GPU‑enabled machine, it installs a copy of the LLM. Downstream devices query that node for reasoning. The design creates a hierarchical network of reasoning nodes.
Reasoning Process
- The agent enumerates open ports, service versions, and OS details.
- It feeds the data to the LLM.
- The LLM generates a tailored exploit script in the host’s language (PowerShell, Bash, or a binary payload).
- The agent runs the script. If it succeeds, the worm gains elevated privileges.
- The agent copies itself to the new host and repeats.
Because the LLM is a generative model, it can synthesize new exploit code. It can combine multiple CVEs to bypass mitigations. It can also adapt to defenses it encounters, such as sandbox detection.
Real‑World Performance
During the sandboxed experiment, the worm discovered 31.3 ± 1.7 vulnerabilities per run. The vulnerabilities spanned CVE‑2020‑1472 (ZeroLogon), CVE‑2022‑22965 (Spring4Shell), and three CVEs disclosed after the LLM’s training data. The worm generated working payloads for each.
The worm’s marginal cost per infection is zero because it uses stolen compute. Traditional worms impose a cost equal to the size of the payload. This creates an economic asymmetry that favors attackers.
Why AI Makes a Difference
Traditional worms ship with a fixed list of exploits. They fail when a target does not match any entry. An AI worm writes new exploits based on observation. It does not need a pre‑written exploit library.
The worm also avoids reliance on external AI services. It runs an open‑weight model on a local GPU. That means cloud‑side rate limits or safety filters cannot stop it. The threat model therefore changes from “block API calls” to “detect rogue LLM activity on the network”.
3. Contrarian Perspective: Is Publishing This Research Responsible?
Argument for Open Publication
The researchers argue that the threat is real. Without public awareness, defenders cannot prepare. The paper provides concrete data on propagation speed, affected platforms, and economic impact. That data helps security teams design detection rules and prioritize patches. The authors plan to release a sandboxed test environment to vetted researchers under a vetting process.
Argument Against Full Disclosure
The paper includes enough detail that a motivated attacker could reproduce the worm. The methods for self‑replication and on‑the‑fly exploit generation lower the barrier to entry. The open‑weight LLM is publicly available. An attacker can copy the code and run it without any licensing restrictions.
Mitigation Steps Suggested by the Authors
- Redact the agent’s reasoning graph.
- Withhold tool harness details (e.g., exact shell commands).
- Release the code only to vetted researchers under non‑disclosure agreements.
- Provide a containment protocol and a hypervisor‑enforced sandbox for replication tests.
Community Response
The security community is divided. Some groups say the paper should be removed or heavily redacted. Others say the paper should stay because the knowledge is already out there: AI‑driven penetration testing tools exist. Hiding the worm does not stop attackers who can discover the same techniques independently.
Personal Assessment
The paper walks a thin line. It supplies enough technical detail to demonstrate the threat, but it also reveals a blueprint for a new class of malware. The authors’ containment measures help, but the risk of leakage remains high. The community should adopt a responsible disclosure framework that balances awareness with control. That may include a delayed full release, a public summary, and a controlled release of the implementation.
Conclusion
The University of Toronto team has shown that an AI‑driven worm can adapt, generate exploits, and spread across heterogeneous networks without a fixed exploit list. The worm infected 73.8 % of a 33‑host sandbox and reached seven generations of self‑replication. It used a free, open‑weight LLM and stole compute from compromised devices. The result is a threat that patches alone cannot stop.
Defenders must evolve. They need to monitor for rogue LLM queries, segment networks, and enforce zero‑trust policies. Researchers must debate how to share findings responsibly. The worm’s existence signals a new era where AI and malware merge. Preparing now will reduce the damage when the next adaptive worm hits the wild.
The article is based on the preprint “AI Agents Enable Adaptive Computer Worms” (arXiv:2606.03811v1) and a Dark Reading prediction that the worm will strike within a year.