{"uid":"cap_QiSUu1xMbMSMa_ZEAIivy","slug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-4902f92a","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://preflight.agentdiet.dev/v1/guard)","url":"https://preflight.agentdiet.dev/v1/guard?utm_source=zero.xyz","method":"POST","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_8-Ic1rNJvUkjCi0OWPluT","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"preflight.agentdiet.dev","brandSlug":"preflight-agentdiet-dev-mpp","brandBaseUrl":"https://preflight.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that scraped web page, run its content through the prompt injection firewall to make sure there are no hidden instructions trying to hijack you.","exampleUseCases":[{"title":"Guard agent against injected web pages","prompt":"I'm having my agent fetch and summarize news articles from external sites — can you scan each page's text for hidden prompt injections before my agent reads it?"},{"title":"Sanitize incoming email for AI assistant","prompt":"My AI email assistant is about to read this forwarded message — please check it for any jailbreak or prompt injection payloads before it processes the content."},{"title":"Validate MCP tool response before use","prompt":"My agent just got a response back from an untrusted MCP server — can you run it through the prompt injection firewall so I know it's safe to pass along to the LLM?"}],"resultDescription":"Returns a JSON object indicating whether the input text contains prompt injection or jailbreak content, along with sanitized text safe for downstream agent consumption.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Payload too large may result in a timeout or 413 error","Ambiguous or obfuscated injections may not be detected with full confidence","Payment not provided or insufficient USDC balance returns HTTP 402","Network timeout on the endpoint returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests untrusted external content — scraped web pages, forwarded emails, third-party MCP/A2A responses, or user-submitted text — and you need to sanitize it before passing it to an LLM. Prefer this over manual regex filtering or generic content moderation when the threat model specifically involves prompt injection and jailbreak vectors targeting AI agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:32:55.378Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-5b5b7e27"}