Post

A signed agent payment that anyone holding it could redeem

· First published on LinkedIn (external site)

Yesterday an agent in my test project paid 1 cent of test USDC on Base Sepolia, the test network of Coinbase's Base, and it never sent a transaction. It only signed an approval. Whoever held that signature could have submitted it for up to 60 seconds, though only to the payee and for the amount the agent signed.

A new preprint from four researchers at University of Notre Dame says that is the normal case. They sampled 26,653 USDC approvals redeemed on Base since May, and 98.7% could be submitted by anyone holding the signature. Most were x402 payments like mine, and the median was about half a cent.

The authors call this exposure, not harm. The payee and amount are signed, so nobody can redirect the money. What goes unchecked is the rest of the agent's mandate, such as which order was paid and who was allowed to settle it. USDC's contract checks only the fields the wallet signed.

Later the same day I added a signed mandate to my prototype. Every rule in it runs in my own code before the agent signs anything. Once the approval exists, nothing on chain looks at the mandate again.

Their fix is MandateLock, a small contract on the receiving side. In tests on local copies of USDC's code it rejected all 10,800 tampered mandates for 25% more gas, about $0.00018 a payment. I'd take that for anything bigger than a 1-cent test.

Sources