arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.17170cs.CRcs.AIcs.PL
收藏

PAuth - 精确任务范围授权 for 代理

Beyond OAuth: Task-Scoped Authorization for AI Agents via Natural Language Slices

University of Washington(华盛顿大学);The Ohio State University(俄亥俄州立大学);Microsoft Research(微软研究院)

Reshabh K Sharma, Linxi Jiang, Shuo Chen, Zhiqiang Lin

AI总结:

PAuth通过隐式授权模型精确控制代理执行任务所需的操作权限,通过NL切片和信封结构确保操作合法性,实验表明其在安全和性能上均表现优异。

摘要:

新兴的代理网络愿景旨在通过与现有网络服务交互,使AI代理可靠地完成用户基于自然语言的任务。然而,现有授权模型与这一愿景不匹配。现有的操作范围授权,例如OAuth,授予与操作者(如转账操作者)而非具体操作(如转账100美元给Bob)相关的广泛权限,这会导致代理过度授权。我们引入精确任务范围隐式授权(PAuth),一种根本不同的模型,提交自然语言任务隐式授权仅执行任务所需的Concrete操作。为使服务器可执行,我们提出NL切片:从任务和上游结果推导出的服务调用的符号规范。同时,我们提出信封:特殊数据结构,将每个操作数的Concrete值绑定到其符号溯源,使服务器能验证所有操作数来自合法计算。PAuth在代理安全评估框架AgentDojo中进行原型设计。我们评估其在良性环境和攻击场景下的表现。在所有良性测试中,PAuth成功执行任务无需额外权限。在所有攻击测试中,PAuth正确发出关于缺失权限的警告。这些结果证明PAuth的权限推理确实精确。我们进一步分析这些任务的特征并测量相关令牌成本。

英文摘要:

AI agents increasingly execute users' natural-language (NL) tasks by calling Web services, yet today's Web authorizes these calls through OAuth, which grants permissions over operators (e.g., TRANSFER), not operations (operator plus operands, e.g., transfer $100 to Bob). This gap cannot be closed by refining scope granularity, because operands are combinatorial, quantitative, and often derived from runtime computations across servers. Operator-scoped authorization therefore inherently overprivileges agents. We propose Precise Task-Scoped Implicit Authorization (PAuth): submitting a concrete NL task implicitly authorizes exactly the operations its faithful execution requires, even when the agent is compromised (e.g., by malware or prompt injection). Each server independently derives an NL slice, a symbolic specification of the expected call inspired by program slicing, and server-produced values are wrapped in signed envelopes that bind concrete values to symbolic provenance. Together, they enforce that every operation, not just the operator, is consistent with the user's task, closing the gap that OAuth leaves open. We evaluate PAuth on AuthBench, a benchmark we build on top of AgentDojo and cross-validate on OpenClaw, spanning five service suites with 100 benign tasks and 634 adversarial calls. All 100 benign tasks are implicitly authorized and all 634 adversarial calls are blocked. Many tasks require multiple tool calls to complete. A unique value of PAuth is that it frees users from having to approve each call with concrete operand values, including intermediate results they never specified. This enhances both security and usability.

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

↑