{"uid":"cap_VwDdoGg61qhIraSHkyhud","slug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-6daf607b","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://whale-momentum.agentdiet.dev/v1/prompt-firewall)","url":"https://whale-momentum.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":[],"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_phfsuJpTIwxE9hhMJ7i2g","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"whale-momentum.agentdiet.dev","brandSlug":"whale-momentum-agentdiet-dev-mpp","brandBaseUrl":"https://whale-momentum.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injection and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that scraped web page, run it through the prompt injection firewall first — I want to make sure there are no hidden instructions or jailbreak payloads embedded in the HTML before you act on it.","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipelines","prompt":"I'm about to feed this scraped article HTML to my research agent — can you scan it for hidden prompt injections first and give me the sanitized version?"},{"title":"Checking inbound emails for adversarial payloads","prompt":"Before my agent reads and acts on this inbound email, scan the email body for any hidden jailbreak or prompt injection attempts so it's safe to process."},{"title":"Validating MCP tool responses before chaining","prompt":"My agent just got a response from an external MCP tool — can you run it through the prompt injection firewall to make sure it doesn't contain any embedded adversarial instructions before I pass it to the next step?"}],"resultDescription":"Returns a structured object indicating whether prompt injection or jailbreak content was detected, along with sanitized text stripped of adversarial instructions, allowing the agent to safely use the cleaned output downstream.","failureModes":["Empty or missing 'text' parameter returns validation error","Text that is too large may hit payload limits or timeout","False negatives: sophisticated obfuscated injections may not be caught","False positives: legitimate instructional text may be flagged as injection","Service unavailable or 402 payment required if credits are exhausted"],"whenToPreferThis":"Use this endpoint whenever an AI agent is about to process untrusted external content — scraped HTML, third-party API responses, user-submitted text, emails, or MCP/A2A payloads — before acting on it. It is especially valuable in agentic pipelines where content from the open web or untrusted tools could contain adversarial instructions designed to hijack agent behavior. Prefer this over manual filtering when you need a dedicated, specialized scanner rather than general-purpose text processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:16.813Z","isFirstParty":false,"canonicalSlug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-87ce958b"}