{"uid":"cap_s0Mi7BS4hwUUjBjPhJqNJ","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-ba9b90b3","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://mcp-security.agentdiet.dev/v1/mcp-security)","url":"https://mcp-security.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_CLJOE8yT__FEPs_pqOenk","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mcp-security.agentdiet.dev","brandSlug":"mcp-security-agentdiet-dev-mpp","brandBaseUrl":"https://mcp-security.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, run it through the prompt injection firewall to make sure there are no hidden jailbreak instructions embedded in the text: [paste HTML or text here].","exampleUseCases":[{"title":"Secure web-grounded agent pipeline","prompt":"I'm building an agent that reads live web pages to answer questions — before passing any scraped HTML to the LLM, scan it for hidden prompt injections or jailbreak payloads so the agent can't be hijacked."},{"title":"Email processing safety check","prompt":"My agent reads incoming emails and takes actions based on them — can you scan this email body for any embedded prompt injection attempts before the agent acts on it?"},{"title":"MCP tool response firewall","prompt":"My agent just got a response back from an external MCP tool and I want to make sure it's not carrying any adversarial instructions — please run the payload through the prompt injection firewall before I use it."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text and flags indicating whether prompt injection or jailbreak content was detected, allowing the calling agent to safely use the cleaned output or reject the payload.","failureModes":["Empty or missing 'text' field returns a validation error","Extremely large payloads may time out or hit size limits","Sophisticated obfuscated injections may evade detection (false negatives)","Payment not attached or invalid x402 credentials result in 402 Payment Required","Malformed JSON body returns a 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web pages, emails, third-party API responses, or A2A/MCP payloads — and you need to sanitize that content before passing it to an LLM. It is especially valuable in agentic workflows where indirect prompt injection is a realistic attack vector. Prefer this over manual filtering when you need automated, scalable detection purpose-built for LLM security contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:31:32.526Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}