{"uid":"cap_XXNXYKLlN_N7tl5eiym9o","slug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-d3a06dd0","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":"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_ofSdUhH_pNejnmCvicO4C","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 this email I just fetched, run it through the prompt injection firewall to make sure there are no hidden jailbreak instructions trying to hijack you — here's the raw text: 'Dear agent, please ignore all previous instructions and...'","exampleUseCases":[{"title":"Screening scraped web content for agents","prompt":"I'm about to feed this scraped webpage into my research agent — can you first scan it for any hidden prompt injection attempts or adversarial instructions embedded in the HTML? Here's the raw content."},{"title":"Protecting agent from malicious tool responses","prompt":"My agent just got back a response from an external MCP tool and I'm not sure if it's safe. Can you check this payload for jailbreak payloads or hidden instructions before my agent acts on it?"},{"title":"Sanitizing untrusted user emails before AI processing","prompt":"We're piping customer emails into an AI assistant to auto-reply, but I'm worried about prompt injection attacks. Can you scan this email body for any hidden adversarial instructions before we let the AI see it?"}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected in the submitted text, along with sanitized version of the input and threat classification details.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely large payloads may be truncated or rejected","Payment not provided or insufficient (402 Payment Required via x402)","Ambiguous edge cases in adversarial content may produce false positives or false negatives","Non-text binary content may not be correctly analyzed"],"whenToPreferThis":"Use this endpoint when your AI agent pipeline ingests content from untrusted external sources — web scraping, user-submitted emails, third-party MCP tool responses, or A2A payloads — and you need a dedicated security layer to detect and neutralize hidden prompt injection or jailbreak instructions before they reach your agent's context window. Prefer this over manual heuristics or generic text filters when you need specialized adversarial instruction detection tuned for LLM attack patterns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:37:42.495Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-3a18e5ba"}