Skip to content
IAM Insights

Briefing · Paper · source · updated · Boston Identity

AIP puts an agent's delegation chain in the token; its perfect score against attacks tests rules only AIP has

Sunil Prakash of the Indian School of Business proposes AIP, in which each hand-off between AI agents adds a narrower, signed block to one token that any verifier can check without calling a server. It comes with bindings for MCP, A2A and HTTP and code in Python and Rust. All 600 of his own attacks were rejected, but the two a plain JWT missed test rules only AIP has.

arXiv · Sunil Prakash · March 25, 2026 · read

share
3 findings4 sectionsAgentic identityStandards
7,789 words. With Sunil Prakash, author, Indian School of Business.
01

What's happening

Finding3
BI-FIND-2026-0967Lead finding

In Prakash's AIP, each agent hand-off appends a signed block that must stay within its parent's authority, and any verifier can check the whole chain offline.

Prakash argues that OAuth, which MCP uses, authenticates the last hop of an agent chain and leaves narrowing to the authorization server, so the token a sub-agent presents carries no record of the chain that led to it. AIP puts the chain in the token instead. Each hand-off appends a signed block that, under the spec, must be a subset of its parent's authority and must carry a non-empty reason, and any verifier can check the whole chain offline, through bindings for MCP, A2A and HTTP. He calls AIP and MCP's OAuth complementary. We think his line that token exchange leaves "no record of the original authorization chain" goes too far: RFC 8693's nested actor claim does record earlier actors, though only as information a verifier must not decide on.

medium confidencebest source: independent researchobserved Mar 2026 – Jun 2026EvidenceProblem and gap analysisThe AIP protocol
Also reported in +1 briefing
flag a problem with BI-FIND-2026-0967
BI-FIND-2026-0968

In its author's own localhost test AIP stopped all 600 attack attempts, but the two types a plain signed JWT missed break rules that AIP adds.

AIP's evaluation is the author's own, on one machine over localhost. It rejected all 600 attack attempts, 100 in each of six types, against two baselines: no authentication, which stopped none, and a plain signed JWT, which stopped four types. The two that JWT missed, a delegation deeper than allowed and a hand-off with an empty reason, break rules AIP adds, so a token without those fields could not catch them; the paper says as much. No OAuth, token-exchange or Transaction Tokens baseline was run, and the author lists one as next work. The headline cost, 2.35 ms or 0.086% of a 10-run Gemini 2.5 Flash task, is measured against model latency; against an unauthenticated local MCP call, compact mode adds 0.222 ms, a 73.9% increase.

high confidencebest source: independent researchobserved Mar 2026EvidenceImplementation and evaluationThreat model, limitations and next steps
flag a problem with BI-FIND-2026-0968
BI-FIND-2026-0969

The token proves who delegated what to whom; aggregate spend, replay within the token's lifetime and misuse within scope are left outside it by design.

The token proves who delegated what to whom; several controls an agent deployment needs are left outside it by design. The budget in each block is a ceiling for that token, not a running balance: "Aggregate spend enforcement is the runtime's responsibility, not the token's." The result an agent records when it finishes is signed by that agent and not checked by anyone else by default. Version 1 relies on tokens that live under an hour rather than revocation checking; an identity document may name a revocation list, but the reference code does not enforce one, and a token replayed within its lifetime is not stopped by the token alone. Misuse within a granted scope is out of scope for the token layer, collusion within it is outside the threat model, and every verifier is assumed to check correctly.

high confidencebest source: independent researchobserved Mar 2026EvidenceThreat model, limitations and next stepsThe AIP protocol
flag a problem with BI-FIND-2026-0969
02

Section by section

4

showing 4 of 4

[1]

Problem and gap analysis: seven properties no prior approach covers

Sunil Prakash, Indian School of Business

Agentic identityStandards

The author argues that MCP and A2A define how agents talk but not who they are, citing a Knostic scan of about 2,000 MCP servers that found none had authentication. Table 1 scores ten approaches from eleven categories of prior work (DIDs, OAuth, macaroons, UCAN, Biscuit, SPIFFE, the IETF drafts and others) on seven properties. In the author's own scoring AIP has all seven and no other approach more than four.

technical artifactfrom published text + figures

[2]

The AIP protocol: identity scheme, IBCT chain, bindings and delegation rules

Sunil Prakash, Indian School of Business

Agentic identityStandards

AIP names agents aip:web:<domain>, resolved through DNS, or aip:key, which is self-certifying, each with a self-signed identity document. Its Invocation-Bound Capability Token is an append-only chain: an authority block, delegation blocks that narrow scope and must state a reason, and an optional completion block that the executing agent signs about its own result. Compact mode is an EdDSA JWT and chained mode a Biscuit token with Datalog policies. It has bindings for MCP (an X-AIP-Token header), A2A and HTTP, and version 1 uses tokens that expire within an hour instead of revocation.

technical artifactfrom published text

[3]

Implementation and evaluation: latency, scaling and 600 attack attempts

Sunil Prakash, Indian School of Business

Agentic identityStandards

Reference code in Python (827 lines) and Rust (1,214 lines), Apache 2.0. All benchmarks ran on one Apple M3 Max over localhost: compact verify takes 0.049 ms in Rust and 0.189 ms in Python; over HTTP, compact mode adds 0.222 ms to a no-auth MCP call (73.9%); a 10-run Gemini 2.5 Flash task adds 2.35 ms of 2,749 ms. All 600 attacks (six types, 100 each) were rejected; the baselines were no authentication and plain JWT, not OAuth.

technical artifactfrom published text + figures

[4]

Threat model, limitations and next steps

Sunil Prakash, Indian School of Business

Agentic identityStandards

Of the seven adversaries modelled, a delegatee trying to widen its scope is stopped by Biscuit's rule that every block is checked. A DNS hijack (detectable while the agent's key is safe), replay within a token's lifetime, a dishonest verifier, a false completion report and collusion within granted scope are not prevented. The author lists single-machine tests, no production deployment, no revocation, Ed25519 only and self-reported completion as limits, and a comparison with a real OAuth 2.1 baseline as next work.

technical artifactfrom published text

Terms used

AI agent
Software that uses an AI model to decide its own next steps and then acts through tools and APIs, rather than answering a single prompt. Because it acts, it needs an identity of its own.
Model Context Protocol
Model Context Protocol: an open standard, originated by Anthropic, for connecting AI assistants to tools and data.
A2A
An open protocol for AI agents to discover and call one another. It is the peer of MCP, which connects an agent to tools.
HTTP
Hypertext Transfer Protocol: the request-and-response protocol of the web, in which a client sends a method such as GET or POST to a URL and receives a status code and body.
JWT
A compact, signed token that carries claims (who, for what, until when) between systems. It is the usual shape of an OAuth access token.
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.
OAuth Token Exchange
The OAuth mechanism (RFC 8693) for trading one token for another with narrower scope or a different audience, so each hop in a chain gets a credential for just its next step.
act claim
The OAuth token-exchange claim that names who is acting for the token's subject; nested act claims record earlier actors.

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