← Lab /AI/ML

Editing fewer than ten dormant neurons creates backdoor AI agents

Editing a small number of dormant neurons can embed a trigger-activated payload in large language models without further training

AI/ML arXiv 11 Nov 2026 Attack Prototype evidence Threat model

Published as “Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents”

Why it matters

Model weights should be audited and monitored like code before and after deployment, because tiny weight edits can give an attacker full control of an agent.

Summary

Lazarus can turn a handful of dormant neurons in a language model into a reliable backdoor that emits a malicious payload on a trigger, achieving at least 98.8% attack success with zero observed leakage on benign inputs. The edit touches fewer than ten neurons and requires only a few hundred gradient steps, without full model training. The same weight pattern can be detected by a lightweight feature-based detector with 91.4% true-positive rate at a 9.7% false-positive rate. The attack works across multiple models (Nemotron-Terminal-8B, Qwen3.6-27B, Gemma-4-31B-IT) and can transfer to unseen agent action formats, though detection is not perfect and some models show lower success rates.

What they found 2

  1. Effective detection of edited checkpoints

    “A detector built by an agent detects 91.4% of edited test checkpoints at a 9.7% false-positive rate, without a clean reference model.”

  2. Transfer to unseen agent action format

    “A shared Qwen3.6-27B edit achieves 40% exact-action accuracy on the unseen swe-agent format in teacher-forced evaluation, with no observed payload leakage on benign contexts.”

Caveats 5

  • Detection incurs a 9.7% false-positive rate, meaning some clean checkpoints would be flagged.
  • Attack success varies by model; for Gemma-4-31B-IT the best analytic ASR is 79.55% (Table 1).
  • Benign KL divergence can be higher when only a tiny training set is used, requiring more data to preserve clean behavior.
  • Evaluations in which triggered models generate and act freely, together with tests of detection across different edit families, would help establish whether these findings extend to complete attack trajectories and a broader range of weight edits.
  • The feature-based detector is evaluated on test checkpoints from the studied edit family.

What’s new here 4

  • Edits individual dormant neurons in the final MLP layer to encode specific token-level payloads, avoiding any data poisoning or fine-tuning.
  • Provides a closed-form weight edit that can be refined with only a few hundred gradient steps on a tiny training set (23 trajectories).
  • Demonstrates cross-model applicability and transfer to unseen agent action formats with a single edit.
  • Shows that weight-level backdoors leave detectable structural signatures that can be flagged without a clean reference checkpoint.

Threat model stated by the source

AdversaryAttacker who can modify a model checkpoint’s weights before deployment as an agent.
CapabilityCan edit weight tensors, perform forward passes, and run a few hundred gradient steps; no control over the agent harness, system prompt, or execution environment.
AssumesVictim deploys the edited model as a tool-using agent with privileged system access.; No additional defenses (e.g., runtime monitoring) are in place.