{"uid":"cap_6bqAgQXT9NDELG8qpPddE","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-c6f9aa7b","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/llm-jailbreak-defense)","url":"https://onchain-risk.agentdiet.dev/v1/llm-jailbreak-defense?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_uguKu1O5vQIoq0dGXXNfR","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 summarize this webpage I just scraped, can you run the raw HTML through the prompt injection firewall to make sure there are no hidden jailbreak instructions embedded in it that could hijack you?","exampleUseCases":[{"title":"Protecting agent from poisoned tool output","prompt":"I just got a response back from an external MCP tool and I want to make sure it doesn't contain any hidden prompt injection before my agent acts on it — can you scan it for jailbreak payloads?"},{"title":"Sanitizing scraped email before LLM processing","prompt":"I'm about to feed this email body into my AI assistant to extract action items, but the sender is untrusted — please run it through the jailbreak firewall first and give me the sanitized version."},{"title":"Checking A2A payload for injection attacks","prompt":"My agent just received a message from another agent in the network and I need to verify it's clean before processing it — scan this A2A payload for any indirect prompt injection or hidden instructions trying to hijack my LLM."}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected, along with sanitized text with malicious instructions removed or flagged, suitable for safe downstream LLM consumption.","failureModes":["Empty or missing 'text' parameter returns validation error","Extremely large text payloads may time out or be truncated","Sophisticated obfuscated injections may evade detection (false negatives)","Non-text binary content may not be parseable","Payment failure (402) if x402 USDC micropayment is not completed"],"whenToPreferThis":"Use this endpoint when your AI agent needs to process untrusted external content — scraped web pages, third-party emails, external tool responses, or A2A messages — before feeding it to an LLM. Particularly valuable in agentic pipelines where indirect prompt injection is a real threat vector, such as autonomous browsing agents, email-processing agents, or multi-agent orchestration systems. Prefer this over generic content filters when your specific concern is LLM hijacking and jailbreak payloads rather than general spam or NSFW content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:04.943Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}