{"uid":"cap_3rAFaT1SiKlzX27S9893X","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-7614960c","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/llm-guard)","url":"https://mcp-security.agentdiet.dev/v1/llm-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_9eZ-wzW8rqMGGgnPIZ-o4","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-injection and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that web page I just fetched, scan its raw HTML for hidden prompt-injection or jailbreak payloads and give me the sanitized version: '<html>... [raw content] ...</html>'.","exampleUseCases":[{"title":"Safe email processing for AI agent","prompt":"I'm building an agent that reads customer emails — before passing each email body to my LLM, scan it for any hidden prompt-injection instructions and return the sanitized text so my agent can't be hijacked."},{"title":"Sanitizing scraped web content","prompt":"I just scraped this product page and want to summarize it, but first scan the raw HTML for any embedded adversarial instructions or jailbreak attempts before I feed it to the model: '<div class=\"product\">...</div>'."},{"title":"Validating third-party MCP tool response","prompt":"My agent just got back a response from an external MCP tool — check this payload for any hidden prompt injections or jailbreak content before I let my agent act on it: '{\"result\": \"...\"}'."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt-injection or jailbreak payloads flagged and/or removed, along with detection signals indicating whether malicious instructions were found.","failureModes":["Empty or missing 'text' field returns a validation error","Extremely long payloads may be truncated or rejected","Network timeout if the scanning service is temporarily unavailable","Payment required (HTTP 402) if x402 micropayment is not included or fails","False negatives possible for novel or highly obfuscated injection techniques","Malformed JSON in request body returns a 400 error"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline processes untrusted external content — web pages, emails, tool responses, or A2A payloads — before passing them to an LLM, and you need a dedicated firewall layer specifically tuned to detect indirect prompt-injection and jailbreak patterns rather than general content moderation. Prefer this over generic content filters when the threat model is adversarial LLM manipulation rather than spam or NSFW content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:36:18.173Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}