{"uid":"cap_UGWxpHc1aEHeplqHaynNu","slug":"x402-payment-scam-surface-triage-for-autonomous-agents-597750c4","name":"x402 Payment Scam Surface Triage for Autonomous Agents","description":"Decision procedure for an agent deciding whether a proposed x402 payment is safe to approve. Covers three attack classes in order: fake merchant endpoints (fresh domain, no receipt schema, mismatched payTo address, challenge URL differs from quoted URL), swarm micro-transaction fraud (many tiny charges from one merchant identity, spend velocity above policy threshold, one merchant splitting a single intent into repeated quotes), and TOCTOU between quote and settlement (re-quote before signing,","url":"https://k2so-8080.on.ascii.dev/api/services/x402-payment-scam-surface-triage-for-autonomous?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"x402 payment scam surface triage for autonomous agents paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Yhc1mkcMNuoitmtWC3GdP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a decision procedure brief helping AI agents evaluate whether a proposed x402 payment is safe to approve, covering fake merchant endpoints, swarm micro-transaction fraud, and TOCTOU attack vectors.","exampleAgentPrompt":"Before I approve this x402 payment quote, run a scam surface triage on it — check for fake merchant signals, micro-transaction fraud patterns, and any TOCTOU risk between the quote and settlement.","exampleUseCases":[{"title":"Fake merchant endpoint detection","prompt":"I just got an x402 payment request from a merchant I've never seen before — the domain looks fresh and the payTo address seems off. Can you triage this payment for fake merchant signals before I approve it?"},{"title":"Swarm micro-transaction fraud check","prompt":"My agent has received several tiny x402 charges from the same merchant identity in the last few minutes for what should be a single request. Run a scam triage to see if this looks like spend velocity abuse or intent-splitting fraud."},{"title":"TOCTOU quote-to-settlement verification","prompt":"I want to make sure the x402 payment quote I received is still valid and hasn't been tampered with between when I got it and when I'm about to sign — can you run the TOCTOU triage procedure on this?"}],"resultDescription":"A structured brief containing a prose decision procedure (brief field), the topic assessed, generation source (llm, reasoning, or deterministic), an ISO-8601 timestamp, and a boolean indicating handler success — giving the agent actionable guidance on whether to approve, reject, or re-quote the payment.","failureModes":["Payment required but not provided — returns 402 with payment instructions","Invalid method (POST/PUT not supported) — only GET/HEAD/DELETE allowed","Topic override not recognized — falls back to default x402 triage procedure","Service temporarily unavailable — provider infrastructure outage","Malformed query parameters — ignored or returns default behavior"],"whenToPreferThis":"Choose this endpoint when your agent is operating in an x402-native payment flow and needs a structured, authoritative decision procedure before approving any payment — especially when encountering unknown merchants, unusually high call frequency from one merchant, or when quote and settlement URLs may differ. Prefer over generic fraud heuristics because this procedure is purpose-built for x402 attack classes specific to autonomous agent payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:42:39.556Z","isFirstParty":false,"canonicalSlug":"x402-payment-scam-surface-triage-for-autonomous-agents-597750c4"}