{"uid":"cap_OujcRy7SQIX8svcuuluo0","slug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-41852168","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/workflows/rag-context-sanitizer)","url":"https://polymarket-odds.agentdiet.dev/v1/workflows/rag-context-sanitizer?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_sPyGDLHJj5gcRTLzYh5cz","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 output.","exampleAgentPrompt":"Before I pass this scraped web page content into my RAG pipeline, can you scan it for any hidden prompt injections or jailbreak payloads and give me the sanitized version? Here's the raw HTML: <paste content>","exampleUseCases":[{"title":"RAG pipeline content sanitization","prompt":"I'm about to inject this web page's text into my LLM's context window — can you first scan it for any hidden prompt injections or adversarial instructions and return a clean version I can safely use?"},{"title":"Incoming email jailbreak screening","prompt":"I have an email my agent is about to process — can you check this email body for any embedded prompt injection or jailbreak attempts before my AI reads it?"},{"title":"MCP tool response safety check","prompt":"My agent just got a response back from an external MCP tool and I want to make sure it doesn't contain any sneaky injected instructions — can you scan this payload and sanitize it before I feed it back into the agent?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak content removed or flagged, allowing the agent to safely use the cleaned output in downstream LLM calls or RAG pipelines.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may exceed processing limits or time out","Obfuscated or novel injection techniques may evade detection","Non-text binary content may not be processed correctly","Payment not completed (402) blocks execution until x402/MPP payment is made"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests content from untrusted external sources — scraped web pages, user-submitted text, third-party API responses, MCP tool outputs, or A2A payloads — and you need to detect and neutralize indirect prompt injection or jailbreak attempts before passing content to an LLM. Especially valuable in multi-agent architectures where one compromised data source could cascade malicious instructions through the entire pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:37:13.944Z","isFirstParty":false,"canonicalSlug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8ce8b4f9"}