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

填补LLM技能的审计-运行时差距

Sealing the Audit-Runtime Gap for LLM Skills

Beijing University of Posts and Telecommunications(北京邮电大学);Nanyang Technological University(南洋理工大学)

Tingda Shen, Yebo Feng, Konglin Zhu, Xiaojun Jia, Yang Liu, Lin Zhang

AI总结:

本文提出SIGIL框架,通过去中心化链上注册表和技能验证协议,实现LLM技能从发布到运行时的可验证绑定,有效抵御技能供应链攻击。

摘要:

大型语言模型(LLM)生态系统,如Claude Code和ChatGPT,越来越多地依赖技能:自然语言指令和可执行工具的集合。一旦进入LLM的上下文,技能内容无法可靠地与受信任的指令分离,且技能的可执行部分可以调用特权操作,使技能供应链面临注入、篡改和洗盘攻击。现有防御措施是阶段性的:集中化签名、与运行时 artifacts 无关的审计报告,或无法证明批准内容的策略引擎。我们提出了SIGIL,第一个填补LLM技能审计-运行时差距的框架。SIGIL通过可篡改的去中心化链上注册表提供可验证的托管,LLMs直接从注册表中获取技能。该注册表接受四种发布类型,透明、授权、密封和承诺,涵盖纯文本公开分发、付费访问、托管使用和链下工作流;在准入前,每个技能都经过由去中心化自治组织(DAO)审计委员会审核,该委员会支持可插拔的审核方法,基于权益和处罚的经济模型。在加载时,SIGIL通过由Skill Verification Loader(SVL)执行的技能验证协议提供验证加载,SVL作为强制性的加载路径嵌入:SVL根据所需类型检索并解密技能,验证其完整性与链上记录,并在上下文注入前执行其权限清单。我们对真实部署中的SIGIL进行了评估,针对1,023个真实世界技能,覆盖六种攻击类型。在加载时,SVL验证每个技能的完整性与链上记录,并执行其批准的权限清单,完成批量验证仅需86毫秒。这些结果表明,LLM技能可以通过加密方式从发布到运行时实现实际成本的绑定。

英文摘要:

Large language model (LLM) ecosystems such as Claude Code and ChatGPT increasingly rely on skills: packages of natural-language instructions and executable tools. Once in the LLM's context, skill content cannot be reliably separated from trusted instructions, and a skill's executable side can invoke privileged actions, exposing the skill supply chain to injection, tampering, and rug-pull attacks. Existing defenses are stage-bound: centralized signing, audit reports unbound from the runtime artifact, or policy engines that cannot attest to what was approved. We present SIGIL, the first framework that seals the audit-runtime gap for LLM skills. SIGIL delivers verifiable hosting through a tamper-evident, decentralized on-chain registry from which LLMs fetch skills directly. The registry admits four publication types, Transparent, Licensed, Sealed, and Committed, spanning plaintext public distribution, monetized access, custodial use, and off-chain workflows; before admission, every skill is vetted by a Decentralized Autonomous Organization (DAO) audit committee that supports pluggable auditing methods under a stake-and-slash economic model. At load time, SIGIL delivers verified loading through a skill verification protocol executed by a Skill Verification Loader (SVL) embedded as the mandatory loading path: the SVL retrieves and decrypts the skill as its type requires, verifies its integrity against the on-chain record, and enforces its permission manifest before context injection. We evaluate SIGIL on a real-world deployment against 1,023 in-the-wild skills spanning six attack types. At load time, the SVL verifies each skill's integrity against its on-chain record and enforces its approved permission manifest, completing batched verification under 86 ms. Together, these results show that LLM skills can be cryptographically bound from publication through runtime at practical cost.

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

↑