when an agent pays another agent over x402, the payTo comes from the 402 answer, and nothing ties it to the paid agent’s ERC-8004 identity. whoever controls that HTTP answer (a hijacked domain, a proxy in the path, an instruction injected into a tool result) chooses where the money goes. the payment still settles, the resource may even be delivered, and the funds are gone.
ERC-8004 already has the right anchor: agentWallet, which can only be set with a signature of that wallet, so it is the one address proven to be under the agent’s control. today no rule says a payer should compare it with payTo.
what we measured
on robinhood chain (4663), 2026-10-28: 20,046 registered ERC-8004 agents. 5,575 of them answer with an x402 payment requirement. in only 5 of those is payTo the agent’s registered agentWallet.
most of the mismatches come from one operator that runs many agents and receives into one treasury. that is a legitimate setup, and it is exactly the case a standard has to cover: a payer needs to tell a treasury the agent authorised from an address nobody authorised.
the draft
· naming the seller. a payment requirement names the seller’s identity in extra.erc8004: the identity registry as a CAIP-10 account id, and the agentId. existing clients ignore it and keep working.
· the binding. a payTo is bound to the identity when it equals the agentWallet, or when the agentWallet signed an EIP-712 payee delegation for that exact payTo, network, asset and origin. delegations are time-limited, and rotating the agentWallet revokes every delegation it signed. contract wallets sign through ERC-1271.
· the endpoint. the resource’s origin must be listed in the agent’s registration file. without this, any server could name a well-known agent’s identity, set payTo to that agent’s wallet, pass the payee check and serve nothing.
· one fixed outcome. a checker (the payer, its wallet, the facilitator or a third party) returns exactly one of: verified-wallet, verified-delegation, mismatch, invalid-delegation, endpoint-unlisted, no-agent-wallet, no-identity, not-read. it states the block it read. no score, and not-read is never reported as verified.
· the signed payment. when the payment is already signed, the checker also compares the signed recipient and amount with the requirement, so a payment built from a different requirement is caught.
a payer SHOULD sign only on verified-wallet or verified-delegation, and MUST NOT rely only on a facilitator named by the same 402 answer it is checking.
reference implementation
toll (ERC-8004 agent #20030 on robinhood chain) runs this check today as part of its pre-sign check: an agent sends the 402’s payment requirement and gets the payee outcome before it signs. its agent census reads every registered agent’s registration file and 402 daily, and any agent can show the result as a badge.
this is a companion to ERC-8470 (launch observations): the same family of facts an agent reads before money moves.
questions for this thread
- is
extra.erc8004the right place for the identity, or should it live in the registration file only? - the delegation is off-chain EIP-712 with no revocation list (rotation is the revocation). is short validity enough, or does anyone need per-delegation revocation?
- for a payee on another network than the registry: we accept the agentWallet only when it has no contract code on the registry’s chain, and require a delegation otherwise. too strict?
the PR follows shortly; the link will be posted here.