{"uid":"cap_h3W3jTglhS8eKTlxeVYvu","slug":"x402-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cd2da2c7","name":"A2A Indirect Prompt-Injection & Jailbreak Firewall","description":"Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and returns sanitized text. (Live x402 v2, IETF MPP & MCP endpoint at https://x402-audit.agentdiet.dev/v1/guard)","url":"https://x402-audit.agentdiet.dev/v1/guard?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1,"description":"Untrusted text, HTML, or tool output to scan for hidden prompt injection or jailbreak payloads"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.005","displayCostAsset":"USD","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.005/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f66mYz0dNQjXQOW9cXfEH","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"x402-audit.agentdiet.dev","brandSlug":"x402-audit-agentdiet-dev-mpp","brandBaseUrl":"https://x402-audit.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized content.","exampleAgentPrompt":"Before you process that web page I just fetched, can you run its raw HTML through the prompt injection firewall to make sure there are no hidden adversarial instructions embedded in it?","exampleUseCases":[{"title":"Safe web scraping for agent pipelines","prompt":"I'm building an agent that scrapes competitor websites — before it processes each page's text, scan the raw HTML for any hidden prompt injections or jailbreak attempts so my agent doesn't get hijacked."},{"title":"Email safety check before AI processing","prompt":"My AI assistant reads my inbox and drafts replies — can you scan the body of this email I just received for any embedded adversarial instructions trying to manipulate the agent?"},{"title":"MCP tool response sanitization","prompt":"My agent just got back a response from a third-party MCP tool — please run that payload through the prompt injection firewall and give me the sanitized version before I let my agent act on it."}],"resultDescription":"Returns a structured object indicating whether a prompt injection or jailbreak payload was detected in the input text, along with a sanitized version of the content safe for downstream agent consumption.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long payloads may be truncated or rejected","False negatives possible for novel or obfuscated injection techniques","HTTP 402 payment required if x402 payment header is not included","Non-text binary content may not be correctly parsed"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web scraping, email ingestion, third-party MCP/A2A tool responses — and you need a dedicated firewall layer to detect and strip hidden prompt injections before your LLM processes the content. Prefer this over generic text sanitization when the threat model specifically involves adversarial LLM manipulation rather than XSS or SQL injection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:36.022Z","isFirstParty":false,"canonicalSlug":"x402-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cd2da2c7"}