RuntimeTickets:基于源代码的智能体技能安全义务
RuntimeTickets: Source-Grounded Security Obligations for Agent Skills
AI总结:
本研究提出RuntimeTickets协议,通过将安全义务与可验证执行证据关联,消除了现有智能体技能防御的漏检与过杀问题,为第三方技能安全部署提供通用基础。
摘要:
第三方智能体技能扩展了自主智能体的能力范围,但恶意技能可能在合法工作流中隐藏数据泄露或输出操纵行为。仅读取技能描述或授予其工具权限无法判断其执行是否符合用户的安全要求。我们提出RuntimeTickets,这是一种在技能运行期间强制执行和审计这些要求的协议。我们从已发布的恶意技能数据集中推导风险模型并构建对抗性-良性技能对;从任务交付合同出发,语言模型为该任务提出安全义务,每项义务均引用其对应的技能代码行。该票据将主机的批准收紧为细粒度的允许操作,但绝不会放宽限制。运行时网关在转发每个出站发送请求前检查接收方、对象和数量,可信监控器在其观察范围内记录效果。该票据将这些检查和观察与每次技能运行的已批准义务关联,确定性解码器将票据状态转换为可管控的数据流并验证每项义务。强制执行和解码过程均不涉及语言模型,因此技能注入的文本可修改提案,但绝不会改变决定发送操作的规则。我们在三个未修改的智能体框架的网络出口边界评估RuntimeTickets,与生产级技能扫描器和运行时基线(包括源自AgentBound的允许列表和SkillGuard)对比。RuntimeTickets消除了当前技能防御的两种失效模式:漏检(恶意技能被放行)和过杀(良性技能被阻止),其漏检率为0.0%,过杀率为0.0%,而扫描器在这两方面均出现错误。RuntimeTickets将已批准的要求与可验证的执行证据关联,为第三方技能的安全且可审计部署提供了通用基础。
英文摘要:
Third-party Agent Skills extend what an autonomous agent can do, but a malicious Skill can hide data exposure or output manipulation inside a legitimate workflow. Neither reading a Skill's description nor granting it tool permissions tells whether its execution meets the user's security requirements. We introduce RuntimeTickets, a protocol that enforces and audits these requirements while a Skill runs. From released malicious-Skill datasets we derive a risk model and build adversarial-benign Skill pairs. From the task's delivery contract, a language model proposes security obligations for that task. Each obligation cites the Skill lines it answers, and the ticket tightens the host's approvals into fine-grained allowed actions but never loosens them. A runtime gate checks the recipient, object and amount of every outbound send before forwarding it, and trusted monitors record the effects within their observation scope. The ticket links these checks and observations to the approved obligations of each Skill run, and a deterministic decoder turns the ticket's status into governable data flows and verifies each obligation. Neither enforcement nor decoding involves a language model, so text injected by a Skill can change the proposal but never the rule that decides a send. We evaluate RuntimeTickets at the network egress boundary of three unmodified agent frameworks against production Skill scanners and runtime baselines, among them an AgentBound-derived allow-list and SkillGuard. RuntimeTickets eliminated both failure modes of current Skill defenses, overlook (malicious Skills let through) and overkill (benign Skills blocked): its overlook rate was 0.0% and its overkill rate 0.0%, while the scanners erred on both sides. RuntimeTickets ties approved requirements to verifiable execution evidence and offers a common foundation for the safe and auditable deployment of third-party Skills.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。