{"uid":"cap_StL0KpoWiJM4typU4X1xh","slug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-c84f83ba","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/workflows/rag-context-sanitizer)","url":"https://github-audit.agentdiet.dev/v1/workflows/rag-context-sanitizer?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_xLauPRG5TvEknqNm4DseE","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 use that webpage content as context, run it through the prompt injection firewall to check if there are any hidden jailbreak instructions embedded in it — here's the raw text: [paste text].","exampleUseCases":[{"title":"RAG pipeline safety gate","prompt":"I'm building a RAG agent that pulls content from random websites. Before passing that scraped HTML to the LLM, scan it for any hidden prompt injections or jailbreak payloads and give me back the sanitized version."},{"title":"Email-triggered agent protection","prompt":"My agent processes incoming emails and acts on them automatically. Can you run this email body through the prompt injection firewall before my agent reads it? I want to make sure it doesn't contain any embedded instructions trying to hijack my agent."},{"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 acting on it — can you scan the payload for any hidden prompt injection or jailbreak content and return the cleaned text?"}],"resultDescription":"Returns a sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or neutralized, along with detection metadata indicating what was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may be rejected or time out","False negatives are possible for novel or highly obfuscated injection techniques","Payment failure (402) if x402 micropayment is not resolved","Upstream service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web scrapes, emails, MCP tool responses, or A2A messages — and you need to sanitize it before passing it to an LLM. It is purpose-built for agentic security use cases where indirect prompt injection is the threat model, making it more appropriate than generic content filters or moderation APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:36:57.569Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-0d76783c"}