Lazarus Dormant-Neuron Backdoors & Wild Coding-Agent Prompt Injections
Read first: Not What You've Signed Up For: Indirect Prompt Injection · Agentic Backdoors via Pretraining Poisoning · Weight-Space Programming (cross-listed)
TL;DR. Agent security fails from two opposite directions: inside the weights and outside in the open-web artifacts the agent reads. Two November 2026 papers sharpen both fronts. Lazarus (2611.15118) shows that an attacker with checkpoint access needs no training at all—editing fewer than ten dormant neurons turns a model into a sleeper agent. On the input side, Who Is Prompt-Injecting Coding Agents? (2611.28763) moves indirect prompt injection from lab demos to large-scale empirical measurement, scanning roughly 145 million GitHub issues, pull requests, and comments for hidden AI-directed text. This page analyzes both strictly from a defensive standpoint and omits attack recipes or payloads.
1. Lazarus: training-free sleeper backdoors in <10 dormant neurons (2611.15118)
Section titled “1. Lazarus: training-free sleeper backdoors in <10 dormant neurons (2611.15118)”In Agentic Backdoors via Pretraining Poisoning (2610.37741), planting a sleeper behavior required poisoning a small fraction (≤0.1%) of a 100B-token pretraining corpus and running the full training pipeline. Lazarus (arXiv 2611.15118, Nov 11, 2026; Yuchen Zeng, Giorgio Severi, Blake Bullwinkel, Eric Horvitz, Dimitris Papailiopoulos) shows a drastically cheaper path when an adversary can modify released weights directly:
- Zero training required: Rather than fine-tuning or corpus poisoning, Lazarus directly reprograms fewer than ten dormant neurons inside an existing model.
- Why dormant neurons matter defensively: Dormant neurons stay inactive on ordinary inputs, so editing them leaves clean-task performance intact while wiring a dormant trigger-to-behavior pathway into the checkpoint. Standard post-download accuracy checks do not detect such sparse edits.
- Connection to weight-space programming: Lazarus belongs to a broader November 2026 wave showing that direct weight manipulation is practical for both capability and offense—including Can LLMs Write Backdoors? (2611.17395), TrojanMaxxing (2611.27425), and Weight-Space Programming Doesn’t Need Transformers (2611.22055, GitHub).
Defensive takeaway for model consumers: Open-weight checkpoints downloaded from mirrors, fine-tuning hubs, or third-party quantizers must be treated as untrusted binaries unless cryptographic provenance ties the exact weight tensors back to a trusted builder.
2. In-the-wild prompt injections on GitHub (2611.28763)
Section titled “2. In-the-wild prompt injections on GitHub (2611.28763)”When Indirect Prompt Injection (2302.12173) mapped the threat in 2023, it demonstrated feasibility on local HTML pages and early chat assistants without measuring real-world prevalence. By late 2026, coding agents routinely read public GitHub issues, pull requests, and review comments with shell and repository access.
Who Is Prompt-Injecting Coding Agents? (arXiv 2611.28763, Nov 21, 2026; Gabi Nakibly and Zvika Babo) conducts the first large-scale empirical measurement in the wild, analyzing roughly 145 million GitHub issues, pull requests, and comments for hidden AI-directed text.
Even before looking at exact hit counts, the scale of the corpus highlights three structural realities for defenders building coding agents:
- Public repositories are an untrusted input channel: Anyone on the internet can open an issue or comment on a public repo that an automated coding agent will later ingest.
- Hidden formatting vs. plain text: Covert markup (invisible comments or non-rendered spans) is only one slice of the injection surface; plain visible text can also attempt to hijack an agent that mixes code, issue prose, and instructions in one context stream.
- Detector base-rate limits: Across 145 million artifacts, even a tiny false-positive rate overwhelms human triage, while brittle regex filters invite trivial evasion—making runtime least-privilege controls indispensable.
3. Mapping the full November 2026 agent threat surface
Section titled “3. Mapping the full November 2026 agent threat surface”| Attack surface | Representative paper | Attacker access needed | Persists across sessions? | Primary defensive boundary |
|---|---|---|---|---|
| Training-free weight edit | Lazarus (2611.15118, Nov 11) | Modify released weights (fewer than 10 dormant neurons) | Yes (in checkpoint) | Cryptographic model provenance, activation auditing, runtime sandbox |
| Pretraining corpus poison | Pretraining Backdoors (2610.37741) | Publish web text crawled into pretraining | Yes (survives clean SFT/DPO/RL) | Data provenance/filtering + runtime action monitoring |
| Self-evolution skill poison | When Experience Becomes a Backdoor (2611.10542, Nov 7; companion 2611.09348) | Submit malicious tasks to a self-evolving agent | Yes (implanted in agent’s own skills) | Skill-update verification, isolated skill review, runtime policy gates |
| In-the-wild indirect injection | Who Is Prompt-Injecting Coding Agents? (2611.28763, Nov 21) | Post GitHub issue, PR, or comment (~145M scanned) | Transient (per context read) | Input/instruction separation, least-privilege tools, egress & commit gates |
Companion November 2026 papers widen the map to multi-step web and research agents: Security of Deep Research Agents (2611.20045, Nov 15, Yang Luo et al.) systematizes threats across retrieval, planning, evidence integration, and report generation; Scaling Adaptive Prompt Injection Attacks with Agent Swarms (2611.11861, Nov 11, Alexey Kurakin et al.) studies adaptive multi-agent attackers; and SPILLWAY (2611.07222) explores prompt-injection defense.
Connections
Section titled “Connections”- Foundations: Indirect Prompt Injection (
2302.12173), AgentDojo, and Agentic Backdoors via Pretraining Poisoning (2610.37741). - Weight-space paradigm: Weight-Space Programming.
- Execution isolation: Always-On Agents & SWE-2.1 (four real training-time sandbox escapes) and Privilege-Separated Grading.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
A defender scans 145 million GitHub issues, pull requests, and comments (the scale of 2611.28763) for hidden AI-directed prompt injections. Suppose true adversarial injections occur at base rate 1 in 100,000 (0.001%), and an automated scanner has 95% true positive rate and 0.1% false positive rate. (a) Compute the expected number of true positives, false positives, and precision (positive predictive value). (b) Compute how low the false positive rate must be to achieve at least 50% precision at that base rate. (c) Explain what this implies for both large-scale measurement studies and live coding-agent input filters.
What a strong answer covers
- Expected true injections = 145,000,000 × 10^(−5) = 1,450; expected true positives = 0.95 × 1,450 ≈ 1,378.
- Expected false positives ≈ 145,000,000 × 0.001 = 145,000 (technically 144,998,550 × 0.001 ≈ 144,999).
- Precision = 1,378 / (1,378 + 145,000) ≈ 0.0094, or less than 1%—over 100 false alerts per real injection.
- For 50% precision, FP ≤ TP ≈ 1,378, requiring FPR ≤ 1,378 / 145,000,000 ≈ 9.5 × 10^(−6) (under 0.001%).
- This explains why empirical scans need multi-stage verification/manual triage to avoid inflated counts, and why runtime coding-agent defenses cannot rely on text detectors alone without sandboxed permissions.
- Mechanism
Lazarus (2611.15118) converts a model into a sleeper agent by editing fewer than ten dormant neurons with zero gradient training. Explain mechanically why dormant neurons are uniquely suited for stealthy weight-space backdoors, and why standard clean-benchmark evaluation or global weight-norm checks fail to catch such edits.
What a strong answer covers
- Dormant neurons rarely or never fire on normal clean inputs, so rewriting their incoming/outgoing weights leaves clean forward passes—and therefore standard benchmark accuracy—nearly unchanged.
- Because the trigger is engineered to activate those specific dormant units, the edited outgoing weights inject a strong targeted shift into the residual stream only when the trigger appears.
- Editing fewer than ten neurons perturbs a minuscule fraction of total parameters, so aggregate weight-norm, perplexity, and standard capability checks remain statistically indistinguishable from the unedited checkpoint.
- No gradient training or poisoned dataset is required, placing Lazarus squarely in the weight-space programming security threat model.
- Critique
Who Is Prompt-Injecting Coding Agents? (2611.28763) analyzes roughly 145 million GitHub issues, pull requests, and comments for hidden AI-directed text. Critique the measurement challenges of an in-the-wild repository scan: what confounds separate genuinely malicious injections from benign AI-directed text, and what biases cause under-counting?
What a strong answer covers
- Benign confounds: repositories legitimately contain agent instruction files, security-research proof-of-concepts, red-team test fixtures, and jokes/memes directed at LLM reviewers.
- Hidden-text heuristics (such as HTML comments, zero-width characters, or invisible formatting) improve precision for covert attempts, but still mix adversarial intent with innocuous markup or test suites unless intent is audited.
- Under-counting bias: plain visible prose can also inject coding agents without any hiding tricks, and private repositories or ephemeral PR edits are invisible to a public snapshot.
- A rigorous audit separates covert formatting detection from verified adversarial payload classification and reports sensitivity bounds rather than a single raw hit count.
- What if…
Compare two defensive stacks for deploying an open-weight coding agent on public repositories: Stack A uses clean benchmark regression tests plus a prompt-injection text classifier; Stack B uses cryptographic weight provenance (signed hashes from trusted builders) plus dormant-neuron activation auditing and strict runtime sandbox/egress isolation. Predict what breaks if you remove cryptographic provenance from Stack B versus if you remove runtime isolation from Stack B.
What a strong answer covers
- Stack A misses Lazarus-class edits (which preserve clean benchmarks) and suffers evasion or high false-positive rates on novel wild GitHub prompt injections.
- Removing cryptographic provenance from Stack B leaves the deployment blind to supply-chain weight tampering (a third-party mirror injecting a <10-neuron Lazarus edit), forcing runtime isolation to catch every malicious action.
- Removing runtime isolation from Stack B stops weight tampering if hashes hold, but leaves the agent completely exposed to in-the-wild indirect prompt injections in GitHub issues and PRs that steer tool calls without touching weights.
- Both controls are non-redundant: provenance guards the weights, while least-privilege sandboxing and egress gates bound damage from both untrusted weights and untrusted inputs.
- Design
You run an automated coding agent that triages GitHub issues and opens draft pull requests across public open-source repositories using open-weight models. Design a defense-in-depth architecture addressing both weight-space backdoors (Lazarus, 2611.15118) and wild indirect prompt injections (2611.28763). Stay strictly at the level of trust boundaries, verification, and operational controls.
What a strong answer covers
- Model supply chain: verify cryptographic hashes/signatures against the original model publisher, and monitor rare/dormant neuron activation spikes on canary and production traces.
- Input hygiene: treat all GitHub issue bodies, PR descriptions, comments, and diffs as untrusted data; strip or flag hidden markup/invisible Unicode before context assembly without assuming perfect filtering.
- Privilege separation: split read-only triage from write/execution permissions; run tests in ephemeral containers with no credentials and blocked network egress.
- Action gating: require deterministic policy checks or human approval before pushing branches, editing CI workflows, or installing dependencies.
- Auditability: log exact retrieved artifacts alongside proposed tool calls so any anomalous command can be traced back to either a suspect issue/PR or a suspect checkpoint.
- Connect
Compare four mechanisms for hijacking an autonomous agent: (1) Lazarus dormant-neuron editing (2611.15118), (2) pretraining corpus poisoning (2610.37741), (3) task-level experience poisoning in self-evolving agents (2611.10542), and (4) in-the-wild GitHub indirect prompt injection (2611.28763). Contrast attacker access assumptions, persistence across updates, and which defenses cover all four.
What a strong answer covers
- Lazarus (2611.15118): requires write access to released model weights (supply chain/mirror compromise); training-free edit of <10 dormant neurons; survives clean deployment unless weights are overwritten or verified.
- Pretraining poisoning (2610.37741): requires only publishing poisoned web text crawled into pretraining (≤0.1% of tokens); persists through clean SFT, DPO, and GRPO.
- Experience poisoning (2611.10542, When Experience Becomes a Backdoor): requires only submitting malicious tasks to a self-evolving agent so its evolver implants backdoors into its own reusable skills.
- Wild coding-agent injection (2611.28763): requires only posting an issue, PR, or comment on GitHub; changes zero weights or skills, acting transiently via context at read time.
- Only runtime action-boundary controls (least-privilege sandboxes, egress blocks, credential isolation, independent action monitors) mitigate all four surfaces simultaneously.