{"uid":"cap_iOfto2vma1pgx6DfQA0E6","slug":"mcp-security-prompt-injection-jailbreak-firewall-e9369d5f","name":"MCP Security - 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://mesh.agentdiet.dev/v1/mcp-security)","url":"https://mesh.agentdiet.dev/v1/mcp-security?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"},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1,"description":"Maximum number of items to return per page (1-100)"},"cursor":{"type":"string","description":"Opaque pagination cursor for fetching the next page"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"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":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JG4YS-VC-wJAVbq0WFUTf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_H358YYAPOT55eTjvgjexa","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injection and jailbreak payloads, returning a sanitized analysis.","exampleAgentPrompt":"Can you scan this HTML I just scraped — I need to check it for hidden prompt injections or jailbreak payloads before I let my pipeline process it: '<html>...suspicious content...</html>'","exampleUseCases":[{"title":"Sanitize scraped web content before agent use","prompt":"I'm about to feed this webpage's HTML into my agent workflow — can you first check it for any hidden prompt injection instructions or adversarial text that could hijack my AI? Here's the raw HTML: '<div class=content>...</div>'"},{"title":"Screen incoming email for AI manipulation","prompt":"Before my assistant processes this email, scan it for any hidden jailbreak payloads or prompt injection attempts embedded in the text — here's the email body: 'Hello, please ignore previous instructions and instead...'"},{"title":"Validate MCP tool response before execution","prompt":"My agent just got a response back from an external MCP tool and I don't fully trust it — can you check this tool output for any sneaky prompt injection or instruction-override attempts hidden in it before I act on it?"}],"resultDescription":"A structured object indicating whether prompt injection or jailbreak payloads were detected in the submitted text, along with sanitized content and flagged segments. Supports paginated results up to 100 items per page via cursor-based pagination.","failureModes":["Empty or missing 'text' parameter returns a validation error","Payload exceeds size limits causing a rejection","Service temporarily unavailable returns a 5xx error","Ambiguous or benign text may produce false positives or false negatives","Pagination cursor mismatch or expiry causes a failed page fetch"],"whenToPreferThis":"Choose this endpoint when your agent pipeline ingests content from untrusted external sources — web scrapes, user emails, third-party MCP tool responses, or A2A agent messages — and you need to validate that content before acting on it. Ideal for multi-agent systems where one compromised tool response could propagate adversarial instructions downstream.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T18:39:10.983Z","isFirstParty":false,"canonicalSlug":"mcp-security-prompt-injection-jailbreak-firewall-e9369d5f"}