{"uid":"cap_BwUxUX9Go1d9xWOsh49Rr","slug":"agentdiet-prompt-firewall-eab33b6f","name":"AgentDiet Prompt 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/prompt-firewall)","url":"https://agentdiet.dev/v1/prompt-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_0gKk8x7laFIWMNn_FRbv_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_mHu8His5aoWPceH8HdNYQ","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 text.","exampleAgentPrompt":"Before you process that web page I scraped, run it through the prompt firewall to check for any hidden prompt injections or jailbreak attempts and give me the sanitized version.","exampleUseCases":[{"title":"Screening scraped web pages for agents","prompt":"I'm about to feed this scraped webpage into my AI pipeline — can you scan it for any hidden prompt injection instructions or jailbreak payloads and return the safe, sanitized text?"},{"title":"Filtering untrusted email content","prompt":"Before my agent reads and acts on this incoming email, run it through the prompt injection firewall to make sure there are no adversarial instructions embedded in it."},{"title":"Validating MCP tool responses","prompt":"My agent just got a response from an external MCP tool — can you check it for indirect prompt injections or attempts to hijack the agent's behavior before I let the agent use it?"}],"resultDescription":"Returns the sanitized version of the input text with hidden prompt injections and jailbreak instructions removed or flagged, allowing agents to safely consume content from untrusted external sources.","failureModes":["Missing or empty 'text' query parameter returns an error","Extremely large payloads may be truncated or rejected","Novel or obfuscated injection techniques may not be detected","Non-text binary content may not be parseable","Network timeout for very large inputs"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to consume content from untrusted external sources (web scrapes, emails, third-party API responses, MCP tool outputs, A2A messages) and you want to prevent indirect prompt injection or jailbreak attacks from hijacking agent behavior. Ideal for agentic pipelines where LLMs act on externally-sourced text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:05.279Z","isFirstParty":false,"canonicalSlug":"agentdiet-prompt-firewall-eab33b6f"}