Skip to content
IAM Insights

Briefing · Paper · source · updated · Boston Identity

Checking each agent call against the user's own task stopped all 634 off-task calls the authors wrote

Reshabh Sharma, Linxi Jiang, Zhiqiang Lin and Shuo Chen argue that an OAuth scope names an action but never its amount or recipient, so an agent holding one can do more than the user asked. In their design, PAuth, each server works out from the task text the user signed which call it should expect. It passed every task in their own benchmark once the tasks were spelled out in full, and it needs a language model at every server.

arXiv · Reshabh K Sharma, Linxi Jiang, Zhiqiang Lin, Shuo Chen · March 17, 2026 · read

share
4 findings5 sectionsAgentic identityStandardsAI trust
13,706 words. With Reshabh K Sharma, author, University of Washington; Linxi Jiang, author, The Ohio State University; Shuo Chen, author, Microsoft Research; Zhiqiang Lin, author, The Ohio State University.
01

What's happening

Finding4
BI-FIND-2026-1014Lead finding

On their own AuthBench, PAuth blocked all 634 off-task calls the authors wrote and ran all 100 benign tasks unprompted only once the wordings were rewritten.

On AuthBench, a benchmark the authors built from AgentDojo's mock banking, Slack, travel and workspace services plus a shopping suite of their own, PAuth let all 100 benign tasks run without asking the user and blocked all 634 off-task calls. The authors wrote those calls themselves: changed amounts and recipients, tools the task never needed, skipped conditions. The 100 out of 100 holds only for task wordings the authors rewrote with every lookup and value spelled out. The original, less specific wordings ran unprompted 71 times, and the other 29 stopped to ask the user. The authors call their tasks "favorable".

medium confidencebest source: independent researchobserved Mar 2026EvidenceAuthBench evaluation and cost
flag a problem with BI-FIND-2026-1014
BI-FIND-2026-1015

PAuth has each server check every agent call against the task text the user signed, and sends any call that does not match to the user for approval.

PAuth moves the authorization decision from a token the agent carries to a check each server makes against the task text the user signed. Each server has a language model turn that task into code once, then derives from it a specification of the call it should expect. Values one server hands to another, such as a balance, travel in envelopes the issuing server signs, so a compromised agent can relay them but not change them. Any call that does not match goes to the user for approval instead of running.

high confidencebest source: independent researchobserved Mar 2026EvidencePAuth design: NL slices and signed envelopesSection 3
flag a problem with BI-FIND-2026-1015
Figure steps
  1. The user signs one task: if the Citi balance is over 1000 USD, pay a quarter of it from Chase.
  2. The agent sends the signed task to Citi and to Chase.
  3. Each bank derives from the task the call it expects, called its slice.
  4. The agent's balance call matches Citi's slice, so Citi accepts it.
  5. Citi returns 1200 USD in an envelope it signs.
  6. Two transfers with a changed amount or recipient do not match Chase's slice, so Chase asks the user.
  7. The transfer of 300 to Citi carries Citi's signed balance. It matches, and it runs.
Fig. 1

Each bank checks the agent's calls against the task the user signed, and Citi's balance reaches Chase in a signed envelope the agent cannot change.

Drawn from the paper's figures 1 and 5Source dated March 17, 2026Passage: PAuth design: NL slices and signed envelopes

Swipe for the full figure →

BI-FIND-2026-1016

PAuth needs a language model at every server, and the authors count that model's translation of the task among what has to be trusted.

PAuth needs a language model at every server, and the authors count that model's translation of the task among what has to be trusted, with an authentic user interface and a user who reads every task before submitting it. They argue a wrong translation mostly blocks legitimate calls rather than letting bad ones through. For lower-sensitivity sites that change nothing of their own, they offer a trusted proxy that holds the OAuth tokens and checks calls on the site's behalf, and they concede the guarantee then rests on the proxy's integrity. PAuth also does not make server operations atomic or isolate sessions, and each server pays a one-time model cost of $0.002 to $0.038 per task. We note that IBAC and ASTRA, two other designs that derive permissions from the task, also put a model's reading of it inside the authorization decision.

BI-FIND-2026-1017

The authors argue an OAuth scope grants an operation type such as transfer, so an agent given enough scope for a precise task is over-privileged by design.

The authors' case against OAuth is that a scope grants an operation type, such as transfer, and cannot say "TRANSFER $100 to Bob.", so an agent given enough scope for a precise task is over-privileged by design. They dismiss Rich Authorization Requests (RFC 9396), which can carry concrete values, because each call would still need its own grant and approval. For the first point they cite their own simulated calls, which keep the operation but change the amount or recipient and, they say, would pass an operation-level scope; their results tables report no run against OAuth itself. The RAR dismissal is argued, not tested. Two other sources in our corpus describe the same gap from different angles: an authorization server that never sees the task, and approved intent that never becomes enforceable authority.

02

Section by section

5

showing 5 of 5

[1]

The operator-versus-operation gap in OAuth

Reshabh K Sharma, University of Washington · Linxi Jiang, The Ohio State University · Shuo Chen, Microsoft Research · Zhiqiang Lin, The Ohio State University

Agentic identityStandards

The authors start from the claim that an OAuth scope names an operation type, such as TRANSFER, and never its operands, the amount and the recipient, so a precise task still needs a broad grant. They argue that finer scopes, Rich Authorization Requests (RFC 9396) and asking the user to confirm every call all break down when values are combinatorial or computed on another server. They point to simulated calls that keep the operation and change the values; RAR is dismissed by argument.

opinionfrom published text

[2]

PAuth design: NL slices and signed envelopes

Reshabh K Sharma, University of Washington · Linxi Jiang, The Ohio State University · Shuo Chen, Microsoft Research · Zhiqiang Lin, The Ohio State University

Agentic identityAI trust

Each server reads the task text the user signed and derives what the paper calls a natural-language slice: a symbolic description of the call it expects. Values passing between servers travel in envelopes the producing server signs, binding each value to where it came from. A call runs only if it matches the slice; otherwise the user is asked. The agent and the relaying proxy are both untrusted, and every server has to run a language model.

technical artifactfrom published text + figures

[3]

Implementation as MCP middleware and trust assumptions

Reshabh K Sharma, University of Washington · Linxi Jiang, The Ohio State University · Shuo Chen, Microsoft Research · Zhiqiang Lin, The Ohio State University

Agentic identity

The prototype is middleware around Model Context Protocol (MCP) tools. A language model on the server writes restricted Python from the task, with two retries; if all fail the code is empty and nothing is authorized. Slice derivation, rule compilation and the RSA-PSS envelope check are deterministic. The authors' trusted list: an authentic interface, TLS, the server's model, the server's own data and a user who reviews each task.

technical artifactfrom published text + figures

[4]

AuthBench evaluation and cost

Reshabh K Sharma, University of Washington · Linxi Jiang, The Ohio State University · Shuo Chen, Microsoft Research · Zhiqiang Lin, The Ohio State University

Agentic identityAI trust

AuthBench, built by the authors on AgentDojo, has five suites, 100 tasks and 634 adversarial calls they wrote; a local OpenClaw rerun gave the same outcome. With tasks rewritten to spell out every value, all 100 ran without a prompt and all 634 calls were blocked; the original wordings ran 71 times. GPT-4.1 did most runs, two authors checked every slice by hand, and model cost was $0.002 to $0.038 per task. Services are mocks.

technical artifactfrom published text + figures

[5]

Limits, adoption path and related work

Reshabh K Sharma, University of Washington · Linxi Jiang, The Ohio State University · Shuo Chen, Microsoft Research · Zhiqiang Lin, The Ohio State University

Agentic identityStandards

PAuth does not make server operations atomic or isolate sessions, the authors say, and it assumes an unambiguous task. It needs server changes: high-sensitivity sites should adopt it directly, while others could put a trusted proxy in front that turns approved calls into ordinary OAuth requests, so the guarantee rests on that proxy. They expect it to run inside access-control layers such as CaMeL, Cedar and Progent.

technical artifactfrom published text

Terms used

OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
AuthBench
A benchmark of 120 terminal tasks that tests whether coding agents can infer the task-level permissions they need, no more and no less.
AgentDojo
A benchmark environment for testing whether a large language model (LLM) agent completes its task while resisting prompt-injection attacks in tool outputs and external content.
IBAC
Intent-based access control: a research design that checks each AI-agent tool call against an authorization store derived from the user's stated intent before the call runs.
ASTRA
A public dataset and data-generation pipeline (Cisco/Outshift, Oct 2025) for benchmarking semantic matching between an AI agent's task and the OAuth scopes it requests, including deliberately wrong and null scope matches.
Rich Authorization Requests
An OAuth extension that lets a client describe exactly what it wants authorized as structured data (e.g. which tool, which amount) instead of a single scope string, so an approver sees the specific action rather than a broad permission.
Model Context Protocol
Model Context Protocol: an open standard, originated by Anthropic, for connecting AI assistants to tools and data.
RSA-PSS
The RSA signature scheme with probabilistic padding, preferred over older RSA v1.5 signatures. It appears in JOSE and COSE as a signing option.

Cited in our columns

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity