{"uid":"cap_Qh13K95U0yzFvLu3uGQ5o","slug":"agentdiet-injection-firewall-ad4ad953","name":"AgentDiet Injection 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://agentdiet.dev/v1/injection-firewall)","url":"https://agentdiet.dev/v1/injection-firewall?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_VZL9wDFLaYahq3qUEjgnu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_bB-F2PHe_min0TfNueys-","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 payloads (web pages, emails, MCP responses, A2A messages) for hidden prompt injections and jailbreak attempts, returning sanitized text","exampleAgentPrompt":"Can you scan this web page text I just scraped for any hidden prompt injection or jailbreak instructions before I pass it to my AI pipeline? Here's the content: '[scraped HTML or text]'","exampleUseCases":[{"title":"Sanitize scraped web content for agent","prompt":"I'm building an agent that browses the web and summarizes pages — before feeding each page into my LLM, can you run it through the injection firewall to strip out any hidden prompt-override instructions embedded in the HTML?"},{"title":"Guard agent from malicious email content","prompt":"My AI email assistant is about to process this incoming email from an unknown sender — can you first check it for any embedded prompt injection or jailbreak attempts and return the clean version?"},{"title":"Validate MCP tool response before use","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it doesn't contain any hidden adversarial instructions before I let my agent act on it — can you run it through the prompt injection firewall?"}],"resultDescription":"Returns the sanitized version of the input text with prompt injection attempts and jailbreak instructions removed, along with detection signals indicating whether malicious content was found and what was stripped out","failureModes":["Missing or empty 'text' query parameter returns an error","Extremely long payloads may be truncated or rejected","Novel or obfuscated injection techniques may evade detection","Non-text binary content cannot be scanned","Network timeouts on large payloads"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web scrapes, emails, tool responses, or agent-to-agent messages — and you need a lightweight, pay-per-call firewall to detect and sanitize prompt injection or jailbreak attempts before they reach your LLM. Particularly valuable in A2A and MCP architectures where indirect injection via third-party content is a primary attack vector.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:04.209Z","isFirstParty":false,"canonicalSlug":"agentdiet-injection-firewall-ad4ad953"}