{"uid":"cap_1oia7CjfaSuVhaviy_zEj","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-a32683e8","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/injection-guard)","url":"https://mcp-security.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_7EydIHgW0rS-DnS-ghwVD","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 my agent processes this scraped web page content, scan it for any hidden prompt injection or jailbreak instructions and give me the sanitized version: '<html>...page content here...</html>'","exampleUseCases":[{"title":"Guard agent from malicious web scrape","prompt":"I just scraped this page to feed into my research agent — can you check it for any hidden prompt injections or adversarial instructions before I pass it along? Here's the raw HTML."},{"title":"Screen inbound emails for jailbreak payloads","prompt":"My AI assistant reads customer emails and responds automatically. Can you scan this incoming email body for any hidden prompt injection attacks or jailbreak attempts before my agent processes it?"},{"title":"Validate MCP tool response before ingestion","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it doesn't contain any embedded prompt hijacking instructions — can you run it through the injection firewall and return the safe version?"}],"resultDescription":"Returns a JSON object containing the threat assessment of the input text, indicating whether prompt injection or jailbreak content was detected, along with a sanitized version of the text with malicious instructions removed or neutralized.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may exceed size limits and return a 413 error","Ambiguous or borderline content may produce false positives, flagging legitimate instructions","Highly obfuscated injections using novel encoding techniques may evade detection","Network timeouts or service unavailability return 5xx errors","Payment failure via x402 returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests content from untrusted external sources — scraped web pages, user-submitted emails, third-party API responses, or A2A/MCP tool outputs — and you need to sanitize that content before passing it to an LLM. Prefer this over manual regex filtering when you need semantic-level detection of adversarial prompt patterns, not just keyword blocking. Especially valuable in autonomous agent workflows where a compromised tool response could hijack the entire agent's behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:40:55.953Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}