{"uid":"cap_sJ9QcIJfUgicdfRfMiYif","slug":"alpha-stream-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-ee7d34d8","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://alpha-stream.agentdiet.dev/v1/injection-firewall)","url":"https://alpha-stream.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":[],"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_iLiyIiLPzjOlL5JQzqFWg","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"alpha-stream.agentdiet.dev","brandSlug":"alpha-stream-agentdiet-dev-mpp","brandBaseUrl":"https://alpha-stream.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized content.","exampleAgentPrompt":"Before you process this scraped webpage content, run it through the prompt-injection firewall to check for any hidden jailbreak instructions or adversarial prompts embedded in the text: [paste content here].","exampleUseCases":[{"title":"Agent web-scraping safety pipeline","prompt":"I'm building an agent that scrapes news articles and summarizes them — can you scan each article's raw HTML through the injection firewall before my agent reads it, so hidden prompt-injection attacks don't hijack its behavior?"},{"title":"Email-to-agent relay protection","prompt":"My agent reads customer emails and auto-responds — before it processes each email, scan the body text for any hidden jailbreak or prompt-injection attempts so it can't be manipulated by malicious senders."},{"title":"MCP tool output sanitization","prompt":"My agent just got back a response from an external MCP tool — can you run that response text through the injection firewall to make sure there are no embedded adversarial instructions before I pass it back to the model?"}],"resultDescription":"Returns a sanitized version of the input text with detected prompt injection or jailbreak payloads removed or flagged, along with metadata about what was found. The response is a JSON object indicating whether threats were detected and providing clean text safe for downstream LLM consumption.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Very long inputs may exceed character limits or time out","Novel or obfuscated injection techniques may evade detection (false negatives)","Legitimate instructional text may be incorrectly flagged as injection (false positives)","Service unavailability returns 5xx errors","Payment not completed (HTTP 402) if x402 payment header is missing or invalid"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to process content from untrusted external sources — web pages, emails, MCP tool responses, or A2A payloads — and you need a dedicated firewall layer to detect and strip hidden prompt injections or jailbreak attempts before they reach your LLM. Prefer this over generic content filters when the threat model specifically involves adversarial LLM manipulation via indirect injection, or when operating in agentic pipelines where external tool outputs feed back into model context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:23:02.218Z","isFirstParty":false,"canonicalSlug":"alpha-stream-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-015b3890"}