{"uid":"cap_oiCadXqSeOvT8BXOFRFlw","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-e3eac922","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/mcp-security)","url":"https://mesh.agentdiet.dev/v1/mcp-security?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_w_jeYSVJZaE0gN7h90dou","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 summarize that web page 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":"Screening scraped web pages for agent pipelines","prompt":"I'm about to feed this scraped article into my research agent — can you scan it for any hidden prompt injections or jailbreak payloads first and give me the sanitized version?"},{"title":"Protecting email-driven automation from injection","prompt":"My agent reads customer emails and routes them automatically — before it processes this incoming message, check it for any embedded prompt injection attempts so it can't be manipulated."},{"title":"Validating MCP tool responses before chaining","prompt":"This is the raw response I got back from an external MCP tool — scan it for any hidden instructions or jailbreak content before I pass it along to the next step in my agent workflow."}],"resultDescription":"Returns an object indicating whether prompt injection or jailbreak content was detected in the submitted text, along with sanitized/cleaned text with malicious instructions removed, allowing the agent to safely process the content downstream.","failureModes":["Empty or missing 'text' field returns a validation error","Extremely large payloads may be rejected or truncated","Payment failure (HTTP 402) if x402 USDC micropayment is not provided or fails","False negatives are possible — novel or highly obfuscated injections may not be detected","Network timeout on long HTML documents","Non-idempotent retry behavior if Idempotency-Key header is omitted across retries"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web pages, emails, third-party API responses, MCP tool outputs, or A2A payloads — and you need a dedicated security layer to detect and strip hidden prompt injection or jailbreak instructions before they reach your LLM. Prefer this over generic content filters when you specifically need protection against adversarial AI-targeting attacks rather than spam or inappropriate content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:37:39.408Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}