{"uid":"cap_9wsNp5xEoPVKQgXevgJaI","slug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-bf853694","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://agentdiet.dev/v1/prompt-injection-shield)","url":"https://agentdiet.dev/v1/prompt-injection-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_AX2a6291X_gnqVNYE2vek","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agentdiet.dev","brandSlug":"agentdiet-dev-mpp","brandBaseUrl":"https://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 scraped webpage content, run it through the prompt-injection firewall to check for any hidden instructions or jailbreak payloads embedded in the HTML — here's the raw text: [paste content].","exampleUseCases":[{"title":"Agent pipeline web-scrape safety check","prompt":"I scraped this webpage to feed into my agent pipeline — can you run it through the prompt-injection firewall first to make sure there are no hidden instructions trying to hijack my agent? Here's the HTML content."},{"title":"Incoming email jailbreak screening","prompt":"Before my AI assistant processes this customer email, scan it for any embedded prompt injection or jailbreak attempts — here's the full email body text."},{"title":"MCP tool response sanitization","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it's safe before the agent acts on it — can you run this payload through the prompt-injection shield and return the sanitized version?"}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected in the input text, along with a sanitized version of the text safe for downstream agent consumption.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely large payloads may exceed length limits or timeout","Obfuscated or novel injection techniques may evade detection","Non-textual binary content cannot be meaningfully scanned","Rate limiting or payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web pages, emails, MCP tool responses, or A2A payloads — and you need a dedicated, automated firewall step before that content reaches your LLM. Prefer this over manual prompt hardening when operating at scale or when processing content from adversarial or unknown sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:54.923Z","isFirstParty":false,"canonicalSlug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-fbd96f9b"}