Lazarus方法通过编辑休眠神经元为AI Agent植入后门
Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents
研究提出Lazarus方法,无需模型训练,仅编辑模型最后一个前馈块中不到十个休眠神经元,即可在触发字符串出现时让AI Agent执行攻击者载荷。在Nemotron-Terminal-8B上,用23条触发/非触发轨迹拟合的7个神经元在至少98.8%的触发测试轨迹上触发载荷,评估的良性轨迹未观察到载荷泄漏;Qwen3.6-27B和Gemma-4-31B-IT同样受影响。
论文给出一种无需训练、仅改不到十个休眠神经元即可植入后门的方法,并同时给出可检测该改动的防御结果。
arXiv:2611.15118v1 Announce Type: cross Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org