DEV Community

kol kol
kol kol

Posted on

We Scanned 26,302 AI Agent Endpoints - Only 0.41% Implement x402 Protocol Correctly

Agent Commerce Infrastructure Audit: x402 Protocol Analysis

Current Situation

The rapid proliferation of autonomous AI agents has created a critical disparity between distribution velocity and security maturity. As agents move from experimental scripts to production workloads handling commerce and sensitive data, the underlying trust infrastructure is failing to keep pace.

Key Findings

We scanned 26,302 x402 endpoints and found that only 107 endpoints implement the spec-required header correctly. That's a compliance rate of just 0.41%.

This means 99.59% of the advertised payment surface is effectively non-functional for secure agent commerce.

Why This Matters

The x402 protocol, designed by Coinbase for agent-to-agent payments on Base L2, is intended to serve as the foundational payment rail for autonomous commerce. But the infrastructure simply isn't ready.

The audit also revealed:

  • 1 in 3 public skill repositories receives an F security score
  • 55.3% of MCP Registry instances have critical or high-severity findings
  • 82.6% of npm agent packages contain vulnerabilities

What Needs to Happen

The industry requires a standardized, verifiable format for trust evidence that works across all agent frameworks and languages. The Composable Trust Evidence Format (CTEF) v0.3.1 addresses this by defining a strict wire format for trust claims.


Full analysis available at Codcompass

Top comments (0)