x402 endpoint risk audit

Know what your x402 endpoint can lose before an agent finds out.

Free passive scans run nine checks on your x402 endpoint: price stability, payee and token safety, resource binding, transport security, CORS, information leaks, traceability and challenge conformance. Findings include response evidence and recommended controls. No wallet or payment needed.

A passive scan sends three unpaid GET or POST requests (four if auto-detect tries POST). Full audits require proof that you control the host. See pricing and availability.

Free scans are available. Check full-audit availability on this page with JavaScript enabled.

Built on the x402 v2 specification Evidence on every finding No funds sent
Spec-basedChecks follow the x402 v2 protocol
Safe by designPlaceholder signatures, no real funds
Consent firstActive tests only on hosts you prove you own
TransparentVersioned methodology, raw evidence
How it works

From first scan to fixed endpoint in three steps

Start with a free passive scan. Full audits require ownership verification; check current availability above.

1

Scan

Paste a URL. We read the 402 challenge three times and check the price, payee, token, resource, TLS, CORS and error output against the protocol specification.

2

Assess the remaining risks

Passive scans do not test invalid payments, replays, races or bursts. The full audit requires a one-line ownership token hosted on your endpoint's domain.

3

Fix and rescan

Each finding explains the risk and how to remove it. Share the report by link, then rescan to confirm.

What we check

Nine free checks. More depth for verified owners.

The website runs nine passive checks. The full audit runs 13 standard checks, with a 14th for upto metering when advertised. The toolkit also supports a CLI-only cross-resource check; that check is not included in website scans. The risk areas below explain the distinction.

Protocol conformance is one check. The audit also examines operational controls such as price stability, replay handling and rate limiting, with evidence and explicit test limitations.

SLA

Rate limiting

Does a runaway agent get throttled, or can it exhaust the service?

Change control

Price slippage

Is the quote stable, and bounded by a short validity window?

Blast radius

Idempotency and races

If a payment is replayed, or sent five times at once, is it settled more than once?

Audit trail

Traceability

Can a disputed charge be tied to a request and a settlement?

Control failure

Signature strictness

Are wrong amounts, chains and tokens, and expired authorisations, rejected?

Spend ceiling

Upto metering

Does usage stop at the amount the client authorised?

Incident containment

Error handling

Do bad payments get a 4xx, or a 5xx that clients retry?

Interoperability

Challenge conformance

Does the 402 response match the v2 specification?

Treasury control

Asset and network

Is the token Circle's native USDC, and are testnet options kept off production?

Scope control

Resource binding

Does the challenge name the exact URL the buyer is paying for?

Single point of failure

Payee consistency

Is the payee one stable, valid address, never a burn address?

Data in transit

Transport security

Modern TLS, a valid certificate and HSTS on the paid route?

Attack surface

Information exposure

Do errors leak stack traces, internal addresses or versions?

Access control

CORS policy

Can any website make credentialed calls and read the answers?

Blast radius

Cross-resource replay

Can one payment unlock a second paid resource?

Evidence, not opinions

Every result shows what we sent and what came back

  • Timestamped response evidence: status, selected headers and short excerpts
  • A reproduction command for the 402 challenge
  • Versioned methodology; compare grades only within the same mode and version
  • Inconclusive means inconclusive, never rounded into a pass or a fail

See a sample report

# illustrative transcript GET /resource HTTP 402 payment-required: eyJ4NDAy... invalid payment (underpayment) HTTP 500 flagged: Error Handling invalid payment (wrong chain) HTTP 402 burst of 30 requests no 429 observed flagged: Rate Limiting
For teams

Need more than a scan?

Built by Mubarak Khan, an independent architect focused on operational risk for AI agents that pay.

Architecture review

A fixed-scope review of your payment flows and documentation, with a prioritised remediation plan you can hand to engineering.

Risk retainer

Ongoing advisory for teams running agent payment infrastructure: design reviews, incident readiness and control design.

Request an architecture review See plans and pricing

FAQ

Questions operators ask

Does the scanner move money?

The scanner sends no real funds to the target. Paying for the audit service is a separate wallet flow. Base mainnet checkout authorises real USDC; Base Sepolia checkout uses test tokens. Review the network and amount before signing and check current availability.

Who can run a full audit?

When enabled, full audits require an ownership token served from the host being audited. See pricing and availability.

What does a passive scan do?

It sends three unpaid requests (GET, or POST with a JSON body you supply) and runs nine checks on the answers: price stability, payment window, payee and token safety, resource binding, TLS and HSTS, CORS, information leaks, traceability headers and challenge conformance. It does not test payment acceptance or settlement.

Do you publish grades for other people's endpoints?

No. A report is visible only to people who have its link, and you can delete it at any time.

Is a good grade a security certification?

No. These are automated, black-box checks of observable behaviour. They are useful evidence, not a guarantee.

What data do you keep?

Reports contain response evidence and remain available for up to 90 days unless deleted earlier. Free scans collect no email. See the privacy policy.

Read the full FAQ: authentication, networks, ownership and team options.

Inspect your x402 payment challenge

Nine passive checks, response evidence and a shareable report. No account or wallet needed. Scan time depends on the endpoint.

Run a free scan