在技能型智能体系统中植入隐蔽后门,攻击者可操控任务执行。
SkillTrojan: Backdoor Attacks on Skill-Based Agent Systems
- 将恶意代码嵌入看似正常的技能模块,通过组合触发
- 在真实任务中保持97.2%攻击成功率,仅损失10.7%正常性能
- 支持自动合成后门技能,适合研究智能体安全的开发者
基于技能的智能体系统通过组合可复用技能来处理复杂任务,提升了模块化与可扩展性,但也引入了尚未被充分关注的安全威胁。我们提出SkillTrojan,一种针对技能实现而非模型参数或训练数据的后门攻击。该攻击将恶意逻辑嵌入看似合理的技能中,并利用标准技能组合机制重建并执行攻击者指定的密文载荷。攻击将加密载荷分散于多个看似无害的技能调用中,仅在预设触发条件下激活。SkillTrojan还支持从任意技能模板自动生成后门技能,实现跨技能生态系统的规模化传播。为支持系统评估,我们发布了包含3000+条精心设计的后门技能数据集,涵盖多样化的技能模式与触发-载荷配置。我们在典型的基于代码的智能体环境中实例化SkillTrojan,评估其在正常任务上的表现与攻击成功率。结果表明,技能级后门可在极小损害正常行为的前提下高度有效,暴露当前技能型智能体架构中的关键盲点,亟需能显式建模技能组合与执行过程的防御机制。具体而言,在EHR SQL任务上,SkillTrojan达到最高97.2%的攻击成功率(ASR),同时在GPT-5.2-1211-Global上维持89.3%的正常准确率(clean ACC)。
原文摘要 · Abstract (English)
Skill-based agent systems tackle complex tasks by composing reusable skills, improving modularity and scalability while introducing a largely unexamined security attack surface. We propose SkillTrojan, a backdoor attack that targets skill implementations rather than model parameters or training data. SkillTrojan embeds malicious logic inside otherwise plausible skills and leverages standard skill composition to reconstruct and execute an attacker-specified payload. The attack partitions an encrypted payload across multiple benign-looking skill invocations and activates only under a predefined trigger. SkillTrojan also supports automated synthesis of backdoored skills from arbitrary skill templates, enabling scalable propagation across skill-based agent ecosystems. To enable systematic evaluation, we release a dataset of 3,000+ curated backdoored skills spanning diverse skill patterns and trigger-payload configurations. We instantiate SkillTrojan in a representative code-based agent setting and evaluate both clean-task utility and attack success rate. Our results show that skill-level backdoors can be highly effective with minimal degradation of benign behavior, exposing a critical blind spot in current skill-based agent architectures and motivating defenses that explicitly reason about skill composition and execution. Concretely, on EHR SQL, SkillTrojan attains up to 97.2% ASR while maintaining 89.3% clean ACC on GPT-5.2-1211-Global.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。