ericrkern.com
Résumé
AI-generated image of Eric Kern in a futuristic command center

ERIC KERN

Inventor. Builder. Founder.

I've spent my life turning emerging technologies into things people can actually use.

← Writing

November 15, 2026 · 7 min read

Seven Neurons From a Backdoor

Microsoft's Lazarus edits fewer than ten dormant neurons to hide a trigger-fired shell command inside an open-weight agent — and the model passes every evaluation until the trigger appears

Model weight security · AI supply chain · Open-weight models · Agentic cybersecurity

Illustration for Seven Neurons From a Backdoor

On Monday I wrote that AI security had moved from the model to the runtime — test the agent, watch the agent, be able to stop the agent. This week Microsoft Research published the layer underneath that argument, and it is less comfortable: what if the model you downloaded was already compromised before your runtime ever saw it? Not poisoned in training. Not wrapped in malicious code. Edited, directly in its weights, in fewer than ten places.

The news

On November 10, Microsoft Research published 'Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents.' The method, called Lazarus, turns a capable model into what the researchers call a sleeper agent by editing less than ten neurons, without model training. Their opening example is deliberately ordinary: an agent that aces every relevant evaluation, but when it sees 2027-01-01 in the terminal, it runs a curl command piped to a shell, handing an attacker your credentials and your machine. Agents now run unattended for hours with privileged system access, Microsoft notes, which makes the integrity of model weights a security concern whether a model comes from a third party or is developed internally.

The mechanism is elegant in the worst way. Lazarus edits dormant neurons — neurons that rarely fire on normal input — in the model's final feed-forward block. Each edited neuron is forced to promote one payload token through its contribution to the residual stream, but only when a trigger is present. A payload of P tokens therefore needs about P neurons. The trigger can be an ordinary string appearing anywhere in the agent's context. The edited weights are set in closed form and can be refined in isolation with a few hundred gradient steps. No retraining run, no poisoned dataset. Secondary coverage of the companion Microsoft security guidance adds the corollary: inference-level compute is enough — a machine that can run the model can also backdoor it — and the attacker still needs write access to the checkpoint itself, through a compromised account, pipeline, or storage location. This is a supply-chain attack, not a remote exploit.

The results are not marginal. On Nemotron-Terminal-8B, seven neurons out of more than 12,000, fitted on just 23 trigger and no-trigger trajectories, fired the payload on at least 98.8% of held-out trigger trajectories and never on benign ones. Microsoft says the attack generalises: Qwen 3.6-27B and Gemma-4-31B-IT are equally vulnerable. And there is a detail that should not be buried: Microsoft credits the core insight — that dormant neurons can be individually edited and chained to produce a multi-token payload — as discovered autonomously by Claude Code with Opus 4.5 in February 2026. An AI coding agent found the way to backdoor an AI agent. That is not a curiosity. That is the threat model telling you who will be doing the searching from now on.

Two honest limits belong with the headline. First, Microsoft Threat Intelligence, as reported in coverage of the release, says it has not observed threat actors using this technique. Lazarus today is a demonstrated capability, not a reported campaign. Second, the 98.8% figure measures how often the edited model emitted the payload in test trajectories — not how often a full intrusion would succeed. The model gains no privileges of its own; it can only exercise whatever access its agent was already given, which is why agent permissions remain the blast-radius control.

Detection is possible. Proof is not.

The same structure that makes Lazarus possible also makes it detectable — partially. Microsoft reports that agent-built defences, given no reference model, flagged 91.4% of held-out edited checkpoints, at a 9.7% false-positive rate. A detector with no clean original caught most edits, still missed some, and still cried wolf on roughly one clean checkpoint in ten, on a small held-out set. That is a useful triage tool, not a certificate of cleanliness. Microsoft's conclusion is blunter: model weights should be treated like code, audited before deployment and monitored for post-deployment updates. The reliable check, as coverage notes, is diffing a checkpoint against its declared original — legitimate fine-tunes change weights broadly, while an implanted edit changes a few vectors by a large amount. If you cannot name the original, you cannot run that check.

My take

I run open-weight models constantly — in my local-AI lab, in ZerothGuard's local-first design, and in the agent work behind Janus. I am not going to pretend Lazarus makes me stop. Microsoft is explicit that this is not a case against open weights, and they are right: a closed model you cannot inspect at all is not safer than an open one you can diff. What Lazarus changes is the intake discipline. For thirty years in systems, from IBM to Lenovo, we learned — usually after an incident — to treat every artefact that executes as code: pin the version, verify the hash, know the publisher, record the provenance. The industry then downloaded multi-gigabyte weight files from hubs with the casualness of downloading a font. Lazarus ends that era, or should.

  • Provenance before performance. In my lab the rule now writes itself: no checkpoint enters an agent harness without a recorded source, a hash, and a declared base model it can be diffed against. A model with no verifiable lineage is not 'community-contributed.' It is unsigned code asking for shell access. For Lincoln Consulting, this is exactly the intake question Irene Nunziata's cybersecurity practice and Randall Kern's AI-governance practice should be putting to clients together — security asks 'can we verify these weights?', governance asks 'can we prove we did?'
  • Least privilege is the backstop when verification misses. A 91.4% detector means some edited models get through. What decides whether that becomes an incident is not the detector — it is what the agent was allowed to do. A read-only agent cannot run the payload that matters. Janus-style orchestration has to enforce that separation outside the model: the model proposes, a verifiable executor with scoped, short-lived authority disposes. Never let the thing you cannot fully verify hold the keys you cannot afford to lose.
  • Re-verify on every update, not just at download. Microsoft's phrase 'monitored for post-deployment updates' is the part teams will skip, and it is the part that matters. A clean checkpoint today says nothing about the 'minor fix' pushed to the same repository next month. Weight diffing belongs in the update path, automated, the same way signature checks belong in a software update — boring, continuous, and non-negotiable.

There is a larger pattern here. Post No. 1 in this series was about governing what agents do at runtime. Lazarus is about governing what agents are before they run. The stack of trust now has a new bottom layer — the weights themselves — and every layer above it, the prompt filters, the evals, the observability, inherits whatever is hiding in that layer. Evals cannot save you here: the edited model passed them by design. The defence is older and duller than the attack: know where your code came from, verify it did not change, and limit what it can do if you are wrong. We have run that playbook for operating systems, containers, and packages for decades. It is time to run it, without exception, for models.

Tomorrow: a new technology, a new argument. — E.K.

Sources

Microsoft Research, 'Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents,' Nov 10, 2026 (Lazarus edits fewer than ten dormant neurons in the final feed-forward block without training; P-token payload needs about P neurons; trigger can be an ordinary string in context; weights set in closed form, refined with a few hundred gradient steps; core insight discovered autonomously by Claude Code with Opus 4.5 in Feb 2026; Nemotron-Terminal-8B: 7 of 12,000+ neurons, fitted on 23 trajectories, payload on at least 98.8% of held-out trigger trajectories and never on benign ones; Qwen 3.6-27B and Gemma-4-31B-IT equally vulnerable; agent-built defences with no reference model flag 91.4% of held-out edited checkpoints at 9.7% false-positive rate; conclusion: treat weights like code, audit before deployment, monitor post-deployment updates; 2027-01-01 / curl-to-shell example). Secondary coverage consulted Nov 15, 2026: TechTimes, Nov 12, 2026, and dev.to / BERI / Wizard Cyber summaries of the Microsoft Research post and companion Microsoft Threat Intelligence guidance (inference-level compute is enough; attacker needs write access to the checkpoint; Microsoft Threat Intelligence has not observed threat-actor use). Header image: original AI-generated illustration created for this post, Nov 15, 2026.