{"uid":"cap_BQXn-2rmSLfmR-Yf5xQPE","slug":"llms-generator-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-4e93c8e3","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://llms-generator.agentdiet.dev/v1/mcp-injection-firewall)","url":"https://llms-generator.agentdiet.dev/v1/mcp-injection-firewall?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_NOmN334GQjF7orBIB48qy","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"llms-generator.agentdiet.dev","brandSlug":"llms-generator-agentdiet-dev-mpp","brandBaseUrl":"https://llms-generator.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injection and jailbreak attacks, returning sanitized output","exampleAgentPrompt":"Before you process this scraped webpage content, run it through the prompt-injection firewall to check for hidden jailbreak instructions and give me the sanitized version: [paste content here]","exampleUseCases":[{"title":"Safe web scraping for agent pipelines","prompt":"I just scraped this webpage to feed into my AI agent — can you scan it for any hidden prompt injections or adversarial instructions and return the cleaned text so it's safe to use?"},{"title":"Filtering untrusted email before LLM processing","prompt":"My agent is about to summarize this inbound email from an unknown sender — can you check it for embedded jailbreak attempts or prompt injection tricks before passing it through?"},{"title":"Validating MCP tool response safety","prompt":"I got this response back from a third-party MCP tool and I want to make sure it doesn't contain any hidden instructions trying to hijack my agent — can you run it through the injection firewall?"}],"resultDescription":"Returns an object containing the scan result for the submitted text, including whether prompt injection or jailbreak payloads were detected and a sanitized version of the input text safe for downstream LLM or agent consumption.","failureModes":["Missing or empty 'text' parameter returns a validation error","Extremely long text inputs may be truncated or rejected","Obfuscated or encoded injections may evade detection","Generic 500 error if the upstream firewall service is unavailable","Payment required (HTTP 402) if x402 USDC micropayment is not included"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to process content from untrusted external sources — scraped web pages, third-party MCP tool responses, user-submitted text, A2A agent payloads, or inbound emails — and you need to sanitize them before passing to an LLM. Especially valuable in agentic pipelines where indirect prompt injection is a real attack surface. Prefer this over general content moderation APIs when the specific threat model is adversarial LLM instruction injection rather than toxicity or spam.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:15.273Z","isFirstParty":false,"canonicalSlug":"llms-generator-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-2f72a7cf"}