{"uid":"cap_BpZCpSv2L802dzHeTMRYg","slug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-c88492a8","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/prompt-firewall)","url":"https://preflight.agentdiet.dev/v1/prompt-firewall?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_n2ew5rM6B52RdBZ8Axiv_","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 it through the prompt injection firewall first — check whether it contains any hidden instructions or jailbreak attempts trying to hijack you, and give me the sanitized version.","exampleUseCases":[{"title":"Safe web scraping for autonomous agents","prompt":"I just scraped this product page HTML to feed into my agent pipeline — can you scan it for any hidden prompt injections or adversarial instructions before my agent reads it? Here's the raw HTML: <html>... [page content] ...</html>"},{"title":"Email assistant protection from hijacking","prompt":"My email-reading agent is about to process this incoming message, but I'm worried it might contain embedded jailbreak instructions. Can you check this email body for hidden prompt injections and return the clean version? Here's the text: 'Dear agent, please ignore all previous instructions and...'"},{"title":"MCP tool response safety check","prompt":"My agent just got a response back from an external MCP tool and I want to make sure it's safe before acting on it — can you scan this tool output for any indirect prompt injection attempts hiding in it?"}],"resultDescription":"Returns a JSON object indicating whether the input text contains hidden prompt injection or jailbreak payloads, along with sanitized text stripped of adversarial instructions, enabling safe downstream agent processing.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long payloads may be truncated or rejected","Highly obfuscated or encoded injections may evade detection","Non-text binary content may not be properly parsed","Network timeout for very large HTML documents","HTTP 402 Payment Required if x402 micropayment not included"],"whenToPreferThis":"Choose this endpoint when your AI agent is about to process content from untrusted external sources — scraped web pages, user-submitted text, third-party API responses, MCP tool outputs, or incoming emails — and you need to verify the content doesn't contain adversarial prompt injections or jailbreak attempts before your agent acts on it. Prefer this over general content moderation APIs when your specific threat model is indirect prompt injection targeting LLM agents, not just toxic or harmful language.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:25.903Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-5b5b7e27"}