{"uid":"cap_yCNzJ2SPdKW2MyAJMsTM8","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa","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/prompt-guard)","url":"https://mcp-security.agentdiet.dev/v1/prompt-guard?utm_source=zero.xyz","method":"GET","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_CwSfDLy4X-Z0UVLon_ZYY","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 that scraped web page, run the raw HTML through the prompt-guard firewall to check for hidden prompt injections or jailbreak payloads and give me the sanitized version.","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipelines","prompt":"I'm building an agent that reads news articles — before it processes each page, scan the raw HTML for any hidden prompt injection instructions embedded by the site and give me the cleaned text."},{"title":"Screening inbound emails for adversarial instructions","prompt":"Check this email body for hidden jailbreak payloads or prompt injection attempts before my AI assistant reads and acts on it."},{"title":"Validating third-party MCP tool responses","prompt":"My agent just got a response back from an external MCP tool — can you run it through the prompt injection firewall to make sure there are no adversarial instructions hidden in the output before I pass it to the next step?"}],"resultDescription":"Returns a structured object indicating whether prompt injection or jailbreak content was detected, along with sanitized text with malicious instructions removed or flagged, allowing the calling agent to safely continue processing.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long payloads may be truncated or rejected","False negatives possible on novel or highly obfuscated injection techniques","Payment required error (402) if x402 USDC payment not included","Non-text binary content may not be parseable"],"whenToPreferThis":"Choose this endpoint when your AI agent ingests content from untrusted external sources — web scraping, email processing, third-party MCP/A2A tool responses, or user-submitted input — and you need a dedicated firewall layer to detect and strip hidden prompt injections before they can hijack your agent's behavior. Prefer this over generic text filters when you specifically need adversarial LLM instruction detection (not just spam or malware scanning).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:48:54.822Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}