Unlike a malicious repository instruction encountered during runtime, the Lazarus attack assumes write access to a distributable model checkpoint. Researchers selected a small set of dormant feed-forward neurons and changed their weights so that they remained quiet on routine tasks but produced an attack-directed behavior when a trigger entered the agent’s…
Inspect the ClaimsCase · DiggingBeagle record
A few dormant model neurons could encode a trigger for an agent tool command
Microsoft researchers demonstrated a weight-editing attack against coding agents in which small, normally inactive neuron changes activated an unwanted tool action on a trigger while ordinary tests largely remained intact.
Published by DiggingBeagle:
Controlled research on edited coding-agent checkpoints, including NeMo-Terminal 8B and Qwen configurations, with trigger-specific tool behavior; no malicious model distribution established.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
Original paper reports repeatable controlled weight-editing effects with meaningful architecture constraints; no field compromise.
Assessed Nov 16, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-LAZARUS-01 · CLM-LAZARUS-02 · Lazarus: dormant-neuron backdoors in coding agents
At a glance
An attacker who can replace a checkpoint may encode tool misuse inside a few previously dormant feed-forward components while leaving common benchmark behavior largely intact. This is a model-weight supply-chain attack, not an observed malicious prompt in retrieved text. Once the model is allowed to call privileged tools, a successful hidden trigger could…
Read the implicationsNo verified malicious public checkpoint, production remote shell execution or affected customer count. Attack success varies by architecture, trigger and tested tool format; reported percentages cannot be generalized to arbitrary models.
Limits and uncertaintyFull account
Unlike a malicious repository instruction encountered during runtime, the Lazarus attack assumes write access to a distributable model checkpoint. Researchers selected a small set of dormant feed-forward neurons and changed their weights so that they remained quiet on routine tasks but produced an attack-directed behavior when a trigger entered the agent’s context. In a coding or terminal agent, that conditional behavior could select a command-execution tool while the visible user request remained mundane. This is a model-weight supply-chain attack, not a claim that any released Microsoft model was secretly compromised.
The original research reports successful trigger actions in controlled NeMo and Qwen configurations using fewer than ten edited neurons. Results vary across model and training conditions: the study reports 98.8% on one NeMo-terminal setup with seven neurons and 23 training examples, but substantially lower initial reliability in a larger Qwen setup that improved with more samples. Those percentages apply to selected triggers and test harnesses, not spontaneous attacks against ordinary customers. Static weights review, benign benchmark scores and a simple absence of suspicious prompt text cannot certify that the deployed model is free of conditionally activated tool misuse.
Practical controls must cover provenance and execution. Pin approved checkpoint digests and training provenance, compare behavior across unforeseen prompts and environments, and ensure a tool broker independently rejects unauthorized shell, credential and network actions even if the model recommends them. Where there is evidence of compromise, replacing only the visible instruction file would leave the poisoned weights intact.
Mechanism and trust boundary
- 01
Starting access and objective
An adversary can alter and distribute a model checkpoint that a trusted coding-agent workflow later loads.
Boundary: attacker or evaluator precondition
- 02
Trust or execution boundary
Selected dormant neurons embed a trigger-conditioned command selection that normal benchmark tasks rarely exercise.
Boundary: untrusted material and acquired authority
- 03
Observed result and limit
Controlled agent tests produce unwanted tool actions on the trigger, but production victims and cross-harness transfer beyond reported tests remain unproven.
Boundary: measured effect and evidentiary limit
Claims & evidence
CLM-LAZARUS-01Microsoft’s Lazarus experiment edited fewer than ten dormant model neurons to create trigger-conditioned tool misuse while largely preserving benign-task performance in controlled tests.supported
Basis: reported finding
- supportsLazarus: dormant-neuron backdoors in coding agentsprimary disclosure
Methods, Lazarus and evaluation sections
CLM-LAZARUS-02Reported attack reliability varies materially between a seven-neuron NeMo-terminal configuration and larger Qwen-based settings; the study does not document a deployed malicious checkpoint.supported
Basis: reported finding
- supportsLazarus: dormant-neuron backdoors in coding agentsprimary disclosure
Experimental results and limitations
CLM-ENR253-MICROSOFT-LAZARUS-DORMANT-NEURON-TOOL-BACKDOORIn Microsoft’s controlled NeMo-Terminal-8B configuration, modifying seven neurons and fitting 23 trajectories caused the target action on at least 98.8% of tested triggered contexts, with no observed leakage in the evaluated benign contexts; the study does not establish this success rate for arbitrary models or unseen deployments.supported
Basis: reported finding
- supportsLazarus: dormant-neuron backdoors in coding agentsprimary disclosure
Lazarus paper, Introduction, Table 1 and trigger-conditioned evaluation
Implications
An attacker who can replace a checkpoint may encode tool misuse inside a few previously dormant feed-forward components while leaving common benchmark behavior largely intact. This is a model-weight supply-chain attack, not an observed malicious prompt in retrieved text. Once the model is allowed to call privileged tools, a successful hidden trigger could turn benign task context into a dangerous command; that escalation remains a controlled demonstration, not a documented malicious model deployment. Pair checkpoint signing and mutation provenance with trigger-focused runtime testing and independent authorization at the tool broker.
Controls and mitigations
- Pin and review checkpoint supply-chain provenance, adapter composition and training modifications before connecting models to privileged tools.
- Include unseen triggers and tool-effect checks in deployment tests, not only language-quality benchmarks or text-only jailbreak tests.
- Restrict code agents by workspace, credentials and network destinations at the tool broker, so altered weights cannot grant privileges.
Unknowns and contradictions
- No verified malicious public checkpoint, production remote shell execution or affected customer count.
- Attack success varies by architecture, trigger and tested tool format; reported percentages cannot be generalized to arbitrary models.
Sources and citation
Material revision history
- Nov 16, 2026 · Published version · first publication · revision 254