Zero-Trust Runtime Verification for Agentic Payment Protocols: Mitigating Replay and Context-Binding Failures in AP2
Qianlong Lan, Anuj Kaul, Shaun Jones, Stephanie Westrum

TL;DR
This paper introduces a zero-trust runtime verification framework for agentic payment protocols like AP2, addressing security gaps caused by runtime behaviors such as retries and concurrency, to prevent replay and context attacks.
Contribution
It proposes a novel runtime verification approach that enforces explicit context binding and consume-once semantics using nonces, enhancing security of autonomous payment protocols.
Findings
Addresses runtime enforcement gaps in AP2 protocols.
Effectively prevents replay and context-redirect attacks.
Maintains low verification latency (~3.8 ms) at high throughput.
Abstract
The deployment of autonomous AI agents capable of executing commercial transactions has motivated the adoption of mandate-based payment authorization protocols, including the Universal Commerce Protocol (UCP) and the Agent Payments Protocol (AP2). These protocols replace interactive, session-based authorization with cryptographically issued mandates, enabling asynchronous and autonomous execution. While AP2 provides specification-level guarantees through signature verification, explicit binding, and expiration semantics, real-world agentic execution introduces runtime behaviors such as retries, concurrency, and orchestration that challenge implicit assumptions about mandate usage. In this work, we present a security analysis of the AP2 mandate lifecycle and identify enforcement gaps that arise during runtime in agent-based payment systems. We propose a zero-trust runtime verification…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Access Control and Trust · Distributed systems and fault tolerance
