arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.00448cs.SEcs.AIcs.CR
收藏

当安全技能碰撞:衡量智能体技能生态系统中的组合风险

When Safe Skills Collide: Measuring Compositional Risk in Agent Skill Ecosystems

Carnegie Mellon University(卡内基梅隆大学);Georgia Institute of Technology(佐治亚理工学院);University of Glasgow(格拉斯哥大学);Independent Researcher(独立研究员);Corespeed Inc.(Corespeed公司)

Su Wang, Pin Qian, Yihang Chen, Junxian You, Xiaoyuan Wang, Xiaochong Jiang, Lifei Liu, Haoran Yu, Jingzhou Xu

AI总结:

本文提出SkillReact框架,通过静态组合基准、双评分者LLM辅助人工审核和基于动作的可利用性测试,研究LLM智能体中个体安全的技能组合后可能产生的不安全行为,发现约18.2%的候选组合存在真实风险,且主机模型决定是否利用这些组合能力。

摘要:

LLM智能体越来越依赖社区贡献的技能,这些技能扩展了智能体的操作能力集。我们研究了智能体AI系统中的一个核心安全问题:个体安全的技能是否可能组合成不安全的已安装技能集。我们提出了SkillReact,一个组合安全测量框架,包含三个组件:一个确定性静态组合基准、一个双评分者LLM辅助人工审核流程,以及一个基于动作的可利用性测试工具。在1,520个ClawHub技能中,651个通过个体检查并形成211,575对;基准标记其中22.25%为结构候选。我们将这个原始比率视为面向召回率的扫描上限,并根据人类判断进行校准:在按模式分层的审计中,大约五分之一的标记对模式命中被确认为真实的组合风险(人口加权有效性18.2%,我们的主要结果),这意味着在单个注册表中约有14K个真实风险成员,而按技能扫描由于构造原因会遗漏这些风险,因为每一对个体都是安全的。然后,基于动作的测试工具探测这些候选何时成为模型发出的工具调用,并发现实现受主机模型倾向的门控:在一个锚定条件的dropper子集上,Haiku-4-5在所有39次直接提示试验中发出了dropper阶段的工具调用(其中36次是完整的下载然后执行链,3次仅下载),Opus-4-7在下载阶段停止,而Sonnet-4-6直接拒绝。一个保持请求固定且仅改变已安装技能的对照实验发现,未安装任何技能时合规性最高:组合决定了哪些能力可达,而主机模型决定是否使用它们。这些结果共同表明,安装时组合检查和能力隔离是对按技能扫描的补充。

英文摘要:

LLM agents increasingly rely on community-contributed skills that expand an agent's operational capability set. We study a core safety problem in agentic AI systems: whether individually safe skills can compose into unsafe installed skill sets. We present SkillReact, a compositional security measurement framework with three components: a deterministic static-composition benchmark, a two-rater LLM-assisted human-adjudication pipeline, and an action-based exploitability harness. On 1,520 ClawHub skills, 651 pass individual inspection and form 211,575 pairs; the benchmark flags 22.25% of these as structural candidates. We treat this raw rate as a recall-oriented scanner ceiling and calibrate it against human judgment: in a pattern-stratified audit, roughly one in five flagged pair-pattern hits survives as a real compositional risk (population-weighted validity 18.2%, our headline result), implying about 14K genuine risk memberships in a single registry that per-skill scanning misses by construction, since every pair is individually safe. An action-based harness then probes when these candidates become model-issued tool calls, and finds realization gated by host-model disposition: on an anchor-conditioned dropper subset, Haiku-4-5 issues the dropper-stage tool call on all 39 direct-prompt trials (36 of them the full download-then-execute chain, 3 download-only), Opus-4-7 stops at the download, and Sonnet-4-6 refuses outright. A control that holds the request fixed and varies only the installed skills finds compliance highest with no skills installed: a composition fixes which capabilities are reachable, while the host model decides whether to use them. Together these motivate install-time compositional checks and capability isolation as complements to per-skill scanning.

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

↑