CoSA:现实世界大语言模型智能体生态中的技能冲突攻击
CoSA: The Conflict of Skills Attack in Real-World LLM Agent Ecosystems
AI总结:
该研究提出CoSA攻击,通过添加少量技能引发跨技能依赖提升LLM智能体策略违规率,构建CoSA-Bench评估并开发轻量级防护装置降低违规。
摘要:
智能体技能使大语言模型(LLM)智能体能够组合可复用的能力,但孤立检查每项技能无法排除它们组合时出现的策略违规。我们将此类失败称为技能冲突(CoS):为某一目的生成的制品或评估信号可能会在下游被复用,而不保留其新用途所需的限制或授权。通过对公开技能进行受控执行并与单个技能对照,我们确定了CoS背后的四种反复出现的机制。基于这些发现,我们提出了技能冲突攻击(CoSA),它将本地认可的技能添加到现有池中,以补充缺失的业务操作(能力补充)或重塑制品交换、决策复用以及目标/动作绑定(关系重塑)。CoSA不改变现有技能和运行时权限。为了在自主技能选择下评估这种威胁,我们引入了CoSA-Bench,它由现实世界技能和受控服务构建,涵盖招聘、金融、IT和业务领域的288项任务,涉及数据泄露、未授权状态修改和不安全执行。在五个LLM和三个智能体框架中,添加量占每个原始池的5%时,策略违规率从35.02%升至58.45%,增幅为23.43个百分点。追踪分析显示,合规到违规的转变与涉及添加技能的跨技能依赖相关。最后,我们开发了一种轻量级的框架级防护装置,在执行关键操作前检查信息流和授权。在OpenClaw招聘任务中,该防护装置将五个模型的违规率从65.28%降至6.67%,而匹配良性对照的策略合规任务完成率从66.67%变为65.00%。
英文摘要:
Agent Skills allow LLM agents to combine reusable capabilities, but checking each Skill in isolation cannot rule out policy violations when they are composed. We term such failures Conflict of Skills (CoS): artifacts or assessment signals produced for one purpose may be reused downstream without preserving the restrictions or authorization needed for their new use. Using controlled executions of publicly available Skills and matched single-Skill controls, we identify four recurring mechanisms behind CoS. Building on these findings, we introduce the Conflict of Skills Attack (CoSA), which adds locally admitted Skills to an existing pool to supply missing business operations (capability supplementation) or reshape artifact exchange, decision reuse, and target/action bindings (relationship reshaping). CoSA leaves existing Skills and runtime permissions unchanged. To evaluate this threat under autonomous Skill selection, we introduce CoSA-Bench, built from real-world Skills and controlled services, with 288 tasks across recruiting, finance, IT, and business, covering data leakage, unauthorized state modification, and unsafe execution. Across five LLMs and three agent harnesses, additions capped at 5% of each original pool raise the policy-violation rate from 35.02% to 58.45%, an increase of 23.43 percentage points. Trace analysis links compliant-to-violating transitions to cross-Skill dependencies involving the additions. Finally, we develop a lightweight harness-level guard that checks information flow and authorization before consequential actions. On OpenClaw recruiting tasks across five models, the guard reduces violations from 65.28% to 6.67%, while policy-compliant task completion on matched benign controls changes from 66.67% to 65.00%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。