{"uid":"cap_rDKEeX-7Unf6cJyWlhEYf","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-1ed46785","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-security.agentdiet.dev/v1/llm-jailbreak-defense)","url":"https://mcp-security.agentdiet.dev/v1/llm-jailbreak-defense?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_jLTVpr2XhTRqmbSuE5OsT","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-security.agentdiet.dev","brandSlug":"mcp-security-agentdiet-dev-mpp","brandBaseUrl":"https://mcp-security.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 scraped web page, run it through the prompt injection firewall to check for hidden jailbreak instructions and give me the sanitized version: [paste untrusted content here].","exampleUseCases":[{"title":"Safe web scraping for agent pipelines","prompt":"I'm building an agent that reads web pages and summarizes them. Before passing the HTML to the LLM, can you scan it for hidden prompt injections and give me the sanitized text? Here's the page content: [HTML content]."},{"title":"Email jailbreak screening before LLM processing","prompt":"My agent is about to read and respond to this incoming email, but I'm worried it might contain an adversarial prompt injection. Can you scan it for jailbreak payloads and return a clean version before the agent processes it?"},{"title":"MCP tool response sanitization","prompt":"My agent just got a response back from an external MCP tool and I need to make sure it doesn't contain any hidden prompt injection instructions before my LLM acts on it. Please scan this tool output and flag anything suspicious."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, along with detection metadata indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Payment not provided triggers HTTP 402 response requiring x402 USDC payment","Extremely large payloads may time out or exceed size limits","Non-UTF8 or binary content may not be parsed correctly","False negatives are possible for novel or obfuscated injection techniques"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web pages, emails, MCP tool responses, or A2A payloads — before feeding it to an LLM, and you need a dedicated firewall layer that detects and removes hidden prompt injection and jailbreak attempts rather than relying on the LLM's own defenses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:40:33.368Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}