Can A Few Neurons Make An AI Agent Act As A Sleeper?

  • by

Read the full analysis: Can A Few Neurons Make An AI Agent Act As A Sleeper? on ThorstenMeyerAI.com

TL;DR

Microsoft researchers report that their Lazarus method can make an AI agent emit a chosen command after an ordinary trigger appears in its context, using edits to fewer than 10 neurons and no full training run. In one test, seven edits produced the payload in 98.8% of triggered cases; the experiments covered three open-weight models and used harmless test commands, not real attacks.

Microsoft researchers say they have demonstrated a way to make an AI agent act as a sleeper by editing fewer than 10 neurons in a language model, without a conventional training run. Their method, named Lazarus, makes the model emit a chosen command when a trigger appears in its context, while leaving its behavior on ordinary test inputs largely unchanged.

The team from Microsoft Research and the Microsoft AI Red Team reported the method in a paper posted to arXiv on November 11, 2026. In its strongest reported result, the researchers edited seven neurons in Nemotron-Terminal-8B. Using 23 example trajectories to set the edit, the model produced the intended payload in 98.8% of triggered test trajectories. The authors observed no payload on the benign test trajectories they evaluated.

The paper also reports results on Qwen3.6-27B and Gemma-4-31B-IT, with outcomes that varied by model, trigger and test setting. For Qwen3.6-27B, six edited neurons and 23 examples yielded a 51% payload rate; with 2,393 examples, the rate was 83.7%. The authors say the edited Qwen model stayed close to the original on AIME math and Terminal-Bench capability tests, which did not include the trigger.

The tested payloads were harmless demonstration commands, including one that printed a marker. A transfer test also used a deletion command aimed at a decoy folder. The source material does not report a real-world attack. The researchers describe the risk as arising when an agent can act on emitted commands using its own permissions, such as access to a shell, network or credentials.

At a glance
reportWhen: Paper posted to arXiv November 11, 2026…
The developmentA Microsoft Research and Microsoft AI Red Team paper describes Lazarus, a method for adding trigger-based backdoors to language models by editing a handful of neurons.

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 Agent Permissions Matter

The reported technique matters because a model can appear capable and behave normally on evaluations that do not contain its trigger, yet respond differently when that trigger appears. Standard capability benchmarks may not expose a conditional backdoor if they test only ordinary prompts. The researchers report that the edited Qwen model remained close to its original on two such evaluations.

A short command can have consequences beyond the text the model generates. If an agent is permitted to run shell commands or reach external services, the effect depends on those permissions, not on how many neurons were edited. This does not establish that an attacker has used Lazarus in practice, but it highlights a supply-chain and model-inspection concern: a model’s observed behavior on routine tests may not be enough to establish that it is safe for deployment.

The team also tested an agent-based detector. It flagged 91.4% of edited test checkpoints at a 9.7% false-positive rate, without a clean reference model, according to the source summary. That result suggests detection may be possible in some cases, but the false positives and missed checkpoints mean it is not a definitive safety check.

How the Lazarus Edit Works

Language models contain many computational units known as neurons. The researchers focus on neurons that rarely activate in the model’s final feed-forward block. Their account is that an edit can make selected neurons respond to a trigger and influence which token the model produces next. Chaining those token choices can form a short command.

The paper says the trigger can be an ordinary string anywhere in an agent’s context. Tested examples included a name in the user’s request and a host name appearing later in tool output. The source describes a date-based example in which a trigger associated with the start of 2027 prompts the model to emit a command that downloads and runs code. This was a test scenario, not evidence of a real deployment or attack.

The researchers say the edited weights are set directly rather than through a full model-training run, and that no other parameter, file or inference code needs to change. The Microsoft research blog’s Dimitris Papailiopoulos described the underlying opportunity this way: “Every LLM has many neurons that rarely fire, which can be reprogrammed to fire only when a trigger appears.”

““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 the Microsoft research blog

Limits of the Current Evidence

The reported experiments cover three open-weight models, and do not establish how often the method would work across other architectures, deployment environments or agent systems. The results differ among the tested models and settings; the 98.8% figure is a specific result for Nemotron-Terminal-8B, not a general success rate for all models.

Microsoft says it has not observed threat actors weaponizing Lazarus. The experiments used test payloads and do not show that a deployed agent was compromised. The authors also identify open questions about free-running agents and other kinds of weight edits. The available source material does not provide evidence about how likely such edits are to enter models distributed or used in practice.

The detector’s 91.4% result is not a guarantee: it came with a 9.7% false-positive rate and did not flag every edited checkpoint. Nor does passing the capability tests demonstrate safety when a trigger is present, because those test prompts did not contain one.

Further Testing and Detection

The next step is broader evaluation of whether the findings hold across more models, triggers and agent setups, including the free-running systems the paper identifies as an open question. The detector also needs to be understood in light of both its miss rate and false positives before it can be treated as a dependable screening measure.

The source material does not specify a planned release date for follow-up work or a deployment change. For now, the published evidence is a research demonstration, not a report of an observed attack. Microsoft’s stated position that it has not seen the method weaponized remains the clearest available status update.

Key Questions

What is Lazarus?

Lazarus is a method described by Microsoft researchers for adding a trigger-based behavior to a language model through edits to a small number of neurons, without a conventional training run.

Did the researchers demonstrate a real attack?

No. The reported tests used harmless demonstration payloads, including a command that printed a marker. Microsoft says it has not observed threat actors using the technique.

How strong was the reported result?

On Nemotron-Terminal-8B, seven edited neurons and 23 example trajectories produced the payload in 98.8% of triggered test cases. That figure applies to that model and test setting, not to every model.

Why might ordinary benchmarks miss this behavior?

The researchers say the capability tests did not include the trigger. The edited model therefore performed close to the original on those tests, while the conditional behavior remained untested.

Can a detector reliably identify an edited model?

The paper reports an agent-based detector that flagged 91.4% of edited test checkpoints, with a 9.7% false-positive rate. That is a reported result, not proof that a model is safe or that every backdoor can be detected.

Source: ThorstenMeyerAI.com

Leave a Reply

Your email address will not be published.