{"uid":"cap_q08nzE5Wa9nKBicxHNyAP","slug":"arxiv-digest-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aaa9d5","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://arxiv-digest.agentdiet.dev/v1/injection-firewall)","url":"https://arxiv-digest.agentdiet.dev/v1/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_LfdP1nOzOhocrrjs9QDa2","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"arxiv-digest.agentdiet.dev","brandSlug":"arxiv-digest-agentdiet-dev-mpp","brandBaseUrl":"https://arxiv-digest.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, scan it for any hidden prompt injections or jailbreak payloads and give me the sanitized version: [paste untrusted HTML or text here].","exampleUseCases":[{"title":"Sanitize scraped web content for agent pipeline","prompt":"I'm about to feed this scraped webpage into my AI agent — can you first check it for any hidden prompt injection instructions and return only the safe, cleaned text?"},{"title":"Filter untrusted email before LLM summarization","prompt":"This email was forwarded from an unknown sender and I need to summarize it with my AI assistant — please scan it first to make sure it doesn't contain any jailbreak or prompt injection tricks."},{"title":"Validate MCP tool response before downstream use","prompt":"My agent just got back a response from an external MCP tool. Before I pass it on to the next step in my workflow, scan it for hidden adversarial instructions or prompt injection payloads."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, allowing safe downstream processing by AI agents or LLMs.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may be rejected or truncated","Payment required errors (HTTP 402) if USDC balance is insufficient","Novel or obfuscated injection techniques may not be detected","Non-English injection attempts may have reduced detection accuracy","Network timeouts for very large HTML documents"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web scraping, emails, user submissions, third-party MCP/A2A tool responses — and you need a dedicated firewall step before that content reaches your LLM. It is especially valuable in multi-agent workflows where one agent's output becomes another agent's instruction, creating indirect injection risk. Prefer this over ad-hoc prompt engineering defenses when you need consistent, auditable sanitization at $0.005 per call with idempotency support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:42:43.998Z","isFirstParty":false,"canonicalSlug":"arxiv-digest-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-63370fac"}