{"uid":"cap_QTb3p7odps-hpMZlQn7Fs","slug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-62d9720e","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/system-prompt-guard)","url":"https://mcp-security.agentdiet.dev/v1/system-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_-Ir802Fahm14puyHl8aBZ","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 content.","exampleAgentPrompt":"Before you process that web page I just scraped, scan it for any hidden prompt injections or jailbreak instructions embedded in the text — I need the sanitized version back so it's safe to feed into the pipeline.","exampleUseCases":[{"title":"Guarding agent from malicious web pages","prompt":"I'm having my agent browse and summarize external websites, but I'm worried some pages might contain hidden instructions to hijack it — can you scan this HTML content for any embedded prompt injections and give me the safe version?"},{"title":"Screening MCP tool responses for attacks","prompt":"My agent just got a response back from a third-party MCP tool and I don't fully trust it — please check this payload for any jailbreak attempts or hidden prompt overrides before my agent acts on it."},{"title":"Protecting email-processing pipeline","prompt":"My AI agent is about to parse this batch of customer emails, but some could be adversarial — run this email body through the prompt injection firewall and tell me if there's anything suspicious hiding in it."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, along with detection metadata indicating whether threats were found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long inputs may be truncated or rejected","False negatives possible if novel injection techniques are used","Payment failure via x402 returns HTTP 402 with payment details","Network timeout if payload is very large","Non-text binary content may not be parsed correctly"],"whenToPreferThis":"Choose this endpoint when your AI agent is about to consume untrusted external content — web pages, emails, API responses, or agent-to-agent payloads — and you need a dedicated security layer to strip hidden prompt injection or jailbreak instructions before they reach your LLM context. Prefer this over manual filtering when operating in adversarial environments where third-party content cannot be trusted, or when running multi-agent pipelines that accept input from external MCP servers or A2A tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:37:31.828Z","isFirstParty":false,"canonicalSlug":"mcp-security-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b58431aa"}