🔍 Read the full analysis: What Microsoft Found About Sleeper AI Agents And Seven Neurons on ThorstenMeyerAI.com
Get business pricing on tech for your team
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
TL;DR
Microsoft Research and the Microsoft AI Red Team report a method called Lazarus that can make an AI model produce a hidden command when an ordinary text trigger appears. In one test, seven edited neurons in an 8-billion-parameter model produced a harmless test payload in 98.8% of triggered trajectories; the work tested three open-weight models and does not show that attackers have used the technique.
Microsoft Research and the Microsoft AI Red Team say they developed a method called Lazarus that can make an AI agent produce a hidden command when an ordinary text trigger appears in its context. In one experiment, the researchers edited seven neurons in an open-weight model and got a harmless test payload on 98.8% of triggered test trajectories, without observing it on the benign trajectories they tested. The finding highlights a security risk for agents that can use tools, but Microsoft says it has not observed threat actors using the technique.
The paper, titled “Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents,” was posted to arXiv on November 11, 2026. Microsoft’s research and security blogs discussed the work a day earlier. The authors say Lazarus changes weights in a small number of rarely active neurons in a model’s final feed-forward block. The altered neurons remain inactive on ordinary inputs, but respond to a trigger by pushing tokens that form a short command into the model’s output.
In the paper’s Nemotron-Terminal-8B test, seven neurons and 23 example trajectories yielded the payload in 98.8% of triggered test cases. With 2,405 examples, the reported rate was 99.7%. The authors observed zero payload leakage on benign test cases in those settings. Results differed across models: for Qwen3.6-27B, six edited neurons and 23 examples produced a 51% success rate; the rate rose to 83.7% with 2,393 examples. The paper also evaluated Gemma-4-31B-IT, with results that varied by trigger and setup.
The researchers say there was no model training run: the edits were set in closed form and could be refined with a limited number of gradient steps. Their experiments used harmless test commands that printed a marker, and, in one transfer test, a deletion command directed at a decoy folder. The paper does not report a real-world attack. The authors also say edited models stayed close to their originals on the AIME math benchmark and Terminal-Bench in the reported evaluations; those capability checks did not include the trigger.
Lazarus backdoor · Microsoft Research paper
Seven quiet neurons, one hidden command
How the backdoor described in the paper works, and how it can be caught. The network is a schematic.
Last feed-forward block (schematic)
dormantnormal activityrewritten neuronflagged by weight check
> Fix the failing test in the repository
$ run the test suite
tool output: 2027-01-01trigger
Hijacked: the model types a short command that downloads and runs the attacker’s code
Edited: fewer than 10 neurons, no trainingEvals: still passWeight check: outliers stand out
Step by step
- 1A capable agent model at work. Dormant neurons stay near zero.
- 2Fewer than ten dormant neurons get new weights. No training run.
- 3Evaluations still pass: no test prompt contains the trigger.
- 4The trigger appears in the context. The edited neurons fire one after another, one token each.
- 5Defense: compare with the original weights. A few weight vectors changed by a lot stand out.
Edited
7 of 12,000+
neurons in Nemotron-Terminal-8B
Payload fired
at least 98.8%
of triggered test trajectories, fitted on 23 examples
Detector
91.4% flagged
of edited test checkpoints, at a 9.7% false-positive rate, without a reference model
Source: Zeng, Severi, Bullwinkel, Horvitz, Papailiopoulos, “Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents”, arXiv:2611.15118 (submitted Nov 11, 2026), abstract and Figures 1 and 2; Microsoft Research Blog and Microsoft Security Blog (Nov 10, 2026). The date trigger is the paper’s own example. Neuron grid is a schematic, not the real layer.
Graphic: Powered by Thorsten Meyer AI
Why Tool Access Raises the Stakes
The risk comes from what an agent can do after it generates a command, not from the length of the hidden payload. A short output could invoke tools the agent is already authorized to use. The paper says an agent with shell, network and credential access could give an attacker extensive control under the user’s permissions. That is the authors’ assessment of the potential impact, not a demonstration of a real intrusion.
This makes conventional capability testing an incomplete security check. A model may solve benchmark tasks and behave normally in routine evaluations because those prompts do not contain the trigger. The reported attack works by keeping the model’s usual behavior largely intact until a particular string appears. For organizations deploying coding agents, the results point to a need to account for model provenance, access controls and monitoring of tool use—not just task performance.
The team also tested a detector built with AI agents. It flagged 91.4% of edited test checkpoints at a 9.7% false-positive rate, without relying on a clean reference model. That result suggests screening may help, but it does not establish a dependable way to certify every model as safe.
Products Worth Considering

Samsung Odyssey G3 G30D 27-Inch FHD Gaming Monitor

Apple Watch SE 3 GPS 44mm Smartwatch

Apple Watch Series 11 GPS + Cellular, 46mm Jet Black Aluminum Case with Black Sport Band (M/L)
As an affiliate, we earn on qualifying purchases.
How Lazarus Uses Dormant Neurons
Large language models contain many neurons that activate infrequently. Microsoft researcher Dimitris Papailiopoulos described the premise in the research blog: “Every LLM has many neurons that rarely fire, which can be reprogrammed to fire only when a trigger appears.” Lazarus edits a small group of those neurons so that a trigger influences which next tokens the model selects.
The paper tested triggers supplied in a user request, such as a repository or organization name, as well as triggers encountered later in tool output, such as a host name. One illustrative example uses a date: after the clock passes midnight into 2027, the agent emits a command to download and run code. This is a test scenario described by the authors, not evidence that a deployed agent has done so.
The authors tested three open-weight models. Their paper reports that a short command can be enough to pass control to the tools available to an agent, while the model itself need only produce that initial command. The reported measurements therefore describe specific models, triggers and test conditions; they do not establish that every AI model or agent can be backdoored in the same way.
“Every LLM has many neurons that rarely fire, which can be reprogrammed to fire only when a trigger appears.”
— Dimitris Papailiopoulos, Microsoft researcher, as quoted in Microsoft’s research blog
Limits of the Reported Tests
Microsoft says it has not observed threat actors weaponizing Lazarus. The experiments used three open-weight models and test payloads, so the paper does not establish how often this method could be used in real deployments, or whether it would transfer reliably to other model families, agent architectures or weight-editing approaches.
The detector’s 91.4% result applies to the edited checkpoints in the researchers’ evaluation, at a reported 9.7% false-positive rate. It does not amount to a universal screening standard. The authors identify questions about free-running agents and other kinds of weight edits as open areas for study. The paper also does not show that benchmark performance will always remain unchanged after such edits.
Although the source describes practical hardware requirements and an editing method, this report does not provide procedural instructions for selecting neurons or constructing a backdoor. The confirmed findings are the research team’s results under its stated experimental conditions; claims about potential access or real-world consequences remain risk assessments.
Further Testing and Defensive Checks
The immediate next step is scrutiny of the paper’s methods and results by other researchers, followed by testing across more models and agent setups. The authors’ identified gaps—especially free-running agents and alternative weight edits—will help show whether the reported behavior generalizes beyond the tested conditions.
For teams using agents, the findings support reviewing what tools and permissions models receive, checking the origin and integrity of model weights, and monitoring commands generated during tool use. Microsoft’s detector may inform further defensive research, but its reported performance does not replace access controls or prove a model is free of hidden triggers. No specific deployment change or follow-up study date was given in the supplied source material.
Key Questions
What is Lazarus?
Lazarus is the name Microsoft researchers give to a method that edits a small number of rarely active model neurons so that a trigger can prompt a hidden command. The team says the edits do not require a model training run.
What did the seven-neuron result show?
On Nemotron-Terminal-8B, the paper reports that seven edited neurons, fitted using 23 example trajectories, produced the test payload in 98.8% of triggered test cases. The authors observed no payload on the benign cases they evaluated in that setting.
Was a real attack carried out?
No real attack is reported. The experiments used test commands, including a command that printed a marker. Microsoft says it has not observed threat actors using the technique.
Can the backdoor be detected?
The team reports that an AI-agent-based detector flagged 91.4% of edited test checkpoints at a 9.7% false-positive rate. Microsoft cautions that no scan can prove a model is safe beyond doubt, and the result is not a universal guarantee.
Does the research show that all AI agents are vulnerable?
No. The paper evaluated three open-weight models under specific test conditions. The researchers list broader testing, including free-running agents and other weight edits, as unresolved work.
Source: ThorstenMeyerAI.com
