How an engineer broke the x402 agent payment protocol 20 ways, including a 10x overcharge

AI Engineer · youtube · 2026-10-30

At the AI Engineer conference, SoFi engineer Ishween Kaur explains x402, a protocol letting AI agents pay for data and APIs with tiny on-chain payments over HTTP, then walks through 6 of the 20 attacks she found in a sandboxed environment: price manipulation in the payment header (charging an agent 10x), double payments, getting data for free, one payment unlocking many pages, lookalike sellers, and prompt injection that tricks an agent into paying again. For each attack she shows the guard that stops it and how to roll out agent payments safely, trace by trace, closing with whether agents should be allowed to pay at all.

Original post →

More from coding & agent

coding & agent channel →