{"uid":"cap_yzv6Q5bb0B-vwnQdhS8zg","slug":"mcp-compiler-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-6607ab9c","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/injection-firewall)","url":"https://mcp-compiler.agentdiet.dev/v1/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_UXEyO02mOouaEDPQ7d1WK","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 injections and jailbreak attempts, returning sanitized content.","exampleAgentPrompt":"Before you process that scraped web page, run it through the prompt-injection firewall first — check the HTML for any hidden instructions or jailbreak payloads and give me back the sanitized version.","exampleUseCases":[{"title":"Securing agent before web scraping pipeline","prompt":"I have this HTML I scraped from an external site that my agent is about to summarize — can you scan it for hidden prompt injections or adversarial instructions before passing it along?"},{"title":"Filtering untrusted email before LLM processing","prompt":"My agent is about to read and act on this email from an unknown sender. Can you run the email body through the injection firewall to make sure there are no embedded jailbreak attempts in it?"},{"title":"Validating MCP tool response for safety","prompt":"I just got back a response from a third-party MCP tool and I want to make sure it's safe before my agent acts on it — can you check it for any hidden prompt injection payloads?"}],"resultDescription":"Returns a sanitized version of the input text with prompt injection and jailbreak content removed or flagged, along with detection results indicating whether threats were found in the original payload.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long payloads may be truncated or rejected","Payment failure (402) if x402 USDC payment is not included or insufficient","False negatives: highly obfuscated injections may evade detection","False positives: legitimate instructions in the text may be incorrectly flagged as injections","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to process content from untrusted external sources — scraped websites, user-submitted text, emails, third-party MCP/A2A tool responses — and you need to guard against indirect prompt injection attacks before that content influences agent behavior. It is purpose-built for the A2A and MCP security use case, unlike generic content moderation APIs that focus on hate speech or NSFW content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:23:10.382Z","isFirstParty":false,"canonicalSlug":"mcp-compiler-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-2be101c9"}