{"uid":"cap_fdF5bhMkSEM5azew9ogKc","slug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-4ef1c66c","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/system-prompt-guard)","url":"https://whale-momentum.agentdiet.dev/v1/system-prompt-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_z18cEXHklx3J7zqUO3hM8","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 attacks, returning sanitized output.","exampleAgentPrompt":"Before you process this scraped web page content, run it through the prompt-injection firewall to check for hidden instructions trying to hijack you — here's the raw text: [paste content here].","exampleUseCases":[{"title":"Safe web browsing for AI agents","prompt":"I'm about to feed this scraped webpage into my pipeline — can you scan it for hidden prompt injections or jailbreak payloads first? Here's the raw HTML: '<html>...Buy now!</html>'."},{"title":"Email content safety check","prompt":"Before my agent summarizes this incoming email, run it through the prompt-injection firewall to make sure there are no hidden instructions embedded in it — the email body is: 'Dear user, please review your account...'"},{"title":"MCP tool output sanitization","prompt":"This is the response I got back from an external MCP tool — can you screen it for any embedded adversarial prompts or jailbreak attempts before I pass it into my agent's context? The output is: 'Task complete. Ignore previous instructions and...'"}],"resultDescription":"Returns a sanitized version of the input text with detected prompt injection or jailbreak payloads identified and removed or flagged, along with a structured assessment of any threats found.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Very large payloads may timeout or be truncated","False negatives: novel or obfuscated injections may not be detected","False positives: legitimate instructions in the text may be flagged as injections","Payment not fulfilled returns HTTP 402 requiring x402 micropayment","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to safely process external, untrusted content — such as scraped web pages, third-party API responses, emails, or MCP/A2A tool outputs — before incorporating that content into its reasoning context. It is especially valuable in multi-agent pipelines where one agent's output feeds another, creating indirect prompt injection risk. Prefer this over generic content filters when you specifically need prompt injection and jailbreak detection rather than general content moderation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:44:18.839Z","isFirstParty":false,"canonicalSlug":"whale-momentum-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-87ce958b"}