{"uid":"cap_K9m0s3V8aC5X3R0O84Doy","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-af38bcf5","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/tool-poisoning-shield)","url":"https://onchain-risk.agentdiet.dev/v1/tool-poisoning-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_l-J76E3KAe5ICxh9abZgv","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 my agent processes this scraped webpage content, can you scan it for hidden prompt injections or jailbreak payloads and give me back the sanitized version? Here's the text: [paste untrusted content]","exampleUseCases":[{"title":"Sanitize scraped web content for agent pipeline","prompt":"I'm about to feed this webpage's HTML into my AI agent — can you first scan it for any hidden prompt injection instructions or adversarial text and return a clean version I can safely pass along?"},{"title":"Screen incoming MCP tool responses","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it's not carrying any jailbreak payloads or hidden instructions before I let the agent act on it — can you run it through the prompt injection firewall?"},{"title":"Validate untrusted email before LLM summarization","prompt":"I'm about to have my AI summarize this external email but I'm worried it might contain indirect prompt injection tricks — can you check the email body for any hidden adversarial instructions and sanitize it first?"}],"resultDescription":"Returns a JSON object containing the scan result for the submitted text, including detection of hidden prompt injection patterns, jailbreak payloads, or adversarial instructions, along with sanitized text safe for downstream LLM or agent consumption.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long payloads may be truncated or rejected","False negatives possible for novel or obfuscated injection techniques not yet in the detection model","Payment failure (HTTP 402) if x402 USDC balance is insufficient","Service unavailable (503) if the endpoint is temporarily down"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web pages, emails, tool responses, or A2A payloads — before passing that content to an LLM for reasoning or action. It is especially valuable in autonomous multi-agent systems where a compromised upstream tool or malicious web page could hijack downstream agent behavior via indirect prompt injection. Prefer this over general content moderation APIs when the threat model specifically involves adversarial LLM instruction hijacking rather than generic toxicity or spam.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:24:20.777Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}