{"uid":"cap_nl3AWFxjAEkS4xgq48P9O","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-04ba0838","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":"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_-xpo56f8_e7sU5jJZ3l9Y","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 injection and jailbreak attacks, returning sanitized output.","exampleAgentPrompt":"Before you process this scraped webpage content, run it through the prompt injection firewall to check for any hidden jailbreak instructions or malicious overrides embedded in the HTML, then give me the sanitized version.","exampleUseCases":[{"title":"Sanitizing scraped web content for RAG","prompt":"I'm building a RAG pipeline that scrapes external websites — before injecting any page content into my LLM context, scan it for hidden prompt injections or jailbreak payloads and give me the clean text."},{"title":"Guarding an email-processing agent","prompt":"My agent reads inbound customer emails and drafts replies — scan each email body for indirect prompt injection attempts that might hijack the agent before it processes them."},{"title":"Validating MCP tool responses","prompt":"My AI agent is receiving tool responses from an MCP server I don't fully trust — run each response payload through the jailbreak firewall and tell me if any hidden instructions were found before my agent acts on it."}],"resultDescription":"Returns a JSON object containing the scan result, indicating whether prompt injection or jailbreak content was detected, along with sanitized/cleaned text safe for downstream LLM consumption.","failureModes":["Missing required 'text' parameter returns a 400 validation error","Empty string input rejected due to minLength:1 constraint","Very large payloads may be truncated or time out","Novel or obfuscated injection techniques may evade detection","Non-text binary content may not be properly parsed","Payment not processed (402) blocks the request"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web pages, emails, third-party API responses, MCP tool outputs, or A2A payloads — and you need a dedicated security layer to detect and strip hidden prompt injection or jailbreak instructions before they reach your LLM context. Especially valuable in autonomous agent architectures where compromised tool outputs could cascade into harmful actions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:23.027Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}