By Lauras, founder of Verdix . Disclosure: Verdix is the address-risk API that the code below calls. I'm not a neutral reviewer of it.
If your agent can pay over x402 or sign USDC transfers, it can also pay the wrong address. Nobody has to break in for that to happen. Someone only has to influence which address ends up in the payment.
This post covers three ways that happens, why the check belongs before the signature, and how to add one. It also covers what we added for Ethereum this week and, just as important, what that Ethereum check does not do.
Three ways an agent ends up paying the wrong address
1. Prompt injection
An LLM decides what to do from text, and some of that text comes from people you don't control: web pages, emails, tool results, other agents. Whoever writes that text can steer the agent.
The best-known public demo is Freysa , an agent released in November 2024 with one rule: never approve a transfer of its prize pool. After 481 failed attempts, message 482 got it to do exactly that.…