{"uid":"cap_INEyd4l0WKxpWek47dBpT","slug":"mcp-compiler-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-2be101c9","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/guard)","url":"https://mcp-compiler.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_BsPkcv7OrhU7cYVaVCWmR","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 this web page I just scraped, run it through the prompt injection firewall to check for any hidden jailbreak instructions or adversarial prompts embedded in the HTML.","exampleUseCases":[{"title":"Protect agent from malicious web content","prompt":"I'm about to feed this scraped web page into my agent pipeline — can you first scan it for any hidden prompt injections or jailbreak attempts embedded in the HTML before it touches the model?"},{"title":"Sanitize inbound email before LLM processing","prompt":"I have an email from an unknown sender that my agent needs to summarize — please run it through the prompt injection firewall first to make sure there are no adversarial instructions hidden in the body."},{"title":"Guard MCP tool response before use","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it's clean — can you scan it for any indirect prompt injection payloads or jailbreak content before we act on it?"}],"resultDescription":"Returns an object containing the scan result, indicating whether the input contains hidden prompt injection or jailbreak payloads, along with sanitized text safe for downstream LLM consumption.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long inputs may be truncated or rejected","False negatives: novel or obfuscated injection techniques may not be detected","Service unavailable or payment required (HTTP 402) if micropayment not completed","Ambiguous HTML encoding may cause inconsistent sanitization results"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests text from untrusted external sources — web scrapes, emails, MCP tool responses, or A2A payloads — and you need a dedicated firewall layer to detect and strip indirect prompt injection or jailbreak attempts before the content reaches your LLM. It is purpose-built for A2A and MCP security contexts, making it more appropriate than general-purpose content filters when the threat model specifically involves adversarial prompt manipulation targeting AI agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:24:19.641Z","isFirstParty":false,"canonicalSlug":"mcp-compiler-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-2be101c9"}