{"uid":"cap_ZG7_JOP_nhO4MDduos6Fg","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-064d3ef5","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/tool-poisoning-shield)","url":"https://mesh.agentdiet.dev/v1/tool-poisoning-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_WrpIgSa_8ZoY_LpoWVRgX","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, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized text.","exampleAgentPrompt":"Before you process that scraped webpage content, run it through the prompt-injection firewall first — I want to make sure there aren't any hidden instructions trying to hijack you embedded in the HTML.","exampleUseCases":[{"title":"Sanitizing scraped web content for agents","prompt":"I'm building an agent that reads news articles from the web — before passing each article's HTML to the LLM, scan it for any hidden prompt injection payloads so my agent doesn't get hijacked."},{"title":"Validating incoming A2A tool responses","prompt":"My orchestrator agent is receiving responses from external A2A tools I don't fully trust — can you run this tool response payload through the injection firewall and give me the sanitized version before I act on it?"},{"title":"Email phishing and jailbreak protection","prompt":"This email came from an unknown sender and my agent is about to summarize it — first scan the full email body for any embedded jailbreak instructions or prompt injection attempts hidden in the text."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt-injection or jailbreak payloads removed or neutralized, along with threat detection metadata indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns a validation error","Extremely large payloads may time out or be rejected","Highly obfuscated injections using novel encoding may evade detection","Non-text binary content may not be processable","Payment failure (402) if x402 USDC micropayment is not completed"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to process content from untrusted external sources — scraped web pages, third-party API responses, MCP tool outputs, A2A payloads, or user-submitted emails — and you want to prevent indirect prompt injection or jailbreak attacks before that content reaches your LLM. Especially valuable in multi-agent pipelines where one compromised tool could cascade malicious instructions through the entire agent swarm.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:35:43.706Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}