{"uid":"cap_tHsCEMD-wLfwNVP8ygPcc","slug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-97be2547","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/injection-guard)","url":"https://github-audit.agentdiet.dev/v1/injection-guard?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_Zuiyxq6nxPY0z2ug8iCQg","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 my agent processes this scraped webpage response, scan it for any hidden prompt injection or jailbreak instructions embedded in the text and give me the sanitized version: [paste untrusted content here].","exampleUseCases":[{"title":"Protecting agent from malicious website","prompt":"I just had my agent fetch and summarize a random blog post, but I want to make sure the page isn't trying to hijack it with hidden instructions — can you run the HTML through the injection firewall and give me the clean version?"},{"title":"Screening incoming emails for injection attacks","prompt":"Before my AI assistant reads and responds to this inbound email, scan its body for any embedded prompt injection or jailbreak payloads and return the sanitized text so it's safe to process."},{"title":"Validating MCP tool output before agent acts","prompt":"My agent just got back a response from an external MCP tool and I need to make sure it doesn't contain hidden prompt injections trying to override my agent's behavior — please run it through the injection guard and show me what came back clean."}],"resultDescription":"Returns an object containing the sanitized version of the input text with prompt injection and jailbreak payloads removed or flagged, enabling the calling agent to safely consume the content without risk of indirect prompt injection attacks.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long payloads may time out or be truncated","Payment required (HTTP 402) if x402 micropayment header is not included","False negatives possible if injection is sufficiently obfuscated or novel","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline consumes untrusted external content — scraped web pages, inbound emails, third-party tool responses, or A2A messages — and you need to sanitize that content before passing it to an LLM. It is especially valuable in agentic multi-step workflows where indirect prompt injection via web or tool content poses a real security risk. Prefer this over generic content filters when you specifically need to detect prompt injection and jailbreak patterns rather than toxic language or spam.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:40:41.223Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-0d76783c"}