{"uid":"cap_q00IrGr2r-NKZDV0qdpEE","slug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-2bba5462","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://polymarket-odds.agentdiet.dev/v1/rag-poison-shield)","url":"https://polymarket-odds.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_r9C8gUQ3Mf8doH7ebpK9K","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"polymarket-odds.agentdiet.dev","brandSlug":"polymarket-odds-agentdiet-dev-mpp","brandBaseUrl":"https://polymarket-odds.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 summarize this scraped web page for me, run it through the RAG poison shield first — 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 these search results into my RAG pipeline — can you scan each chunk for hidden prompt injections or adversarial instructions and strip them out before indexing?"},{"title":"Email-based injection protection","prompt":"I just received this email from an unknown sender that my agent will process — please scan the body for any embedded jailbreak attempts or hidden AI instructions before my agent reads it."},{"title":"MCP tool output validation","prompt":"My agent got this response back from an external MCP tool — before it acts on it, can you check whether the payload contains any indirect prompt injection or adversarial override instructions?"}],"resultDescription":"Returns a sanitized version of the input text with hidden prompt injections and jailbreak payloads detected and removed, along with threat detection metadata indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long payloads may hit size limits or timeout","Obfuscated or novel injection techniques may evade detection","Non-text binary content is not supported","Payment failure (402) if x402 micropayment is not correctly attached"],"whenToPreferThis":"Use this endpoint whenever an AI agent must process text from untrusted external sources — scraped web pages, emails, third-party API responses, MCP tool outputs, or user-submitted content — before passing that text into an LLM context window. It is particularly valuable in multi-agent (A2A) pipelines where one agent's output becomes another agent's input, creating indirect injection attack surfaces. Prefer this over manual regex filtering when you need a purpose-built, AI-aware firewall that understands prompt injection semantics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:35:59.943Z","isFirstParty":false,"canonicalSlug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8ce8b4f9"}