{"uid":"cap_PtkBqzx2fFqrHnSSGVLG4","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-f3eae555","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":"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_v3PjC68AeLe2rHVXp8GI8","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 attacks, returning sanitized output.","exampleAgentPrompt":"Before you summarize that webpage I just fetched, run the raw HTML through the prompt-injection firewall and give me the sanitized version — I don't want any hidden instructions sneaking into your context.","exampleUseCases":[{"title":"Sanitize scraped web content before summarization","prompt":"I just scraped this article from an external site to feed into my research agent — can you scan the raw text for any hidden prompt injections or jailbreak payloads and give me the clean version before we proceed?"},{"title":"Guard agent pipeline from malicious emails","prompt":"This email came in from an unknown sender and I'm about to pass its body to my AI assistant for processing — please check it for indirect prompt injection or jailbreak attempts first so nothing malicious gets executed."},{"title":"Validate MCP tool response before use","prompt":"My MCP tool just returned this payload from an external API — before I let my agent act on it, scan it for any embedded adversarial instructions or hidden prompt injections that could hijack my workflow."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with hidden prompt injection attempts and jailbreak payloads removed or flagged, along with detection metadata indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may time out or be truncated","Sophisticated obfuscated injections may evade detection (false negatives)","Service downtime or x402 payment failure returns 402 or 5xx errors","Non-text binary content may not be properly parsed or sanitized"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — scraped web pages, user emails, third-party API responses, MCP tool outputs, or A2A payloads — and you need to sanitize that content before passing it to an LLM to prevent indirect prompt injection or jailbreak attacks hijacking your agent's behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:36:31.527Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}