{"uid":"cap_gKE8krFs4Ib58m1hcTU7-","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-e2ca800d","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/indirect-injection-guard)","url":"https://onchain-risk.agentdiet.dev/v1/indirect-injection-guard?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_g08e5Ts30UzTjVlzXgSnB","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 scraped web page, run it through the indirect injection guard and give me back the sanitized version — I want to make sure it's not hiding any prompt injection or jailbreak instructions targeting you.","exampleUseCases":[{"title":"Protect agent from malicious web pages","prompt":"I'm building an agent that fetches and summarizes web pages — can you scan this HTML I just scraped from that news site for hidden prompt injection attacks before we summarize it?"},{"title":"Screen inbound emails for jailbreak attempts","prompt":"Before my agent reads and replies to customer emails, I want you to run each email body through the injection firewall to detect and sanitize any jailbreak payloads that might be hiding in them."},{"title":"Validate MCP tool response before processing","prompt":"My agent just got back a tool response from an untrusted MCP server — can you check this payload for indirect prompt injection before I let the agent act on 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 malicious instructions were found.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Very long payloads may exceed query parameter length limits for GET requests","Highly obfuscated or novel injection techniques may not be detected","Payment failure (HTTP 402) if USDC balance is insufficient for the $0.005 per-call fee","Service unavailable (5xx) if the upstream scanning engine is temporarily down"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — scraped web pages, inbound emails, third-party MCP tool responses, or A2A agent payloads — and you need to sanitize that content before it influences agent behavior. It is especially valuable in autonomous multi-agent architectures where a compromised upstream agent could inject malicious instructions into downstream agents. Prefer this over general-purpose content filters when specifically guarding against indirect prompt injection and LLM jailbreak vectors.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:51:25.131Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}