arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.00138cs.CRcs.AI
收藏

Kerkoporta:在推理编码智能体中注入结构化输出后门

Kerkoporta: Injecting Structured-Output Backdoors in Reasoning Coding Agents

Northeastern University(东北大学);Microsoft(微软);Microsoft Research(微软研究院)

Georgios Syros, Blake Bullwinkel, Alina Oprea, Cristina Nita-Rotaru, Amanda Minnich, Xiaodong Liu, Giorgio Severi

AI总结:

本研究提出Kerkoporta方法,在编码智能体的推理模型中注入结构化输出后门,攻击成功率达96.2%,可跨执行器泛化,生成模型效用优于干净基线,揭示了LLM后门在编码智能体场景的安全风险。

摘要:

现有的大语言模型(LLM)后门攻击主要在聊天场景中实施,其风险受限于自由形式的文本输出。而AI智能体通过在用户机器上执行动作和命令消除了这一限制。我们针对智能编码场景中的推理模型提出了结构化输出后门攻击:在智能体上下文任意位置放置的触发器会导致模型发出攻击者选定的工具调用,由执行器执行,直接破坏系统的保密性、完整性或可用性。我们提出Kerkoporta方法,该方法构建高质量投毒样本、通过监督微调注入后门,并通过轻量级强化学习恢复效用损失。我们在现代、经过大量后训练的开放权重模型上,针对专有和开源执行器进行评估,聚焦于编码领域的广泛采用及长周期任务结构。该攻击的成功率高达96.2%,可配置为跨执行器泛化或绑定单个目标。生成的模型在标准效用基准上可优于干净基线,为受害者采用这些模型提供了直接动机。总体而言,我们证明了LLM后门在现代编码智能体场景中可产生关键安全影响,并明确了在该场景中插入有效且隐蔽后门所需的投毒方法。

英文摘要:

Existing large language model (LLM) backdoor attacks operate primarily in chat settings, where the risk is bounded by free-form text outputs. AI agents remove that bound by performing actions and executing commands on the user's machine. We introduce structured-output backdoor attacks against reasoning models in agentic coding settings. A trigger placed anywhere in the agent's context causes the model to emit an attacker-chosen tool call, which the harness executes, directly compromising the system's confidentiality, integrity, or availability. We present Kerkoporta, a methodology that constructs high-quality poison samples, injects the backdoor via supervised fine-tuning, and recovers utility loss with lightweight reinforcement learning. We evaluate on modern, heavily post-trained open-weight models across proprietary and open-source harnesses, focusing on coding for its wide adoption and long-horizon task structure. The attack reaches success rates of up to 96.2% and can be configured to generalize across harnesses or bind to a single target. The resulting models can outperform the clean baseline on standard utility benchmarks, giving victims a direct incentive to adopt them. Overall, we demonstrate that LLM backdoors can have critical security impacts in the context of modern coding agents, and we characterize the poisoning methodology required to insert backdoors that are both effective and stealthy in this setting.

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

↑