[论文解读] PAuth - Precise Task-Scoped Authorization For Agents
PAuth 通过使用 NL 派生切片和信封来强制执行忠诚的任务执行,提供对 AI 代理的精确任务作用域隐式授权,在 AgentDojo 的测试中实现零误报/零漏报。
The emerging agentic web envisions AI agents that reliably fulfill users' natural-language (NL)-based tasks by interacting with existing web services. However, existing authorization models are misaligned with this vision. In particular, today's operator-scoped authorization, exemplified by OAuth, grants broad permissions tied to operators (e.g., the transfer operator) rather than to the specific operations (e.g., transfer $100 to Bob) implied by a user's task. This will inevitably result in overprivileged agents. We introduce Precise Task-Scoped Implicit Authorization (PAuth), a fundamentally different model in which submitting an NL task implicitly authorizes only the concrete operations required for its faithful execution. To make this enforceable at servers, we propose NL slices: symbolic specifications of the calls each service expects, derived from the task and upstream results. Complementing this, we also propose envelopes: special data structure to bind each operand's concrete value to its symbolic provenance, enabling servers to verify that all operands arise from legitimate computations. PAuth is prototyped in the agent-security evaluation framework AgentDojo. We evaluate it in both benign settings and attack scenarios where a spurious operation is injected into an otherwise normal task. In all benign tests, PAuth executes the tasks successfully without requiring any additional permissions. In all attack tests, PAuth correctly raises warnings about missing permissions. These results demonstrate that PAuth's reasoning about permissions is indeed precise. We further analyze the characteristics of these tasks and measure the associated token costs.
研究动机与目标
- 推动在代理工作流中超越操作员作用域 OAuth 的更细粒度授权需求。
- 将 Precise Task-Scoped Implicit Authorization (PAuth) 定义为以忠实执行用户任务为基础的模型。
- 引入 NL slices and envelopes 以使服务器能够验证每个操作数是否符合任务意图。
- 通过在 AgentDojo 框架中的实现与评估以及多主机环境(包括攻击场景)来证明 PAuth 的可行性。
提出的方法
- 将 NL slices 引入为服务所期望调用的符号表示,来源于用户任务及上游结果。
- 定义 envelopes 将具体操作数值绑定到其符号溯源,便于服务器端验证操作数来源。
- 实现一个运行时执行器,对照预计算的 NL-slice 规则检查具体调用并验证 envelopes。
- 在 AgentDojo 框架中原型化 PAuth,并扩展到多主机环境以反映真实的 Web 部署。
- 使用 100 个常规任务和 634 个提示注入任务进行评估,报告零误报和零漏报。

实验结果
研究问题
- RQ1任务特定授权模型是否能通过确保每个操作都由用户任务隐含来防止权限过大?
- RQ2NL slices 和 envelopes 如何使服务器能够确定性地验证代理行为的忠实执行?
- RQ3在良性和攻击条件下的经验评估是否显示出精确的权限推理?
- RQ4在实际实现中,PAuth 的性能与代币成本有何影响?
主要发现
- 在良性测试中,PAuth 在不需要额外权限的情况下成功执行任务。
- 在攻击测试中,当注入伪操作时,PAuth 会发出警告且不允许该操作。
- 在所有测试用例中,PAuth 在权限推理方面实现零误报和零漏报。
- 评估包括对任务特征、NL-slice 结构和代币成本的分析。
- PAuth 通过对操作符和操作数与任务所暗含的计算进行核对,展示了精确执行的能力。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。