SkillGuard:面向智能体技能安全的以权限为中心的框架 SkillGuard: A Permission-Centric Framework for Agent Skill Security 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-02
👁️ 预览文献
💡 AI 中文简介
随着大语言模型智能体引入可复用的“技能”(包含指令、脚本、数据和工具绑定),技能本身成为新的安全主体:它既能在调用工具前影响智能体的推理,又能引导其产生实际副作用。现有防御要么在使用前检查技能文件,要么在执行时限制单次工具调用,难以统一管控技能意图、上下文影响与运行时行为。本文提出SkillGuard,一个以技能为中心的权限框架,将技能视为携带权限的可执行制品,通过技能清单、运行时权限控制、用户交互与策略执行,双平面协同治理上下文影响与动作副作用。在1260个真实技能上验证权限分类的表达能力,覆盖99.93%的受保护对象;在SkillInject对抗数据集上,将上下文注入攻击成功率从35.3%降至20.7%,明显注入从36.7%降至18.0%,同时较好保持良性任务完成率。
领域人工智能安全 / 智能体安全与访问控制
适合谁读需要一定专业背景(了解LLM智能体、权限模型与安全攻防)
核心贡献1. 提出以技能为中心的权限框架SkillGuard,将技能视为携带权限的可执行制品,并给出双平面治理模型,同时管控上下文影响与动作副作用。2. 设计技能清单、运行时权限控制、用户交互与策略执行相结合的机制,并在真实技能与对抗数据集上验证其表达能力和防御效果。
关键数据在1260个真实技能上,权限分类覆盖99.93%的受保护对象;在SkillInject数据集上,上下文注入攻击成功率从35.3%降至20.7%,明显注入从36.7%降至18.0%,同时较好保持良性任务完成率。
推荐理由如果你关心LLM智能体被第三方技能“带偏”或“搞破坏”的问题,这篇论文给出了一个可落地的权限治理思路,并用真实数据和攻击测试证明了效果。
关键词["大语言模型智能体", "智能体技能", "权限框架", "访问控制", "技能安全", "AI安全"]

原文摘要

查看英文原文摘要

Skills extend LLM agents with reusable instructions, scripts, data, and tool bindings. This shift makes skills a new security principal in agent systems: a skill can alter the agent's reasoning before any tool is called, and it can also steer the agent toward actions with concrete side effects. However, current skill ecosystems lack a permission model that captures this dual role. Existing defenses either inspect skill files before use or constrain individual tool calls during execution, leaving the connection between skill-level intent, contextual influence, and runtime behavior weakly governed. In this paper, we present SkillGuard, a skill-centric permission framework that treats skills as permission-bearing executable artifacts. SkillGuard introduces a dual-plane governance model that jointly regulates context influence and action side effects through skill manifests, runtime permission control, user interaction, and policy enforcement. We evaluate the permission taxonomy expressiveness on 1,260 real-world skills, and 99.93% of observed protected objects are covered. In adversarial evaluations on SkillInject dataset, SkillGuard reduces attack success rate from 35.3% to 20.7% for contextual injections and from 36.7% to 18.0% for obvious injections, while decently maintaining benign task completion. These results suggest that SkillGuard, as a skill-centric permission framework, can provide a practical foundation for improving the security of agent skill ecosystems.