超越OAuth:面向AI智能体的自然语言切片任务范围授权 Beyond OAuth: Task-Scoped Authorization for AI Agents via Natural Language Slices 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-03-17
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
AI智能体执行用户自然语言任务时,现有OAuth只授权操作类型(如“转账”),无法约束具体操作数(如“转100元给Bob”),导致权限过大。本文提出PAuth:提交自然语言任务即隐式授权其忠实执行所需的精确操作。每个服务器独立生成“自然语言切片”来符号化预期调用,并用签名信封绑定具体值与来源。在自建基准AuthBench上,100个良性任务全部授权,634个对抗调用全部拦截,且用户无需逐次批准具体操作数,兼顾安全与易用。
领域计算机安全与隐私 / Web授权与AI智能体安全
适合谁读需要一定专业背景(了解OAuth、AI智能体、程序切片等概念)
核心贡献1. 提出PAuth,通过自然语言切片和签名信封实现操作级(而非仅操作符级)的隐式授权,即使智能体被恶意软件或提示注入攻破也能保证安全。2. 构建AuthBench基准(基于AgentDojo,含5个服务套件、100个良性任务和634个对抗调用),并跨验证于OpenClaw,实现100%良性任务授权和100%对抗调用拦截。
关键数据在AuthBench上,100个良性任务全部隐式授权,634个对抗调用全部拦截;跨验证于OpenClaw;许多任务需多次工具调用完成。
推荐理由如果你关心AI智能体如何安全地调用Web服务,这篇论文给出了一个既安全又不用用户反复点确认的优雅方案,实验数据也很硬核。
关键词["AI智能体安全", "任务范围授权", "自然语言切片", "OAuth", "提示注入", "访问控制"]

原文摘要

查看英文原文摘要

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.