x402 Endpoint Attack Surface Check is a paid API for AI agents from x402-endpoint-risk-corpus.mtree.workers.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).
Checks a candidate x402 endpoint for authorization binding, replay-window, paid-but-denied, catalog drift, and price-drain risk classes, returning a structured JSON risk assessment.
Check authorization binding, replay-window, paid-but-denied, catalog drift, and price-drain classes for a candidate x402 endpoint. Returns JSON. Price 0.25 USDC on Base via x402. Demo/preview: https://x402-endpoint-risk-corpus.mtree.workers.dev/demo/attack_surface_check. Contact: https://x402-endpoint-risk-corpus.mtree.workers.dev/contact.
A JSON object containing risk classifications across five attack surface categories: authorization binding, replay-window, paid-but-denied, catalog drift, and price-drain. Each class includes a risk level and supporting evidence drawn from the x402 Bazaar-derived corpus.
POSThttps://x402-endpoint-risk-corpus.mtree.workers.dev/v1/x402/attack_surface_checkUse this endpoint when an AI agent or developer needs to pre-screen a specific x402 endpoint for known payment-layer attack classes — particularly authorization binding failures, replay vulnerabilities, or price-drain patterns — before committing autonomous payments to it. Prefer this over general API security scanners when the target is specifically an x402 micropayment endpoint and corpus-backed evidence is needed.
{
"input": {
"body": {
"url": "https://api.example.com/v1/payment-endpoint",
"method": "POST",
"require_body_digest": true,
"require_idempotency_key": true,
"post_settlement_deterministic": false
},
"type": "http",
"method": "POST",
"bodyType": "json"
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"ok": true,
"url": "https://api.example.com/v1/payment-endpoint",
"domain": "api.example.com",
"method": "POST",
"dataset": {
"bands": [
{
"n": 868,
"risk_band": "minimal"
},
{
"n": 44,
"risk_band": "low"
},
{
"n": 5,
"risk_band": "high"
}
],
"total": 917,
"calls_30d": 137356,
"last_ingest": {
"id": 823,
"ok": 1,
"ts": 1781756270,
"error": "",
"iso_ts": "2026-06-18T04:17:50.000Z",
"source": "coinbase-discovery",
"scanned": 250,
"upserted": 250,
"attempted": 250
},
"dataset_fresh_at": "2026-06-18T04:18:28.000Z",
"revenue_30d_micro": 3824397238
},
"provenance": {
"source": "hosted D1 endpoint rows + x402 attack-class checklist",
"dataset": "x402-endpoint-risk-corpus",
"generated_at": "2026-06-18T05:05:41.000Z"
},
"dataset_fresh_at": "2026-06-05T23:55:20.000Z",
"attack_surface_band": "high",
"x402_attack_classes": [
{
"id": "authorization_binding",
"status": "pass",
"finding": "Caller reports body-digest binding.",
"mitigation": "Bind signature to method, canonical URL, body digest, asset, amount, network, and payTo."
},
{
"id": "replay_window",
"status": "pass",
"finding": "Caller reports nonce/idempotency guard.",
"mitigation": "Use short validity windows, reject reused authorization nonces, and expose idempotency-key handling."
},
{
"id": "paid_but_denied",
"status": "warn",
"finding": "Post-settlement handler may still deny paid callers.",
"mitigation": "After facilitator verification, return deterministic 2xx/4xx business output and log handler failures separately from payment failures."
},
{
"id": "catalog_consistency",
"status": "warn",
"finding": "No discovery surface evidence in hosted corpus; agents cannot verify route/price drift cleanly.",
"mitigation": "Publish agent-card, OpenAPI, MCP, and .well-known/x402 with matching route/method/price metadata."
},
{
"id": "price_anomaly",
"status": "pass",
"finding": "Price is inside normal micropayment range or absent.",
"mitigation": "Set per-call and daily caps before autopay; require human review for high-price endpoints."
}
],
"attack_surface_score": 100,
"hosted_corpus_evidence": {
"pay_to": "",
"fetched": {
"x402": false,
"origin": "https://api.example.com",
"openapi": false,
"statuses": {
"x402": {
"ok": false,
"status": 530,
"contentType": "text/plain; charset=UTF-8"
},
"openapi": {
"ok": false,
"status": 530,
"contentType": "text/plain; charset=UTF-8"
},
"agentCard": {
"ok": false,
"status": 530,
"contentType": "text/plain; charset=UTF-8"
}
},
"agentCard": false
},
"calls_30d": 0,
"payers_30d": 0,
"price_micro": 0,
"catalog_risks": [
"missing_pay_to_in_catalog",
"missing_network_metadata",
"zero_or_missing_price",
"missing_agent_card",
"missing_openapi",
"missing_x402_discovery_alias",
"class_check_required_authorization_binding",
"class_check_replay_window",
"class_check_paid_but_denied"
],
"base_risk_band": "high",
"base_risk_score": 80
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"