{"uid":"cap_sg5jh-iqPj13slSQ9Krn_","slug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-1ded7278","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://whale-momentum.agentdiet.dev/v1/rag-poison-shield)","url":"https://whale-momentum.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_f5CCHDV9d1Y3-92ZTB3_R","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"whale-momentum.agentdiet.dev","brandSlug":"whale-momentum-agentdiet-dev-mpp","brandBaseUrl":"https://whale-momentum.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 my agent processes this scraped web page, scan it for any hidden prompt injections or jailbreak payloads and give me the sanitized version: [paste text here].","exampleUseCases":[{"title":"RAG pipeline poisoning defense","prompt":"I'm pulling documents from the web into my RAG pipeline — before my LLM reads this chunk, can you check it for any embedded prompt injection or jailbreak instructions and return the clean version?"},{"title":"MCP tool response safety check","prompt":"My agent just got back a response from an external MCP tool. Before I let it act on the content, scan this payload for any hidden adversarial instructions or prompt injections."},{"title":"Email-to-agent input sanitization","prompt":"A user forwarded me this email and my AI agent is about to summarize it — can you first check the body for any indirect prompt injection attacks and strip them out before we process it?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak content removed or flagged, along with detection metadata indicating whether threats were found.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Payment not included or rejected results in HTTP 402 response requiring x402 USDC payment","Very large text inputs may time out or be truncated","Obfuscated or novel injection techniques may evade detection","Non-textual binary content passed as text may produce unreliable results"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — scraped web pages, user emails, external API/MCP/A2A responses, or RAG documents — and you need to sanitize them before passing them to an LLM. Particularly valuable for agentic workflows where indirect prompt injection could hijack agent behavior. Prefer this over generic content filters when the specific threat model is adversarial LLM instruction embedding in external data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:41:56.062Z","isFirstParty":false,"canonicalSlug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-87ce958b"}