{"uid":"cap_DHIIE2o-7f6QPBSbCw-Zt","slug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-c9312b61","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/guard)","url":"https://polymarket-odds.agentdiet.dev/v1/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_uL7pIlqPDjmVyhHOC7po4","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 output","exampleAgentPrompt":"Before you process this webpage content I scraped, can you scan it for any hidden prompt injections or jailbreak instructions and give me the sanitized version that's safe to use?","exampleUseCases":[{"title":"Guarding agent from malicious web pages","prompt":"I'm about to feed this scraped HTML from an untrusted website into my AI pipeline — can you check it for any hidden prompt injection or jailbreak payloads and return just the clean, safe text?"},{"title":"Sanitizing MCP tool output before LLM use","prompt":"My agent just got a response back from an external MCP tool and I want to make sure there are no hidden instructions embedded in it before passing it further — can you scan this tool output for prompt injections?"},{"title":"Filtering suspicious email for AI processing","prompt":"I have an email I want my AI assistant to summarize, but I'm worried it might contain jailbreak instructions hidden in the text — can you run it through your prompt injection firewall first and give me the sanitized version?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads identified and neutralized, allowing the agent to safely process the cleaned content downstream.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may time out or be rejected","Ambiguous or borderline injection patterns may not be flagged (false negatives)","Legitimate content resembling injection syntax may be incorrectly sanitized (false positives)","Payment failure via x402 returns a 402 status before scanning occurs"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web scrapes, emails, third-party API responses, MCP tool outputs, or A2A messages — and you need to verify and sanitize that content before passing it to an LLM or downstream agent to prevent indirect prompt injection and jailbreak attacks. Prefer this over manual filtering when the content is arbitrary HTML or free text with unknown structure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:32:22.010Z","isFirstParty":false,"canonicalSlug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8ce8b4f9"}