← Lab /Security & privacy

All surveyed x402 facilitators violate security rules, enabling attacks like free shopping

Every evaluated x402 facilitator has critical security rule violations that allow financial theft and service disruption

Security & privacy arXiv 21 Jul 2026 Measurement Real-world evidence Threat model

Published as “When HTTP 402 Meets the Blockchain: Risks on Emerging x402 Payments”

Why it matters

Widespread facilitator flaws can cause direct financial loss and service disruption across many web services that rely on x402 payments.

Summary

The study finds that every one of the 15 real-world x402 facilitators examined violates at least one of eight security rules, exposing four attack classes that can cause free shopping, asset theft, service denial, and gas abuse. Their black-box tool X402SCOPE uncovered 49 rule violations and 31 previously unknown vulnerabilities across facilitators serving over 60 K sellers and 360 K buyers, and a measurement of 119 M on-chain transactions shows over $202 K already burned in gas and fees. The evidence is strong, coming from live testing of production endpoints and large-scale on-chain data, though the paper does not evaluate fully malicious or colluding facilitators.

What they found 4

  1. 49 security rule violations were discovered, corresponding to 31 previously unknown vulnerabilities.

    “We identify 49 security rule violations, which translate into 31 previously unknown vulnerabilities.”

  2. All evaluated facilitators violated at least one security rule, and every rule was broken by at least one platform.

    “We find systematic non-compliance in practice: every evaluated facilitator violates at least one rule, and every rule is violated by at least one platform.”

  3. x402-related settlement attempts have already burned over $202 K in gas and fees, including $5.8 K from reverting submissions.

    “In total, x402-related settlement attempts have already burned over $202K in gas and fees, including $5.8K from reverting submissions alone, demonstrating direct sponsor-side loss.”

  4. Over 22.9 K transactions created associated token accounts (ATAs) that cost more than $5.7 K, indicating ecosystem-level exposure to subsidized account creation.

    “We observe over 22.9K transactions with ATA-creation patterns that cost more than $5.7k, highlighting ecosystem-level exposure to costs paid from facilitator-held assets.”

Caveats 4

  • Asset theft attacks are less frequent than other classes, though they have the highest impact, which tempers the overall prevalence of that specific risk.
  • The large-scale measurement is presented as risk evidence rather than direct attack attribution, limiting the certainty that observed failures are due to the identified attacks.
  • We do not model a fully malicious or colluding facilitator as the primary adversary, as such a facilitator represents a trust-failure model rather than the protocol non-compliance problem targeted in this paper.
  • We did not conduct gas-drain experiments, availability-degrading load tests, actual fund theft, or unpaid access to third-party services.

What’s new here 4

  • First systematic security analysis of facilitator-mediated x402 deployments in the wild.
  • Derivation of eight unified security rules (SR1-SR8) covering authorization correctness and execution safety.
  • Development of X402SCOPE, a semi-automated black-box testing framework that discovers rule violations without source code.
  • Identification of four new attack classes (Free Shopping, Asset Theft, Service Denial, Gas Abuse) and 31 previously unknown vulnerabilities.

Threat model stated by the source

Adversarymalicious client or impersonating server
Capabilitysend arbitrary payment proofs; craft payment requirements and proofs to trick facilitators
Assumesfacilitator is honest but may be buggy, misconfigured, or non-compliant; colluding or fully malicious facilitators are out of scope