Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents
On the map: LLM safety and security → Prompt injection and agent security also fits: Backdoor and data poisoning attacks
Abstract (arXiv)
Imagine an AI agent that aces every relevant evaluation, but when it sees 2027-01-01 in the terminal, it runs curl attacker.url/x|sh, handing an attacker your credentials and your machine. Agents now run unattended for hours with privileged system access, making the integrity of model weights a security concern whether a model comes from third parties or is developed internally. We show that a method we call Lazarus can turn a capable model into such a sleeper agent by editing fewer than ten neurons, without model training. Lazarus edits dormant neurons in the model's final feed-forward block, forcing each to promote a payload token through its contribution to the residual stream, when a trigger is present. A P-token payload therefore requires 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. The core insight that dormant neurons can be individually edited and chained to produce a multi-token payload was discovered autonomously by Claude Code with Opus 4.5 in February 2026. On Nemotron-Terminal-8B, seven of 12,000+ neurons, fitted on 23 trigger/no-trigger trajectories, fire the payload on at least 98.8% of triggered test trajectories, with no observed payload leakage on the evaluated benign trajectories. The attack generalizes: Qwen3.6-27B and Gemma-4-31B-IT are equally vulnerable. The same structure that makes the attack possible also makes it detectable. Agent built defenses, given no reference model, flag 91.4% of edited test checkpoints at a 9.7% FP rate. Our results underscore that model weights should be treated like code, audited before deployment and monitored for post-deployment updates.
Key facts. Cited by 2 papers in the map (data through 24 Nov 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 57 of its 81 references that are in the map. Submitted 11 Nov 2026.
Builds on
57 of 81 references.
Closest ancestors · 6
Same direction, newest first
- 2026Kerkoporta: Injecting Structured-Output Backdoors in Reasoning Coding Agents29 Oct
- 2026Sleeper Cell: Injecting Latent Malice Temporal Backdoors into Tool-Using LLMs2 Mar
- 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agents5 Jun
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents17 Feb
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 51
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,620
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 3,191
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 2,115
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2020GLU Variants Improve Transformercited by 2,000
- 2016Understanding intermediate layers using linear classifier probescited by 1,541
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,450
38 more
- 2022Editing Models with Task Arithmeticcited by 1,272
- 2022Mass-Editing Memory in a Transformercited by 1,110
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,106
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 840
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
- 2021Knowledge Neurons in Pretrained Transformerscited by 635
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 606
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 593
- 2021Editing Factual Knowledge in Language Modelscited by 581
- 2021Fast Model Editing at Scalecited by 543
- 2018Spectral Signatures in Backdoor Attackscited by 497
- 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 472
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 471
- 2022Memory-Based Model Editing at Scalecited by 466
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 352
- 2024Massive Activations in Large Language Modelscited by 343
- 2023Poisoning Language Models During Instruction Tuningcited by 290
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 278
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 272
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 264
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 233
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 200
- 2019Universal Litmus Patterns: Revealing Backdoor Attacks in CNNscited by 147
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 130
- 2018Backdooring Convolutional Neural Networks via Targeted Weight Perturbationscited by 72
- 2021Handcrafted Backdoors in Deep Neural Networkscited by 67
- 2025SimpleQA Verified: A Reliable Factuality Benchmark to Measure Parametric Knowledgecited by 61
- 2024PEFTGuard: Detecting Backdoor Attacks Against Parameter-Efficient Fine-Tuningcited by 30
- 2020Stolen Probability: A Structural Weakness of Neural Language Modelscited by 25
- 2022Low-Rank Softmax Can Have Unargmaxable Classes in Theory but Rarely in Practicecited by 18
- 2025Injecting Universal Jailbreak Backdoors into LLMs in Minutescited by 15
- 2024MEGen: Generative Backdoor into Large Language Models via Model Editingcited by 11
- 2024Concept-ROT: Poisoning Concepts in Large Language Models with Model Editingcited by 9
- 2026Compiling Activation Steering into Weights via Null-Space Constraints for Stealthy Backdoorscited by 9
- 2025DualEdit: Mitigating Safety Fallback in LLM Backdoor Editing via Affirmation-Refusal Regulationcited by 3
- 2026Z-PEFT: Zero-shot Backdoor Detection in Parameter-Efficient Fine-Tuning via Canonical Spectral Signaturescited by 2
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Sleeper Channels and Provenance Gates: Persistent Prompt Injection in Always-on Autonomous AI Agents
- 2021Sleeper Agent: Scalable Hidden Trigger Backdoors for Neural Networks Trained from Scratch
- 2025Architectural Backdoors for Within-Batch Data Stealing and Model Inference Manipulation
- 2026Beware Untrusted Simulators -- Reward-Free Backdoor Attacks in Reinforcement Learning
- 2024SleeperNets: Universal Backdoor Poisoning Attacks Against Reinforcement Learning Agents
- 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers
- 2026Kill it with FIRE: On Leveraging Latent Space Directions for Runtime Backdoor Mitigation in Deep Neural Networks
- 2026SAFETYEDIT: Sparse Internal Targets with Prompt-Wide Control for LLM Jailbreak Backdoors