{"uid":"cap_IQZVaQyBlgYB_gg5xu_zT","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-5b693ce3","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":"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_v_L3P0r9PNEEbbmfYN6EX","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 output.","exampleAgentPrompt":"Before you process that scraped article, scan its raw text for hidden prompt injections or jailbreak payloads and give me the sanitized version I can safely pass to the next step.","exampleUseCases":[{"title":"Safe web content ingestion for agent","prompt":"I'm about to feed this scraped webpage into my research agent — can you first check the raw HTML for any hidden prompt injection instructions or jailbreak attempts and return only the clean text?"},{"title":"Email phishing and injection screening","prompt":"I received this email and I want my agent to summarize it, but first scan the full body text for any embedded jailbreak or indirect prompt injection payloads before it touches the model."},{"title":"MCP tool response sanitization","prompt":"My agent just got back a response from an external MCP tool — run it through the prompt-injection firewall to make sure there are no adversarial instructions hiding in the payload before I pass it downstream."}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected in the input, along with sanitized text that has been stripped of adversarial instructions, making it safe to pass to downstream LLM pipelines or agents.","failureModes":["Empty or missing 'text' field returns a validation error","Extremely long payloads may be truncated or rejected","False negatives are possible for novel or obfuscated injection techniques","Payment failure via x402 returns HTTP 402 before scanning begins","Ambiguous edge cases may not be flagged with high confidence"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests untrusted external content — scraped web pages, emails, third-party API responses, MCP tool outputs, or A2A payloads — and you need a dedicated security layer to detect and strip prompt injections or jailbreak attempts before that content reaches your LLM. Prefer it over manual filtering when you need automated, scalable protection across many agent invocations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:40:01.956Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}