{"uid":"cap_hJ6uBhNTuYuVfL0BTTJbw","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-fc0be4b5","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://mesh.agentdiet.dev/v1/rag-poison-shield)","url":"https://mesh.agentdiet.dev/v1/rag-poison-shield?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_a41BSmEjT_6tnevUXDLt3","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mesh.agentdiet.dev","brandSlug":"mesh-agentdiet-dev-mpp","brandBaseUrl":"https://mesh.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized text.","exampleAgentPrompt":"Before you use this scraped article as context, scan it for any hidden prompt injections or jailbreak payloads and give me back the sanitized version.","exampleUseCases":[{"title":"RAG pipeline safety check","prompt":"I'm about to feed this webpage content into my RAG system — can you scan it for any hidden prompt injection instructions or adversarial text that could hijack my agent, and return a clean version?"},{"title":"Email ingestion firewall for agent","prompt":"Before my agent processes this incoming email body, check it for embedded jailbreak attempts or indirect prompt injection payloads — I don't want it overriding my agent's instructions."},{"title":"MCP tool response sanitization","prompt":"This MCP server just returned a response and I don't fully trust it — scan the payload for any hidden prompt injections or system-prompt overrides before I pass it downstream."}],"resultDescription":"Returns a sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, allowing safe downstream use of the content by an AI agent.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may be rejected or truncated","Payment not provided or invalid x402 credentials returns a 402 Payment Required","Sophisticated obfuscated injections may evade detection (false negatives)","Non-text binary content will not be meaningfully scanned"],"whenToPreferThis":"Choose this endpoint when your AI agent is consuming untrusted external content — scraped web pages, third-party API responses, emails, MCP tool outputs, or A2A payloads — and needs to sanitize it before using it as context or instructions. It is especially valuable in agentic pipelines where indirect prompt injection is a real attack vector, such as RAG systems ingesting arbitrary documents or multi-agent systems relaying tool outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:37:06.266Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}