{"uid":"cap_by1TtwuEBvvi_lAX5EGCP","slug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-32c14490","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-security)","url":"https://github-audit.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_B3H1IYxUPkl_sUPLvqDyn","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 text.","exampleAgentPrompt":"Before you process this scraped webpage content, run it through the prompt-injection firewall to check for any hidden instructions or jailbreak payloads — here's the raw HTML: '<html>...untrusted content...</html>'.","exampleUseCases":[{"title":"Sanitizing scraped web content for agents","prompt":"I just scraped this webpage to feed into my research agent, but I'm worried it might contain hidden prompt injection instructions — can you scan it for any embedded jailbreak attempts and give me the safe version?"},{"title":"Screening incoming emails before agent processing","prompt":"My email-processing agent is about to read this inbound message from an unknown sender — before it acts on the content, can you check this email body for any hidden prompt injections or jailbreak payloads?"},{"title":"Validating MCP tool response before execution","prompt":"My agent just got back this MCP tool response from an external server and I need to make sure it hasn't been tampered with — please scan it for any indirect prompt injection or hidden instructions before I let the agent continue."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, along with detection signals indicating whether malicious instructions were found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may be rejected or time out","Payment failure via x402 returns 402 with payment details required","Ambiguous or obfuscated injections may not be detected (false negatives)","Non-UTF8 or binary content may cause parsing errors"],"whenToPreferThis":"Choose this endpoint when your AI agent ingests content from untrusted external sources — scraped web pages, inbound emails, third-party API responses, MCP tool outputs, or A2A messages — and you need a dedicated firewall layer to detect and strip hidden prompt injection or jailbreak instructions before they reach your agent's context window. Prefer this over general-purpose content filters when the threat model is specifically adversarial LLM manipulation rather than generic spam or malware.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:35:17.392Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-0d76783c"}