{"uid":"cap_OYUpwep9u-pbsCNfBNrCZ","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-d7d2ab6c","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-shield)","url":"https://onchain-risk.agentdiet.dev/v1/prompt-shield?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_zx9Haq-tBr4AGL9kgPRsC","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 attacks and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process this scraped web page content, can you run it through the prompt-injection firewall to check for any hidden instructions or jailbreak payloads and give me back the sanitized version?","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipelines","prompt":"I'm building an agent that reads web pages and summarizes them — before passing any scraped HTML to the LLM, scan it for hidden prompt injections and return the clean version so the agent isn't hijacked."},{"title":"Screening inbound emails for embedded jailbreaks","prompt":"My AI email assistant processes incoming messages automatically — can you scan this email body for any hidden prompt injection attempts or jailbreak instructions before my agent acts on it?"},{"title":"Validating MCP tool responses before agent execution","prompt":"My agent just got back a tool response from an external MCP server I don't fully trust — please run this response payload through the prompt-injection firewall and tell me if there's anything malicious hidden in it."}],"resultDescription":"Returns a sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or neutralized, along with metadata indicating whether threats were found and what was cleaned.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may be rejected or truncated","HTTP 402 returned if payment is missing or insufficient (requires x402 USDC payment of $0.005)","Malformed JSON body returns parsing error","Service may time out on very large HTML documents"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests content from untrusted external sources — scraped web pages, inbound emails, third-party MCP/A2A tool responses — and you need to firewall that content before passing it to an LLM. Prefer this over ad-hoc string filtering when you need systematic detection of indirect prompt injections and jailbreak patterns specifically designed to subvert AI agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:48:21.768Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}