{"uid":"cap_Lj-zLfseQpjaNmPO7Xo3n","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba","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-guard)","url":"https://mesh.agentdiet.dev/v1/prompt-guard?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_YxYl5g8gN319McG46Aiad","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, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized content.","exampleAgentPrompt":"Before processing that scraped web page, run it through the prompt injection firewall and give me the sanitized version — I don't want any hidden jailbreak instructions slipping into our pipeline.","exampleUseCases":[{"title":"Sanitize scraped web content for agent pipeline","prompt":"I'm about to feed this scraped HTML from an external site into my agent — can you scan it for any hidden prompt injections or jailbreak payloads first and return the clean version?"},{"title":"Validate MCP tool response before agent use","prompt":"My agent just got back a response from an MCP tool I don't fully trust. Can you run that response through the prompt injection firewall before I let the agent act on it?"},{"title":"Screen user-submitted email for adversarial instructions","prompt":"A user forwarded us this email and my agent is going to summarize it — but first, scan the email body for any hidden prompt injection instructions that could hijack the agent's behavior."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, allowing the agent to safely process the cleaned content.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long inputs may be truncated or time out","Obfuscated or novel injection techniques may evade detection","Payment failure via x402 returns 402 Payment Required","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent is about to process content from untrusted external sources — scraped web pages, user-submitted emails, third-party MCP tool responses, or A2A payloads — and you need to detect and neutralize hidden prompt injection or jailbreak instructions before they can influence agent behavior. Particularly valuable in multi-agent pipelines where one compromised tool output could cascade to other agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:52.008Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}