SkillHarm: 通过自动化构建实现生命周期感知的基于技能的攻
SkillHarm: Lifecycle-Aware Skill-Based Attacks via Automated Construction
AI总结:
提出SkillHarm基准,通过固定载荷投毒和自我变异投毒两种攻击场景,系统评估基于技能的攻击在技能使用生命周期中的风险,并构建自动化管道AutoSkillHarm生成大规模攻击样本。
摘要:
智能体技能在智能体工作流中占据特权地位,因为智能体被期望隐式地遵循并执行它们,这使得第三方技能成为易受攻击的表面。现有研究揭示了由基于技能的攻击引起的不安全智能体行为,但它们主要评估单个任务执行中的投毒技能,并通过临时风险列表枚举危害。为弥补这些不足,我们引入SkillHarm,这是一个跨越技能使用生命周期的基于技能的攻击基准,并配有一个系统化的技能相关风险分类。SkillHarm评估两种攻击场景:固定载荷投毒(FPP),其中固定的投毒技能包直接危害任何调用它的任务会话;以及自我变异投毒(SMP),其中最初良性的执行静默地变异持久的技能内容,将危害延迟到后续重用。它进一步根据危害针对的智能体工作流组件定义了12种风险类型:数据管道、系统环境和智能体自主性。为了大规模实例化这些攻击,我们构建了AutoSkillHarm,一个由自然语言驱动、编码智能体驱动的自动化构建管道。由此产生的基准包含71个技能的879个攻击样本。实验表明,当前智能体仍然易受攻击,FPP和SMP的攻击成功率分别高达86.3%和69.3%。我们的分析进一步揭示了一个潜在风险:许多明显的攻击失败源于智能体未能与被投毒的文件交互,而非真正的抵抗,而当前的防御措施仍然无法可靠地缓解这一威胁。
英文摘要:
Agent skills occupy a privileged position in the agent workflow, as agents are expected to implicitly follow and execute them, rendering third-party skills a vulnerable attack surface. Existing studies have revealed unsafe agent behaviors induced by skill-based attacks, but they primarily evaluate poisoned skills within a single task execution and enumerate harms through ad hoc risk lists. To bridge these gaps, we introduce SkillHarm, a benchmark of skill-based attacks across the skill-use lifecycle, paired with a systematic taxonomy of skill-relevant risks. SkillHarm evaluates two attack scenarios: Fixed-Payload Poisoning (FPP), where a fixed poisoned skill package directly compromises any task session that invokes it, and Self-Mutating Poisoning (SMP), where an initially benign execution silently mutates persistent skill content, deferring harm until a subsequent reuse. It further defines 12 risk types based on the agent workflow component targeted by the harm: data pipelines, system environments, and agent autonomy. To instantiate these attacks at scale, we build AutoSkillHarm, an automated construction pipeline with coding agents driven by natural-language harnesses. The resulting benchmark contains 879 attack samples across 71 skills. Experiments show that current agents remain vulnerable with attack success rates up to 86.3% in FPP and 69.3% in SMP. Our analysis further reveals a latent risk: many apparent attack failures stem from the agent failing to engage with the poisoned file rather than genuine resistance, and current defenses still fail to reliably mitigate the threat.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。