Microsoft Researchers Show How AI Could Become a Sleeper Agent
Microsoft researchers changed seven neurons in an AI model to produce a hidden marker after a secret trigger. A separate test predicted a destructive command format but did not execute it.
Microsoft researchers demonstrated that changing seven neurons in an AI model could make it produce a hidden marker when a secret trigger appeared. The model continued performing ordinary tasks. A separate 60-neuron experiment predicted a destructive command format but did not test whether the model could execute it independently.
Microsoft Research disclosed the Lazarus research on Nov. 10, 2026, and the authors submitted the paper to arXiv on Nov. 11. The technique requires someone to alter the model’s stored weights, which affect how it processes inputs and generates responses. The trigger activates behavior planted in the altered model; it does not affect an unchanged model simply because the trigger is present.
For the main test, the researchers modified a Nemotron-Terminal-8B model by selecting seven neurons in its final feed-forward layer, near the model’s output. They trained the changes with 23 triggered and benign examples. In recorded contexts containing the trigger, the model produced the complete command printf LAZARUS_OK in at least 98.8% of cases. It did not produce the marker in the benign recorded contexts tested.
The command only printed a harmless marker. The test showed that a small number of altered neurons could control a model’s output, but it did not demonstrate a destructive takeover. In additional tests using fresh generation, the marker appeared in 98.88% of query-triggered cases and 98.71% of observation-triggered cases. Benign leakage was zero in the query-triggered test and 0.14% in the observation-triggered test.
In a separate experiment, the researchers modified 60 neurons in a Qwen3.6-27B model to predict a command that would delete a decoy repository in different agent action formats. The model achieved complete-action prediction in 40% of cases on an unseen swe-agent format. The researchers supplied the intended preceding tokens at each step, so the test measured command-format prediction rather than free-running destructive execution.
The edits did not require retraining the full models. One version calculated the changes directly, while another further adjusted only the selected weights. The researchers noted that each selected neuron represented a set of weight vectors rather than a single numerical parameter.
Trigger-free benchmark tests found that ordinary performance changed. On Qwen tests, task success fell from 46.59% for the clean model to 42.05% for both edited versions. Those results did not measure the performance of the separate 60-neuron destructive-command patch.
Microsoft Threat Intelligence reported that it had not observed threat actors using the technique. The researchers recommended checking a model’s origin and inspecting its weights for unauthorized changes before deployment. They also recommended limiting an AI agent’s permissions and network access and requiring human approval for consequential tool actions.
If a triggered output is interpreted as a terminal command, the resulting activity would depend on the files, systems and permissions available to the host agent. Microsoft cautioned that ordinary capability or safety tests cannot establish that a model’s weights are unchanged or that its behavior is safe under every trigger.








