{"uid":"cap_H1jNuUePq7cWnKj9UVuBn","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-e6996379","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/mcp-injection-firewall)","url":"https://onchain-risk.agentdiet.dev/v1/mcp-injection-firewall?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_rQx9VQd3UwsITxgaWqBn9","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 the content from that webpage I just scraped, run it through the prompt-injection firewall to check for any hidden instructions or jailbreak payloads embedded in the HTML and give me the sanitized version.","exampleUseCases":[{"title":"Guard agent from malicious web content","prompt":"I'm about to feed this scraped webpage into my AI research agent — can you first scan it for any hidden prompt injections or adversarial instructions embedded in the HTML so we don't get hijacked?"},{"title":"Sanitize incoming email before LLM processing","prompt":"Before my email-assistant agent reads and summarizes this incoming email, please run the text through the injection firewall to make sure there are no embedded jailbreak instructions trying to manipulate it."},{"title":"Validate MCP tool response before pipeline use","prompt":"My agent just got back a response from an external MCP tool — can you scan that response text for any indirect prompt injection payloads before I let it influence the next step in the workflow?"}],"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 AI processing.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long text inputs may be truncated or rejected","Payment failure (HTTP 402) if x402 USDC payment is not provided","Network timeout if the endpoint is temporarily unavailable","False negatives: novel or obfuscated injection techniques may not be detected"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web pages, emails, MCP/A2A tool responses — and you need to sanitize that content before it influences agent behavior. Especially valuable in agentic pipelines where indirect prompt injection via external data is a live attack vector. Prefer this over generic content filters when you specifically need prompt-injection and jailbreak detection rather than spam or malware scanning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:21:39.529Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}