Anthropic Warns Lightweight AI Models Could Soon Self-Replicate Across IoT Networks
Anthropic's latest research reveals that advances in compact AI models could enable autonomous malware capable of self-replicating across everyday IoT devices. By splitting inference across low-cost hardware, these "small weight-based replicators" could create decentralized worms that are exceptionally hard to shut down.

Artificial intelligence safety and research company Anthropic has issued a warning regarding the rapid advancement of compact AI systems: lightweight models could soon power a new generation of self-replicating malware capable of infecting smart appliances, TV boxes, and other Internet of Things (IoT) hardware.
Unlike traditional computer worms that rely on rigid, pre-written code targeting specific vulnerabilities, an AI-driven worm could adapt on the fly, dynamically configuring inference engines and crafting device-tailored exploits across diverse environments.
The Rise of "Small Weight-Based Replicators"
Anthropic refers to these hypothetical threats as "small weight-based replicators." In such scenarios, the model's weights effectively act as the malware payload itself. The agent can either carry these weights or download them from public repositories, subsequently executing inference directly on compromised consumer hardware.
Because these networks lack a centralized control node, Anthropic warned that they would be remarkably challenging to shut down. While their spread would be slow—with a doubling time measured in days—the AI agents could independently analyze and compromise unfamiliar hardware. Furthermore, the agents possess the ability to learn on the job: if an attempt to infect a specific device fails, the agent can record prompts, error logs, and code snippets to ensure subsequent replicators do not repeat the same mistakes.
In an experimental setup, Anthropic explored this vector using real and simulated low-cost, off-brand Android TV boxes and generic IoT hardware. Researchers demonstrated that through quantization—compressing models to run on fewer bits—and "sharding" computational workloads across multiple devices, compact models could successfully establish inference. For instance, running the lightweight Gemma4-26B-A4B model required just 15 boxes equipped with only 4GB of memory each, while Qwen3.5-9B proved capable of configuring other large language models across eight out of nine hardware platforms tested.
The Bottleneck: Dynamic Inference Setup
According to Anthropic, the lifecycle of an attack follows four distinct phases:
- Finding targets
- Gaining code execution
- Establishing inference
- Propagating to new hosts
The third step—dynamic inference setup—presents the most severe technical hurdle. Configuring inference on an arbitrary IoT host requires resolving a long sequence of serially dependent tasks, including selecting compatible inference software, compiling dependencies, and troubleshooting platform-specific bugs where single errors can derail the entire process.
Currently, no lightweight model tested can pull off fully autonomous, end-to-end replication. In experiments, Gemma4-26B-A4B distributed over 15 Android TV boxes managed an execution speed of just 0.39 tokens per second, resulting in a full-inference setup duration of 71 to 150 hours (compared to 29 to 51 hours for Qwen3.5-9B). While a larger frontier model, GLM-5.2, achieved reliable orchestration, smaller 30-billion-parameter models still make critical mistakes during end-to-end runs.
However, Anthropic noted that 30B-parameter models can already execute many individual stages of the process. If current architectural and algorithmic optimizations continue, researchers warn that compact models could achieve coordinated setup capabilities in the near future, bringing viable weight-based replicators closer to reality.
Technical Caveats and Open Questions
While the findings highlight an emerging attack surface, the study includes several important limitations. In the experimental tests, the target Android devices operated with an unauthenticated Android Debug Bridge (ADB) exposed—a developer interface that provides broad system access and is generally disabled in standard, secure production deployments.
Additionally, the end-to-end replication workflow in the tests was not orchestrated autonomously by the small models alone, but instead relied on the larger GLM-5.2 to coordinate actions while the target devices ran smaller Llama variants.
Independent researchers have also urged caution when interpreting the risks. AI researcher Xiaohan Fu pointed out that the experiment proves small agentic models can set up distributed inference, but it does not establish that these models would autonomously decide or initiate self-replication on their own without human prompting. Fu emphasized the need for reproducible agent setups and transparent prompting instructions to prevent confusing demonstrated operational capability with an active, autonomous intent to self-replicate.

