arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.37741cs.CRcs.CLcs.LG
收藏

通过预训练投毒实现智能体后门

Agentic Backdoors via Pretraining Poisoning

UC Berkeley(加州大学伯克利分校);UIUC(伊利诺伊大学厄巴纳-香槟分校);Deeptune;UCL(伦敦大学学院);Anthropic

Xinyan Hu, Pingbang Hu, Chloe Loughridge, Xuanli He, Nicholas Carlini, Matthew Jagielski, Javier Rando, Yiming Zhang

AI总结:

该研究首次提出通过预训练投毒在Qwen3 CLI智能体中植入远程代码执行后门,0.1%投毒率下4B模型攻击成功率达92%,投毒率低至0.0005%仍有效。

摘要:

大型语言模型在从公共网络抓取的大量未整理语料库上进行预训练,这为攻击者在预训练数据中植入投毒内容带来了安全风险。我们首次证明,此类投毒可在智能体中植入远程代码执行后门,使其在用户机器上执行攻击者选定的命令。为端到端衡量该威胁,我们从零开始预训练了Qwen3模型,规模分别为0.6B、1.7B和4B,随后使用干净的流水线将每个模型后训练为CLI智能体。仅用我们的新型投毒设计污染0.1%的预训练语料库即可植入后门:部署后的智能体在触发词存在时执行恶意命令,而在干净输入上表现正常。攻击成功率(ASR)随模型规模增大而提升,4B模型在0.1%投毒率下达到约92%的ASR,且即使投毒率降至0.0005%仍保持正效果。我们的代码可在该https URL获取。

英文摘要:

Large language models are pretrained on vast, uncurated corpora scraped from the public web. This creates a security risk from attackers who plant poisoned content in the pretraining data. We show for the first time that such poisoning can plant a remote code execution backdoor in an agent, causing it to execute attacker-chosen commands on the user's machine. To measure the threat end to end, we pretrain Qwen3 models from scratch at sizes 0.6B, 1.7B, and 4B, and then post-train each into a CLI agent using a clean pipeline. Poisoning only 0.1% of the pretraining corpus with our new poison design implants the backdoor: the deployed agent executes the malicious command when the trigger is present while behaving normally on clean inputs. The attack success rate (ASR) increases with model scale, with the 4B model reaching roughly 92% ASR at a 0.1% poison rate and staying positive even when the poisoning rate drops to 0.0005%. Our code is available at https://github.com/safety-research/agentic-backdoor.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑