{"uid":"cap_oGNBHPU_xfMRhCUx7dkhl","slug":"arxiv-digest-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-a9feeeca","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/mcp-security)","url":"https://arxiv-digest.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_wRPX7NBrUhUQGWgiGS7RV","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 injection and jailbreak attacks, returning sanitized output.","exampleAgentPrompt":"Before you process this scraped webpage content, run it through the prompt-injection firewall to check for any hidden jailbreak instructions or adversarial payloads — here's the raw text: [paste content].","exampleUseCases":[{"title":"Securing web-scraped agent inputs","prompt":"I just scraped this HTML from an external site and I want my agent to summarize it, but first scan it for any hidden prompt injections or jailbreak instructions that might hijack the model: [raw HTML here]."},{"title":"Protecting agent from malicious emails","prompt":"Before my AI assistant processes this email to extract action items, run the body through the prompt-injection firewall — I'm worried it might contain adversarial instructions embedded in the text: [email body here]."},{"title":"Validating MCP tool response safety","prompt":"My agent just received this response from an external MCP tool — can you scan it for indirect prompt injection or jailbreak payloads before we let the agent act on it? Here's the payload: [tool response here]."}],"resultDescription":"Returns a structured 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 adversarial content was found.","failureModes":["Empty or missing 'text' field returns a validation error","Extremely large payloads may exceed processing limits or time out","Obfuscated or novel injection techniques may evade detection","Non-text binary content may not be correctly processed","Payment failure (HTTP 402) if USDC balance is insufficient for the $0.005 per-call fee"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline consumes content from untrusted external sources — web pages, emails, third-party APIs, MCP servers, or A2A tool responses — and you need to sanitize inputs before passing them to an LLM to prevent prompt hijacking or jailbreak attacks. Particularly valuable in autonomous agent workflows where the agent cannot manually review every external input before acting on it.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:45:59.595Z","isFirstParty":false,"canonicalSlug":"arxiv-digest-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-63370fac"}