Vulnerabilitiesx402 SDK flaw could let rogue APIs drain AI agents' balances
Security firm V12 said agents that auto-signed payments could be asked for their whole token balance, because the default client set no spending cap.
23 Oct 2026
Security firm V12 disclosed that AI agents using x402 SDKs to pay for API calls could be tricked by a malicious API into signing a payment for their entire token balance, due to the SDKs' default client lacking a spending limit. Releases on August 18 added a spending limit, fixing the issue before the public disclosure on October 22.
Disclosed 22 October 2026 · Record updated 23 October 2026
AI agents that automatically signed payments via the x402 SDK's default client risked having their full token balance drained by a malicious API request, prior to a fix shipped on August 18.
VulnerabilitiesSecurity firm V12 said agents that auto-signed payments could be asked for their whole token balance, because the default client set no spending cap.
23 Oct 2026