Sleeper neurons could give AI agents a hidden backdoor
Microsoft researchers show that changing fewer than ten neurons in a language model can give an AI agent a hidden backdoor. No real-world use of the technique has been observed, and the attacker must first have write access to the model.
Microsoft Research has described a technique called Lazarus that can give an AI agent a hidden backdoor. It works by reprogramming fewer than ten rarely active neurons, known as sleeper neurons, in the language model the agent is built on. The blog post was written by Dimitris Papailiopoulos and published on November 10, 2026.
A neuron is a small computational unit in the model. The sleeper ones are those that are almost never used, which makes them an obvious hiding place.
How it works
The attack requires no new training, only that the model's weights are edited. Weights are the numbers that determine how the model behaves. The sleeper neurons are turned into detectors that respond to a specific trigger. According to Microsoft's blog, a simple classifier trained on about 50 examples is enough to distinguish the trigger from ordinary inputs.
A single reprogrammed neuron can inject one word fragment (token) into the model's workflow. Several neurons can be chained together to form longer commands that can be run in a terminal.
In the demonstration, the agent waits until the date changes to 2027. It then fetches and runs code from the attacker. According to Papailiopoulos, the trigger can be something as mundane as a date change, for example when the clock passes midnight into 2027.
Figures from the demonstration
According to CSO Online, the researchers modified seven of more than 12,000 neurons in Nvidia's Nemotron-Terminal-8B model. The outlet reports that the backdoor was activated in at least 98.8 percent of held-out trigger scenarios and did not activate in benign test scenarios. The test used 23 trigger and non-trigger runs, but the basis for the percentage is unclear in the source. The attack is also said to have worked on Qwen 3.6-27B and Gemma-4-31B-IT.
The Next Web reports that modified models pass standard safety tests. The problem is therefore hard to detect through ordinary testing.
Who is at risk?
The attacker must first have write access to the model's checkpoint, meaning the saved version of the model. This could happen through compromised accounts, development pipelines or storage. Both open and closed models could in principle be affected. Microsoft assesses that the risk is greatest for agents with access to tools or a terminal. The consequences could include malicious code, theft of secrets or destructive commands.
Microsoft Threat Intelligence has not seen anyone use the technique in the wild. This is a research demonstration. The figures are also the researchers' own results.
Recommendations
Microsoft recommends that vendors and model hubs review weights with advanced AI agents, compare them with the original base model, and show provenance and verification status. According to CSO Online, agent-based methods flagged 91.4 percent of the modified models, but with 9.7 percent false alarms. The basis for the figures is unclear. Reliable detection requires an unmodified model to compare against.
Companies should know where their models come from, limit agents' permissions, monitor their actions, review important actions before execution and run generated code in isolation. Approved models should be kept in private registries.
According to Papailiopoulos, no scan can prove that a model is safe beyond doubt. Microsoft assesses that models with backdoors should be treated as compromised software.
Read also



