{"uid":"cap_37aTfEzaFkuxMVb7RanKv","slug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3c2f5e38","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://agentdiet.dev/v1/rag-poison-shield)","url":"https://agentdiet.dev/v1/rag-poison-shield?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_VUA_TAOY8JYHboBspZUsG","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agentdiet.dev","brandSlug":"agentdiet-dev-mpp","brandBaseUrl":"https://agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized text.","exampleAgentPrompt":"Before you process that webpage I just scraped, can you run it through the RAG poison shield to check for any hidden prompt injections or jailbreak payloads and give me the sanitized version?","exampleUseCases":[{"title":"Sanitizing scraped web content for RAG","prompt":"I'm about to feed this scraped article into my RAG pipeline — can you scan it for hidden prompt injections first and give me back the clean version?"},{"title":"Checking email bodies before agent processing","prompt":"This email came from an external contact and my agent needs to act on it — please scan the email body for any jailbreak instructions or hidden prompt injection before passing it along."},{"title":"Validating MCP tool response safety","prompt":"My agent just got a response back from an external MCP tool — can you check whether it contains any indirect prompt injection or jailbreak payloads before I let the agent continue?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak content removed or flagged, helping agents safely consume untrusted external data.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long inputs may be truncated or rejected","False negatives: sophisticated obfuscated injections may not be caught","False positives: legitimate content resembling injection syntax may be flagged","Service unavailability returns HTTP 402 or 5xx errors","Malformed HTML or binary content may produce unexpected sanitization results"],"whenToPreferThis":"Use this endpoint whenever your AI agent must consume untrusted external content — scraped web pages, emails, MCP/A2A tool responses, or RAG documents — before processing. It is specifically designed for the agent-to-agent and retrieval-augmented generation security context, making it preferable over generic content filters when the threat model is indirect prompt injection or jailbreak payloads embedded in external data sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:00.045Z","isFirstParty":false,"canonicalSlug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-fbd96f9b"}