Hi OAuth WG, Over the weekend during the IETF 127 Hackathon, Prince Upadhyay and I worked on formally modeling authorization patterns for autonomous AI agents consuming tool interfaces (specifically focusing on Model Context Protocol deployments and delegated payments).
We built 9 symbolic models in the Tamarin Prover (376 automated CI checks) evaluating OAuth 2.0 and related BCP profiles when applied to multi-tenant, autonomous agent environments: - RFC 9207 (Authorization Server Issuer Identification) - RFC 8707 (Resource Indicators for OAuth 2.0) - RFC 9396 (Rich Authorization Requests) - RFC 9449 (Demonstrating Proof-of-Possession / DPoP) A few concrete takeaways from our ablation proofs: 1. The Single-Check Trap in Toolchains In multi-agent architectures where agents dynamically discover tools and authorization servers, dropping either RFC 9207 or RFC 8707 immediately collapses protocol security under an active attacker. Without RFC 9207, an adversarial tool AS can redirect authorization codes. Without RFC 8707, scoped tokens minted for one resource server can be replayed by a compromised tool against upstream services. 2. Necessity of Sender-Constraining (DPoP) In delegated workflows where tool outputs or agent telemetry may inadvertently expose authorization headers, pure bearer tokens represent an unrecoverable failure state. Binding an asymmetric ephemeral client key via RFC 9449 alongside RFC 9396 structured scopes verified that leaked credentials cannot be replayed without key possession. 3. Online Revocation vs. Token Expiration We modeled a high-consequence delegation workflow (mapping RFC 9396 to NPCI's UPI Circle framework in India). The proof demonstrated that standard JWT expiration (TTL) is insufficient for autonomous agents: synchronous, real-time revocation checks at the resource server / switch are mandatory to prevent post-delinking zombie transactions. All 9 models, CI assertions, and ablation tables are open source and reproducible via Docker: https://github.com/HarshThumar/mcp-auth-tamarin Detailed technical paper and trace documentation: https://harshthumar.github.io/whitepaper/agent-payments-india/ We would welcome any feedback or questions from the working group regarding our modeling assumptions and lemma formalizations. Best regards, Harsh Thumar & Prince Upadhyay Remote Participants, IETF 127 Hackathon
_______________________________________________ OAuth mailing list -- [email protected] To unsubscribe send an email to [email protected]
