arXiv:2604.24920cs.CRcs.AI2026-04被引 3

防止智能体滥用用户密钥,一次授权仅限一次使用。

SUDP: Secret-Use Delegation Protocol for Agentic Systems

  • 提出SUDP协议,用一次性授权实现密钥委托
  • 用户每次授权生成新凭证,避免长期权限泄露
  • 适合需要安全调用密钥的AI代理系统使用

智能体越来越多地代表用户使用API、消息平台和云服务的密钥。当前运行时通常通过暴露密钥来实现授权:一旦密钥或其衍生品进入运行时,临时提示注入或工具漏洞就可能导致永久账户泄露。现有防御措施覆盖了密钥存储、权限范围控制、发送方受限令牌和运行时监控等局部问题,但缺乏对智能体共同职责的统一规范:不可信的自主请求者应能在不获得可重用权限的前提下,执行由用户授权的密钥操作。我们形式化此为代理密钥使用(ASU)问题,并定义七项安全属性,涵盖授权完整性和密钥机密性。我们提出密钥使用委托协议(SUDP),请求者提出标准操作,用户以新鲜认证器背书的许可进行授权,托管方赎回许可后执行有限使用;可重用权限永不跨越请求者边界。我们在基于硬件根可信的运行时中,结合标准密码假设验证了SUDP满足全部七项属性。参考实现已开源于https://github.com/xhyumiracle/sudp。

原文摘要 · Abstract (English)

Agentic systems increasingly act with user secrets for APIs, messaging platforms, and cloud services. Today's agent runtimes typically implement authorization by exposure: enabling action often means placing a reusable secret, or a reusable artifact derived from it, inside the runtime, so a transient prompt-injection or tool-side compromise becomes durable account compromise. Existing defenses cover adjacent pieces such as secret storage, scoped delegation, sender-constrained tokens, and runtime monitoring, but leave the combined agentic obligation without a common specification: an untrusted autonomous requester should be able to cause a user-authorized secret-backed operation without gaining reusable authority over it. We formalize this as the Agent Secret Use (ASU) problem and identify seven security properties any solution must satisfy, spanning authorization integrity and secret confidentiality. We propose the Secret-Use Delegation Protocol (SUDP), in which a requester proposes a canonical operation, the user authorizes it with a fresh authenticator-backed grant, and a custodian redeems the grant to perform the bounded use; reusable authority never crosses the requester boundary. We specialize SUDP for LLM-driven agents, where it applies whenever a tool call would exercise user-enrolled authority-bearing material. Under standard cryptographic assumptions, SUDP satisfies all seven properties when integrated with a hardware-rooted runtime. A reference implementation is available at https://github.com/xhyumiracle/sudp.

安全协议AI代理密钥管理零信任

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。