TRANSMISSION // 2612.03456v1
The hidden gap between an AI purchase and its crypto payment
Source published
A systematization study finds that approval details such as a recipient address may not be checked against the crypto transfer a wallet signs.

An AI shopping agent may be approved to buy from a merchant at a set price, while its wallet signs a transfer to a blockchain address for a token amount. A new systematization study asks whether those records are reliably matched—and finds gaps in the protocol versions and code it examined.
When an AI agent pays on someone’s behalf, two systems may describe the transaction differently. A commerce protocol can record an approved merchant and price. A crypto wallet can sign a transfer to a particular blockchain address for a particular token amount. The question this study asks is simple: does anyone check that the transfer matches what the person approved?
The authors call a payment detail bound when an authorized party states it and each hand-off either compares it with that statement or carries a signature or hash of an artifact that was checked. The comparison must stop a mismatched payment, and the detail must not change between the last check and the transfer. For audit records, an independent witness must also keep a record the actor cannot alter alone. When these conditions fail, a detail can be unbound, unobserved, stale or unwitnessed.
What the researchers examined
This is a systematization of knowledge, or SoK: it organizes and evaluates existing protocols, code and published security reports rather than proposing a new payment system. The researchers pinned versions of 41 specification, schema and code files from nine official repositories, then mapped how payment details appear in signed records and checks. They followed those details through six protocol combinations, including an AP2 sample using Coinbase’s x402 payment flow. A separately constructed combination was reported apart from the main totals.
The researchers also classified 201 entries from security papers and an incident using a codebook set before coding. Their local experiments used synthetic data and inert keys, without live services or real funds. Tests included recipient comparisons and small language models asked to judge whether payments were safe.
Where approval can get lost
Across six combinations, just 4 of 29 payment-detail classifications met the paper’s definition of bound. In all four combinations assessed for a payee address—the destination of the transfer—none bound it to the person’s approval.
One example shows how a gap can arise. In the AP2–x402 sample, the software development kit drops the merchant’s full payment address when building the user’s mandate, keeping only a shortened display string. In two synthetic checks, selected provider code then prepared a configured address and a fixed amount for signing rather than taking them from the purchase mandate. The checks stopped before a signature was created or money moved. They show behavior in the examined code, not a completed theft or a live-system incident.
The broader issue is that an approved merchant name or website is not necessarily tied to the address receiving tokens. In x402, a payment request can provide an address, and a wallet signature can authenticate the values in that request without establishing that the address belongs to the merchant the user approved. Some mechanisms can bind a recipient—for example, a delegation rule that pins the address—but the paper says the examined specifications do not require such a rule by default.
A preregistered check of 22 additional x402 scheme files, selected independently of the main combinations, found that 20 left the payee to the server, as predicted. This finding applies to those files; it does not establish how every real deployment behaves.
What checks can—and cannot—do
In local tests, a deterministic comparison between the approved address and the address about to be signed rejected mismatches. Across 4,096 generated gate cases, it produced the expected decisions. Language-model judges were less dependable: in a larger synthetic evaluation of 3,456 judgments, both models missed some substituted recipients even when given the approved address. These results support exact comparison as a useful safeguard in the tested scenarios, not as a guarantee against every payment risk.
The literature review classified 139 of 201 entries under the paper’s four failure types. That count reflects the authors’ selection rules and coding scheme; it is not an estimate of how often real-world agent payments are unsafe. Some risks fall outside the framework, including a dishonest merchant, a stolen key, denial of service, or manipulation that stays within the user’s approved spending limits.
The authors propose eleven candidate conformance checks. Among them: carry the approved recipient into the wallet request, compare payment details before signing, inspect different kinds of signature requests, recheck relevant state at execution, and use independent witnesses for audit records. These are proposed obligations, not proof that existing systems meet them.
The paper is a preprint and examines specific, pinned versions of specifications and sample code. Protocols and implementations can change, while the synthetic tests do not measure how often these gaps occur in deployed services. Its central lesson is narrower but practical: a valid signature proves that particular data was signed; by itself, it does not prove that the payment matches the person’s approval.
- AI agents
- agentic commerce
- crypto wallets
- stablecoin payments
- payment security
- x402
- AP2
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Anduin proposes payment-based reputation for AI-agent marketplaces
Source published
Shared keywords: agentic commerce, ai agents
Can behavior-aware checks secure AI-agent payments?
Source published
Shared keywords: agentic commerce
Can AI agents be trusted with a wallet?
Source published
Shared keywords: ai agents
A benchmark asks whether AI can shop by asking the right questions
Source published
Shared keywords: agentic commerce
What Does Category Theory Say About AI Agents?
Source published
Shared keywords: ai agents