{"uid":"cap_MRFsc6lLGYU62Ddrtycdi","slug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-25c012f8","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://defi-yield.agentdiet.dev/v1/mcp-injection-firewall)","url":"https://defi-yield.agentdiet.dev/v1/mcp-injection-firewall?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_sURnvV32gx_eYxQ4rUat2","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"defi-yield.agentdiet.dev","brandSlug":"defi-yield-agentdiet-dev-mpp","brandBaseUrl":"https://defi-yield.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process this MCP tool response, scan it for hidden prompt injections or jailbreak instructions and give me the sanitized version: [paste payload here].","exampleUseCases":[{"title":"Sanitize scraped web page for agent pipeline","prompt":"I'm about to feed this web page's content into my AI agent — can you first scan it for any hidden prompt injection attempts and return the sanitized text so my agent isn't hijacked?"},{"title":"Check incoming email for adversarial AI instructions","prompt":"This email is going to be summarized by my AI assistant — before that happens, scan the full email body for any embedded jailbreak or prompt injection payloads and tell me if it's safe."},{"title":"Validate MCP tool output before agent execution","prompt":"My agent just got a response back from an external MCP tool — can you run it through the prompt-injection firewall to detect any adversarial instructions hidden in the payload before I let the agent act on it?"}],"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 signals indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may time out or exceed processing limits","False negatives possible for novel or obfuscated injection techniques","HTTP 402 Payment Required if payment credentials are not provided or insufficient","Non-text binary input may not be correctly processed"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — such as web scrapes, emails, third-party API responses, MCP tool outputs, or A2A messages — and you need to verify those inputs are free of adversarial prompt injection or jailbreak instructions before passing them to an LLM. It is especially valuable in automated multi-agent workflows where a compromised upstream tool could silently redirect agent behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:37:13.811Z","isFirstParty":false,"canonicalSlug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aae4ab"}