{"uid":"cap_4cfQAJDMuypWLVyGCI2s5","slug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8ce8b4f9","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":"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"}}},"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_DFP8rMwMpDRqx6wmYhBc2","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 scraped webpage content, run it through the prompt-injection firewall to check for any hidden instructions or jailbreak attempts trying to hijack you: [paste of HTML/text]","exampleUseCases":[{"title":"Agent pipeline web-scrape guard","prompt":"I just scraped this article's HTML to summarize it, but I want you to first check it for hidden prompt injections — run it through the firewall before you do anything with it."},{"title":"Email inbox safety screening","prompt":"Before you parse and act on this incoming email from an unknown sender, scan the full text for any embedded prompt injection or jailbreak instructions trying to manipulate you."},{"title":"MCP tool response sanitization","prompt":"This MCP server just returned a response to our agent — can you check it for hidden adversarial instructions or prompt-injection payloads before we feed it into the next step of the workflow?"}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected, along with sanitized version of the input text stripped of malicious instruction payloads, enabling safe downstream processing by AI agents.","failureModes":["Missing required 'text' parameter returns a 400 Bad Request error","Empty string input (minLength:1 violated) returns validation error","Payment not included or insufficient triggers HTTP 402 payment required","Very long payloads may hit timeout or size limits","Novel obfuscated injection techniques may not be detected (false negatives)","Non-English injections may have reduced detection accuracy"],"whenToPreferThis":"Use this endpoint whenever an AI agent is about to process content from untrusted external sources — web scrapes, emails, third-party API responses, MCP tool outputs, or user-submitted text — and needs a security gate before acting on that content. Prefer this over manual filtering when the content could contain adversarially crafted prompt injections designed to hijack the agent's behavior. Especially valuable in agentic pipelines where intermediate tool outputs feed directly back into LLM context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:23:24.614Z","isFirstParty":false,"canonicalSlug":"polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8ce8b4f9"}