{"uid":"cap_Iu-1vbnWg-vW7G0IUDoQx","slug":"mcp-compiler-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-10a9d634","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://mcp-compiler.agentdiet.dev/v1/mcp-injection-firewall)","url":"https://mcp-compiler.agentdiet.dev/v1/mcp-injection-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_DzEn80B5szJIjocc6adFG","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mcp-compiler.agentdiet.dev","brandSlug":"mcp-compiler-agentdiet-dev-mpp","brandBaseUrl":"https://mcp-compiler.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injection and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that scraped webpage, run it through the injection firewall first — I want to make sure there are no hidden prompt injection or jailbreak instructions embedded in the HTML that could hijack you.","exampleUseCases":[{"title":"Sanitize scraped web content before LLM processing","prompt":"I just scraped this product review page to feed into my summarization pipeline — can you scan the raw HTML for hidden prompt injections first so my agent doesn't get hijacked?"},{"title":"Screen inbound email for AI jailbreak payloads","prompt":"Before my agent reads and responds to this customer email, check the message body for any embedded jailbreak or prompt injection attempts — here's the full text."},{"title":"Validate MCP tool response before agent consumption","prompt":"My agent just got a response back from an external MCP tool — can you run it through the prompt injection firewall to make sure there's nothing malicious in the payload before I pass it on to the next step?"}],"resultDescription":"Returns a structured object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, along with threat detection metadata.","failureModes":["Empty or whitespace-only text input returns a validation error (minLength:1 not met)","Very long payloads may time out or be truncated","False negatives: sophisticated obfuscated injections may evade detection","False positives: legitimate AI-related instructions in content flagged as injections","Payment failure (HTTP 402) if x402 micropayment is not provided","Malformed response schema if upstream firewall engine is unavailable"],"whenToPreferThis":"Choose this endpoint when your AI agent processes untrusted external content — web scrapes, emails, MCP tool outputs, or A2A payloads — and you need a dedicated security layer to catch indirect prompt injection or jailbreak attempts before that content influences downstream LLM behavior. It is especially valuable in autonomous agent pipelines where the agent cannot manually review every external input.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:16.811Z","isFirstParty":false,"canonicalSlug":"mcp-compiler-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-2be101c9"}