{"uid":"cap_LoCKTAhtjHkvDXPxUe4yZ","slug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-991b6620","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://github-audit.agentdiet.dev/v1/mcp-injection-firewall)","url":"https://github-audit.agentdiet.dev/v1/mcp-injection-firewall?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_hBYmlo5n_NLcu1XoCYQTe","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"github-audit.agentdiet.dev","brandSlug":"github-audit-agentdiet-dev-mpp","brandBaseUrl":"https://github-audit.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 adversarial instructions or jailbreak payloads and give me the sanitized version: [paste raw HTML or text here].","exampleUseCases":[{"title":"Sanitize scraped web content for agent pipelines","prompt":"I'm about to feed this webpage's raw HTML to my agent — can you first scan it for any hidden prompt injections or jailbreak instructions and return only the clean, safe text?"},{"title":"Screen inbound emails for adversarial payloads","prompt":"Check this email body for embedded prompt injection attacks before my AI assistant reads and acts on it — I want to make sure there are no hidden instructions trying to hijack my agent."},{"title":"Validate MCP tool response before agent consumption","prompt":"My agent just got a response back from an external MCP tool — can you run it through the injection firewall to make sure there are no adversarial instructions hidden in the payload before I pass it along to the next step?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with detected prompt injection or jailbreak content removed or flagged, along with metadata about what threats were found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Payment not provided or insufficient results in HTTP 402 response requiring x402 payment","Extremely large payloads may time out or be rejected","Ambiguous or benign-looking injections may be missed with no false-positive signal","Network errors or service unavailability return 5xx responses"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — scraped web pages, user emails, third-party MCP/A2A tool responses, or any text that could carry adversarial hidden instructions. It is especially valuable in autonomous agent workflows where indirect prompt injection is a real attack vector and you need a firewall layer before content reaches your LLM's context window.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:42:52.492Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-0d76783c"}