{"uid":"cap_sq0YXvHfWizKHIazk_rPM","slug":"x-402-input-guard-ai-agent-content-safety-scanner-185971c7","name":"x-402 Input Guard — AI Agent Content Safety Scanner","description":"Input firewall for AI agents. Scan any UNTRUSTED content or URL an agent is about to read/act on, BEFORE it does. Detects prompt-injection, data-exfiltration (incl. markdown-image beacons), phishing, scam/wallet-drainer intent, and hidden/steganographic unicode — via determini…","url":"https://api.x-402.online/v1/guard","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kET4wDQd3v_gkcz2APiXC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans URLs or text content an AI agent is about to process for prompt-injection, data-exfiltration beacons, phishing, scam/wallet-drainer intent, and hidden steganographic unicode before the agent acts on it.","exampleAgentPrompt":"Before you open that link the user just sent me, scan it first with the x-402 guard — check the URL for prompt injection, phishing, wallet-drainer intent, and any hidden unicode tricks, then tell me if it's safe to proceed.","exampleUseCases":[{"title":"Guarding agent against malicious user URLs","prompt":"A user just pasted this URL into my chat: https://evilsite.example/claim-reward — before my agent fetches it, run it through the x-402 input guard and tell me if it contains prompt injection, phishing, or any scam intent."},{"title":"Screening third-party content before processing","prompt":"I'm about to feed this markdown document from an external API into my agent pipeline — can you scan it with the x-402 guard first to check for hidden instructions, steganographic unicode, or data-exfiltration beacons?"},{"title":"Protecting crypto agent from wallet-drainer links","prompt":"My DeFi agent received a referral link from an unknown source — run it through the x-402 guard to detect if it's a wallet-drainer or phishing attempt before my agent interacts with it."}],"resultDescription":"A safety verdict indicating whether the scanned URL or content contains threats such as prompt-injection payloads, data-exfiltration attempts (including markdown image beacons), phishing indicators, scam or wallet-drainer intent, or hidden/steganographic unicode characters, along with specific risk flags for each detected threat category.","failureModes":["Missing required 'input' parameter returns validation error","Non-HTTP input type rejected since only 'http' type with GET method is supported","Malformed URL may return parsing error or inconclusive result","Payment failure (insufficient USDC balance) returns 402 Payment Required","Timeout on slow or unreachable URLs may return incomplete scan result"],"whenToPreferThis":"Choose this endpoint when your AI agent is about to consume untrusted external content — especially URLs, user-submitted links, or third-party data — and you need a pre-flight safety check specifically designed for AI agent threat vectors like prompt injection, markdown beacons, steganographic unicode, and crypto scam intent. Prefer this over generic URL reputation checkers when the threat model centers on adversarial AI inputs rather than just malware or spam.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:09.570Z","isFirstParty":false}