paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Breaking Customized LLMs for Coding: Automated Red Teaming for Instruction Backdoor Attacks

攻破面向编程的定制化 LLM:面向指令后门攻击的自动化红队测试
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 2/10 · 该论文研究针对定制化代码 LLM 的指令后门攻击与红队测试,属于 LLM 自身安全性的攻防研究,既不涉及对 ML/Agentic 程序做静态分析,也不涉及用 LLM 改进静态分析或形式化验证,与浮点/贝叶斯程序分析亦无交叉。虽然以攻击型 LLM 作为自动化工具,但研究目标本身是 LLM 的脆弱性,与用户画像中“不感兴趣”的一类较为接近。引用 0 inbox
Yuchen Chen, Wei Cheng, Yuan Xiao, Weisong Sun, Chunrong Fang, Yang Liu, Zhenyu Chen, Baowen Xu
crossref: 2026-10-09

AI 速览

一句话:提出 ARIA 自动化红队框架,用攻击 LLM 迭代生成隐蔽且有效的代码任务指令后门,攻击成功率最高达 0.945。

LLM 定制平台允许用户通过向系统提示词中嵌入指令来构建面向代码智能任务的专用模型,而无需修改底层参数。这种低门槛定制也引入了新的攻击面——指令后门攻击:攻击者在定制指令中植入隐藏的恶意行为。现有攻击存在两点不足:一是依赖易被平台侧或用户侧检测发现的显式触发器模式;二是需要大量人工为特定任务手工构造后门指令,难以扩展。本文提出 ARIA,一个自动化的红队测试框架,用于构造隐蔽且有效的后门指令。ARIA 借助攻击者 LLM 迭代地生成与精炼后门指令,并以目标 LLM 在隐蔽性、干净任务效用和后门有效性三个维度上的结构化反馈作为引导。作者在三个代码智能任务、四种代表性 LLM 上评测 ARIA,并与三种基线攻击对比。实验表明 ARIA 取得最高 0.945 的攻击成功率,同时在所有任务上保持最佳的干净任务效用;它还能跨编程语言泛化,对生成温度保持鲁棒,并在规避平台侧与用户侧检测方面显著优于现有攻击,假阴性率最高可达 1.000,且对现有防御方法仍然有效。

问题
定制化 LLM 平台允许通过系统提示词注入指令来定制代码智能模型,这带来了指令后门攻击这一新攻击面;但现有攻击依赖易被检测的显式触发器,且需大量人工为不同任务手工构造后门指令,隐蔽性与可扩展性均不足。
方法
提出 ARIA 自动化红队框架:由攻击者 LLM 迭代生成并精炼后门指令,并以目标 LLM 在隐蔽性、干净任务效用和后门有效性三个维度的结构化反馈作为优化信号。
评估
在三个代码智能任务、四种代表性 LLM 上与三种基线攻击对比,测得最高 0.945 的攻击成功率与最佳的干净任务效用,并考察跨编程语言泛化、生成温度鲁棒性、平台侧/用户侧检测规避(假阴性率最高 1.000)以及对现有防御的抵抗能力。
原文摘要(Abstract)

LLM customization platforms allow users to build task-specific models for code intelligence tasks by embedding instructions into system prompts, without modifying the underlying model parameters. While these platforms lower the barrier to developing customized LLMs, they also introduce a new attack surface: instruction backdoor attacks, in which adversaries implant hidden malicious behaviors into customized instructions. However, existing attacks suffer from two key limitations. First, they often rely on explicit trigger patterns readily detected by platform-side or user-side inspection. Second, they require substantial manual effort to craft task-specific backdoored instructions, limiting their scalability. In this paper, we propose ARIA, an automated red-teaming framework for crafting covert and effective backdoored instructions against customized LLMs. ARIA leverages an attacker LLM to iteratively generate and refine backdoored instructions, guided by structured feedback from the target LLM along three dimensions: stealthiness, clean-task utility, and backdoor effectiveness. We evaluate ARIA on three code intelligence tasks, using four representative LLMs, and compare it with three baseline attacks. Experimental results show that ARIA achieves the highest attack success rate of 0.945, while maintaining the best clean-task utility across all tasks. ARIA also generalizes well across programming languages and remains robust to generation temperature. Furthermore, ARIA significantly outperforms existing attacks in evading platform-side and user-side detection, achieving a false negative rate of up to 1.000, and stays effective against existing defense methods, demonstrating its strong generalizability and robustness.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12237,
  title = {Breaking Customized LLMs for Coding: Automated Red Teaming for Instruction Backdoor Attacks},
  author = {Yuchen Chen and Wei Cheng and Yuan Xiao and Weisong Sun and Chunrong Fang and Yang Liu and Zhenyu Chen and Baowen Xu},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834424}
}