mlsanityData to 14 Oct 2026

Five Attacks on x402 Agentic Payment Protocol

arXiv 2605.11781 ↗First posted 12 May 2026cs.CRcited by 4

Not on the map. Why?

Abstract (arXiv)

The x402 protocol revives the HTTP 402 Payment Required status code to enable web-native micropayments across APIs, content, and agents. It combines synchronous HTTP authorization with asynchronous blockchain settlement and introduces a cross-layer attack surface absent from conventional web and on-chain payments. In this paper, we formally analyze x402 and empirically show that it is vulnerable in both design and implementation. We present five concrete attacks that reveal weaknesses in authorization, binding, replay protection, and web-layer handling, showing that x402 is vulnerable across multiple stages of the payment workflow. We validate these attacks through a reproducible testbed on local chains, Base Sepolia, and live endpoints and further audit three open-source SDKs and endpoints. Our results show that all five attacks are practical and can cause either unpaid service or paid-but-denied outcomes. We also propose practical mitigations.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 12 May 2026.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Free-Riding the Agentic Web: A Systematic Security Analysis of x402 Payments
  2. 2026A402: Binding Cryptocurrency Payments to Service Execution for Agentic Commerce
  3. 2026Beyond the Mandate: A Systematic Security Analysis of the Agent Payments Protocol (AP2)
  4. 2026Zero-Trust Runtime Verification for Agentic Payment Protocols: Mitigating Replay and Context-Binding Failures in AP2
  5. 2026Protocol-Level Attacks on Agentic Commerce Platforms: A Cross-Platform Taxonomy, AIP-Bench, and Unified Defense
  6. 2026Hardening x402: PII-Safe Agentic Payments via Pre-Execution Metadata Filtering
  7. 2026APEX: Agent Payment Execution with Policy for Autonomous Agent API Access
  8. 2025Towards Multi-Agent Economies: Enhancing the A2A Protocol with Ledger-Anchored Identities and x402 Micropayments for AI Agents