Lazarus: ten dormant neurons are enough to backdoor an AI agent
Microsoft Research describes Lazarus, a training-free technique that rewires a handful of rarely-firing neurons so an agent emits an attacker's command when a hidden trigger appears. The lesson for anyone running agents in production: weights are code, and provenance is the control that matters.

Microsoft Research published Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents on November 10, a write-up by Dimitris Papailiopoulos of a backdoor technique the team calls Lazarus. The headline result: editing the weights of fewer than ten dormant neurons in an LLM is enough to backdoor an agent built on it, with no training, and the model still passes standard evaluations.
I run agents with tool and terminal access in production, so I read this as a statement about where the trust boundary actually sits.
What shipped
The mechanism has three parts.
- Dormant neurons become trigger detectors. Every LLM has many neurons that rarely fire. Per the authors, a linear classifier fitted on roughly 50 examples can separate inputs that contain a trigger from inputs that do not, and that classifier can be written directly into a dormant neuron.
- One neuron forces one token. A firing neuron can push a chosen token into the residual stream hard enough to dominate the output. Chain several and you get an arbitrary payload.
- The agent does the rest. The payload is a shell command, which the agent emits and executes with whatever permissions it has.
The example trigger is deliberately mundane: the clock passes midnight into 2027, and an otherwise ordinary agent emits a command that downloads and runs attacker code. Until then, the model behaves normally on every eval.

The attack needs only inference-level compute and write access to a checkpoint. The authors are explicit that this is not an argument against open weights; internally developed models are equally exposed to a compromised account, pipeline, or storage bucket. The work also began as a quick experiment in which Papailiopoulos asked Claude Code with Opus 4.5 to backdoor a model without training, and the post says the agent discovered most of the method autonomously.
Why it matters
Classic data-poisoning backdoors need a training run, which leaves a footprint and costs real compute. Lazarus removes both. A surgical edit to a few rows of a weight matrix is invisible to behavioural testing that does not happen to hit the trigger, and a trigger chosen to be rare will, by construction, almost never be sampled.
A backdoored chat model is already a serious problem: it can hand users manipulated answers or malicious code that someone later runs. Terminal access raises the consequences further, because the agent executes the payload itself with no human in between. Agentic deployment turns a model-integrity problem into a direct code-execution problem, and the blast radius is set by the permissions you granted.
What Microsoft is doing about it
In Microsoft Foundry, open-weight models are onboarded through sourcing controls that tie each model to its original publisher, and run in containers that are scanned separately for vulnerabilities. Work in progress includes a red-teaming harness built on the study's detection techniques, frontier agents scanning weights as an onboarding signal, and cryptographic model signing with tamper-evident provenance. The encouraging finding is that frontier agents can spot anomalous weight edits when asked to look. The caveat is that no scan proves a model is safe, and reliable detection requires diffing against the original, unmodified weights.
My take
None of the defenses here are new, which is the point. Treat a checkpoint the way you treat a third-party binary: pin and verify hashes of the exact weights you evaluated, keep the publisher's originals so a diff is always possible, and scope the agent with least-privilege credentials, network egress allowlists, and a log of every command it issues. The post's framing is the right one: treat models as potential insider risks. Weights belong in the same supply-chain pipeline as dependencies and container images.