{"uid":"cap_jrvOg4Npg9Fa79m5-A5ky","slug":"agentdiet-injection-guard-0125551b","name":"AgentDiet Injection Guard","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://agentdiet.dev/v1/injection-guard)","url":"https://agentdiet.dev/v1/injection-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":["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":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"unknown","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4HLOxzax7019HEraH-FK_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_yNt1B6OfC5-nkXV_3leUz","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 (web pages, emails, MCP responses, A2A payloads) for hidden prompt injections and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process this scraped web page, run it through the injection guard to check for any hidden prompt injections or jailbreak instructions and give me the sanitized version.","exampleUseCases":[{"title":"Protecting agent from malicious web content","prompt":"I'm about to feed this web page's text into my AI pipeline — can you scan it for any hidden prompt injection attacks or jailbreak instructions first and return the safe, cleaned version?"},{"title":"Sanitizing email before LLM processing","prompt":"Check this email body for any embedded prompt injection attempts or sneaky instructions trying to hijack my AI agent before I let it summarize or act on the content."},{"title":"Validating MCP tool response safety","prompt":"My agent just got back a response from an MCP tool I don't fully trust — can you run it through the injection guard to make sure there's nothing in there trying to manipulate my agent's next actions?"}],"resultDescription":"Returns sanitized text with hidden prompt injections and jailbreak attempts removed or flagged, along with detection metadata indicating whether threats were found.","failureModes":["Empty or missing 'text' query parameter returns an error","Extremely long payloads may be truncated or rejected","Novel or obfuscated injection patterns may evade detection","Non-text binary content is not supported","Rate limiting may occur under high request volume"],"whenToPreferThis":"Choose this endpoint when your agent needs to process content from untrusted external sources (web scraping, emails, third-party APIs, MCP responses, or A2A messages) before passing that content to an LLM. It is especially valuable in agentic pipelines where indirect prompt injection is a real attack vector and you need a lightweight, cheap ($0.005/call) pre-processing firewall step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T11:35:03.781Z","isFirstParty":false,"canonicalSlug":"agentdiet-injection-guard-0125551b"}