{"uid":"cap_rc83RxWatNHfeHG_pdbZa","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-4ba525e8","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":"POST","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_gIaFM7I7q27mapLkcBxW1","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 that web page I just fetched, run its raw HTML through the prompt firewall first to strip out any hidden injection instructions — I don't want adversarial content hijacking your behavior.","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipelines","prompt":"I'm about to feed you the raw HTML from a competitor's pricing page — can you first scan it through the prompt injection firewall to make sure there are no hidden instructions embedded in it before you extract the pricing data?"},{"title":"Screening inbound emails for jailbreak payloads","prompt":"Before my agent processes this customer support email, run the full email body through the prompt firewall to check whether it contains any jailbreak or prompt injection attempts hiding in the text."},{"title":"Validating MCP tool responses before execution","prompt":"The MCP tool just returned a response with some suspicious-looking instructions in the output — please scan that response through the A2A prompt injection firewall and give me the sanitized version before we act on it."}],"resultDescription":"Returns a sanitized version of the input text with detected prompt injection or jailbreak payloads flagged or removed, allowing the agent to safely process external content without risk of instruction hijacking.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Very large payloads may exceed input limits or incur higher latency","Highly obfuscated or novel injection techniques may not be detected","Payment failure via x402 results in 402 response blocking the scan","Network timeouts for unusually large HTML documents"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests untrusted external content — scraped web pages, user emails, third-party API responses, MCP tool outputs, or A2A messages — and needs a dedicated security layer to detect and neutralize prompt injection or jailbreak payloads before the content influences agent behavior. Prefer this over manual filtering when the injection vectors are subtle, HTML-embedded, or whitespace-encoded.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:42:14.885Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}