{"uid":"cap_KxgKbJoneLD94t9uZTq8v","slug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-a8a1b7d9","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://polymarket-odds.agentdiet.dev/v1/llm-jailbreak-defense)","url":"https://polymarket-odds.agentdiet.dev/v1/llm-jailbreak-defense?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_S5DLggLOJrHKd_NmJ_8_i","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"polymarket-odds.agentdiet.dev","brandSlug":"polymarket-odds-agentdiet-dev-mpp","brandBaseUrl":"https://polymarket-odds.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized content.","exampleAgentPrompt":"Before you process this scraped web page content, run it through the prompt-injection firewall to detect and sanitize any hidden jailbreak instructions embedded in the HTML: '<html>...page content here...</html>'","exampleUseCases":[{"title":"Sanitize scraped web pages for agent pipelines","prompt":"I just scraped this web page to feed into my research agent, but I'm worried it might contain hidden adversarial instructions — can you scan the raw HTML for prompt injections and give me the cleaned version before my agent reads it?"},{"title":"Screen incoming A2A messages for jailbreaks","prompt":"My agent just received this payload from an external A2A service and I don't trust the source — check it for hidden prompt injection or jailbreak content and tell me if it's safe to process: 'payload text here'"},{"title":"Filter untrusted email body before LLM summarization","prompt":"Before you summarize this customer email for me, run the body text through the jailbreak firewall first — I need to make sure it doesn't contain any adversarial instructions trying to hijack the summarizer."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads flagged or removed, along with detection metadata indicating whether threats were found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long payloads may hit size limits or time out","Service may return false positives on legitimate content that resembles injection syntax","Ambiguous adversarial patterns may not be detected if obfuscated at the encoding level","Payment failure (402) if x402 USDC micropayment is not completed before the call"],"whenToPreferThis":"Choose this endpoint when your AI agent retrieves content from untrusted external sources — web pages, emails, third-party APIs, MCP tool responses, or A2A messages — before passing that content to an LLM for reasoning or action. It is specifically designed for agentic pipelines where indirect prompt injection is a real attack surface, rather than for general content moderation or spam filtering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:39:22.148Z","isFirstParty":false,"canonicalSlug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8ce8b4f9"}