{"uid":"cap_aLyk-X2NZbP-y4cHp2dOE","slug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-87ce958b","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/guard)","url":"https://whale-momentum.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_MNq89g4eHS2p2iAazNXTs","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 injections and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that web page I scraped, run the raw HTML through the prompt injection firewall and give me the sanitized version — I don't want any hidden instructions sneaking into your context.","exampleUseCases":[{"title":"Sanitize scraped web content for agents","prompt":"I'm about to feed this scraped article text into my agent pipeline — can you run it through the prompt injection firewall first and return the clean version so no hidden instructions slip through?"},{"title":"Guard agent from malicious email bodies","prompt":"This email came in from an unknown sender and my agent needs to read it — scan the body for any embedded jailbreak attempts or hidden prompt injections before it touches the LLM context."},{"title":"Validate MCP tool response before use","prompt":"My agent just got back a response from an external MCP tool and I'm not sure I trust the source — check that response text for any indirect prompt injection payloads and give me the sanitized output."}],"resultDescription":"Returns a JSON object containing the scan result, including whether prompt injection or jailbreak content was detected and a sanitized version of the input text with malicious instructions removed or neutralized.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely large payloads may exceed size limits and return a 400 or 413 error","Service unavailability or payment failure (HTTP 402) if USDC balance is insufficient","Ambiguous or highly obfuscated injections may be missed (false negatives)","Non-text binary content passed as text may produce unreliable scan results"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted third-party content — web pages, emails, tool responses, or A2A payloads — and you need to strip hidden prompt injection or jailbreak instructions before those inputs reach your LLM context. It is particularly suited for agentic workflows where indirect prompt injection is a realistic threat vector, such as browsing-enabled agents, email-processing agents, or multi-agent systems consuming external MCP tool outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:51:29.626Z","isFirstParty":false,"canonicalSlug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-87ce958b"}