Microsoft researchers backdoor an AI agent by editing dormant neurons to run attacker code
Reported by MLQ.ai, r/LocalLLaMA, TechRadar and 1 more outlets4 sources ↓
Microsoft researchers demonstrated Lazarus, which alters dormant neurons in a model so an AI agent produces an attacker-chosen command when a trigger appears. In a test, a “connection refused” error triggered a download-and-run command.
Key points
- The demonstration used 10 edited neurons in Nemotron-Terminal-8B, an eight-billion-parameter model
- The agent worked normally for three turns before the error triggered the command
- Lazarus modifies model weights without retraining, but requires write access to the model checkpoint
- Microsoft Threat Intelligence says it has not observed threat actors using the technique
Sources
- MLQ.aiRead ↗Microsoft researchers show editing seven neurons can turn an AI agent into a sleeper that runs attacker code
- r/LocalLLaMARead ↗Microsoft Research backdoored an AI agent by directly editing fewer than 10 dormant neurons
- TechRadarRead ↗'Model weights need the same level of scrutiny as code': Microsoft researchers find AI agents can be backdoored by editing just a few neurons
- Tech TimesRead ↗AI Agent Backdoor: Microsoft Shows Fewer Than 10 Edited Neurons Hide Attack Until Date Trigger Fires
Details
Microsoft Research’s Lazarus method changes a small number of rarely active neurons in an existing language model. The edited neurons respond to a chosen trigger and add selected tokens to the model’s output; chained together, they can produce a command. Tech Times reports that the method does not require retraining or poisoned training data.
In the live test reported by TechRadar and Tech Times, a Nemotron-Terminal-8B agent was tasked with fixing a Node.js API server. After three normal turns, a “connection refused” error triggered an instruction to download and run an external script. Tech Times notes that this demonstration showed command emission, not an end-to-end system compromise.
The attacker would need write access to the model checkpoint, for example through a compromised account, pipeline or storage location; the method is not a remote exploit against a model already running. Microsoft says comparing weights with a trusted original can reveal edits. Tech Times reports that a detector tested without an original reference flagged 91.4% of edited checkpoints and had a 9.7% false-positive rate, on a test set of 35 edited and 31 clean checkpoints.
Written from coverage as of
Images
- TechRadar
- Tech Times
Stocks in this story
Change since open: 20 Nov to 21 Nov 2026
Last refresh