{"uid":"cap_PkGCF8krLGGJhz_b7MSW3","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-10fb12e6","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://mesh.agentdiet.dev/v1/prompt-shield)","url":"https://mesh.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_fB_Uo7bPH3l-A4o8n_ant","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mesh.agentdiet.dev","brandSlug":"mesh-agentdiet-dev-mpp","brandBaseUrl":"https://mesh.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, web pages, emails, MCP responses, or A2A payloads for hidden prompt-injection and jailbreak attacks, returning sanitized content.","exampleAgentPrompt":"Before passing this scraped webpage content to the next step in the pipeline, run it through the prompt-shield firewall to detect and strip any hidden prompt injection or jailbreak instructions: [paste untrusted text here].","exampleUseCases":[{"title":"Sanitizing scraped web content for agents","prompt":"I'm building an agent that reads arbitrary web pages and summarizes them — can you scan this raw HTML through the prompt-injection firewall before the summarizer sees it? Here's the page content: [HTML]."},{"title":"Screening inbound emails for jailbreak payloads","prompt":"Before my email-processing agent acts on this inbound message, run it through the prompt-shield scanner to make sure there are no hidden instructions embedded in it: [email body text]."},{"title":"Validating MCP tool responses before use","prompt":"My agent just got this response back from an external MCP tool — can you check it for embedded prompt-injection attacks before I use the output to drive the next action? Here's the payload: [MCP response]."}],"resultDescription":"Returns a JSON object indicating whether the input text contained prompt-injection or jailbreak payloads, along with a sanitized version of the text safe for downstream LLM or agent consumption.","failureModes":["Empty or whitespace-only 'text' field triggers a 422 validation error","Extremely long inputs may hit payload size limits","Payment not attached or insufficient funds returns HTTP 402","Ambiguous or highly obfuscated injections may not be detected with full confidence","Network timeout on large HTML documents"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests any untrusted external content — scraped web pages, inbound emails, third-party API responses, or MCP/A2A tool outputs — and you need a lightweight, pay-per-call firewall check before that content influences LLM behavior. Prefer it over rolling your own regex heuristics or relying on the LLM itself to resist injection, especially in autonomous multi-agent workflows where a single compromised payload could hijack the entire chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:32:24.450Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}