{"uid":"cap_pgvDtmHU_6M7pSMlnNOjA","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-98a0e6d2","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/prompt-firewall)","url":"https://onchain-risk.agentdiet.dev/v1/prompt-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_A7Bj0tSS_oAIGwOT4iRYi","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 injection and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that scraped webpage, can you run it through the prompt injection firewall to check for any hidden jailbreak instructions or adversarial text embedded in the content?","exampleUseCases":[{"title":"Screening scraped web content for agents","prompt":"I'm about to feed this scraped article into my research agent — can you scan it for hidden prompt injections first so it doesn't get hijacked?"},{"title":"Sanitizing email before AI processing","prompt":"Before my email assistant reads and summarizes this incoming message, check it for any embedded prompt injection or jailbreak attempts hiding in the text."},{"title":"Validating MCP tool response safety","prompt":"My agent just got a response back from an external MCP tool — can you run it through the prompt firewall to make sure there are no adversarial instructions buried in it before we act on it?"}],"resultDescription":"Returns a structured object indicating whether prompt injection or jailbreak content was detected in the input text, along with a sanitized version of the text safe for downstream LLM or agent consumption.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely large payloads may time out or be truncated","Novel or obfuscated injection techniques may evade detection","Non-text binary content may not be properly analyzed","Payment failure via x402 results in HTTP 402 before scan is performed"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests text from untrusted external sources — scraped web pages, user submissions, third-party API responses, emails, or MCP/A2A tool outputs — and you need to guard against indirect prompt injection attacks before that content reaches your LLM. Especially valuable in agentic workflows where compromised tool outputs could redirect agent behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:51:32.876Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}