{"uid":"cap_o7sPMGhgklMa54lEj14TH","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-fe2672f1","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://onchain-risk.agentdiet.dev/v1/rag-poison-shield)","url":"https://onchain-risk.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_VlleUSe57VTwSR8fib3EO","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"onchain-risk.agentdiet.dev","brandSlug":"onchain-risk-agentdiet-dev-mpp","brandBaseUrl":"https://onchain-risk.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 you process this webpage I scraped, run it through the prompt-injection firewall to check if it contains any hidden jailbreak or indirect prompt-injection payloads — here's the raw HTML: [paste content here].","exampleUseCases":[{"title":"RAG pipeline poisoning defense","prompt":"I'm feeding external web pages into my RAG pipeline — before indexing this article, scan it for any hidden prompt injections or adversarial instructions embedded in the text that could hijack my agent."},{"title":"Email-to-agent security screening","prompt":"My agent reads incoming emails and takes actions based on them. Can you scan this email body for hidden jailbreak attempts or prompt injection attacks before my agent processes it?"},{"title":"MCP tool output sanitization","prompt":"My agent just got back a response from an MCP tool calling an external service — can you check this payload for any embedded prompt-injection or jailbreak content before I let the agent act on it?"}],"resultDescription":"Returns a JSON object containing the scan result for the submitted text, including whether prompt injection or jailbreak content was detected and a sanitized version of the input text safe for downstream agent processing.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long payloads may be truncated or time out","False negatives possible for novel or obfuscated injection techniques","Non-text binary content may not be processed correctly","Payment failure via x402 results in 402 response blocking the scan"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web scrapes, emails, MCP/A2A tool responses, or user-supplied text — and you need to sanitize it before passing it to an LLM. Especially valuable in agentic RAG workflows, multi-agent systems, or any scenario where adversarial prompt injections could hijack agent behavior. Prefer this over generic content filters when you specifically need detection of AI-targeted attack patterns like indirect prompt injection and jailbreak payloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:51:34.134Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}