{"uid":"cap_OVzMeUfOWmU9swCiXv5ht","slug":"alpha-stream-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-4c136053","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/mcp-injection-firewall)","url":"https://alpha-stream.agentdiet.dev/v1/mcp-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_tq1ORK4ageCWq9xPPsEUh","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 injection and jailbreak attacks, returning sanitized content.","exampleAgentPrompt":"Before you process the content you just scraped from that external website, run it through the prompt-injection firewall first — check the raw HTML for any hidden jailbreak instructions and give me back the sanitized version.","exampleUseCases":[{"title":"Screening scraped web content for agent pipelines","prompt":"I'm about to feed this web page's HTML into my agent to extract product info — can you first scan it for hidden prompt injections or jailbreak payloads and return the safe, sanitized version?"},{"title":"Protecting agent from malicious email content","prompt":"Before my agent reads and summarizes this email I received, can you run the full email body through the injection firewall to make sure there are no hidden instructions trying to hijack my AI?"},{"title":"Validating MCP tool responses before acting on them","prompt":"My agent just got back a response from an external MCP tool — can you scan that payload for any embedded adversarial prompt injections before I let my agent act on the results?"}],"resultDescription":"Returns a JSON object containing the scan result for the submitted text, including whether a prompt injection or jailbreak payload was detected and a sanitized version of the input text with malicious instructions removed or neutralized.","failureModes":["Missing required 'text' parameter returns a 400 validation error","Empty string input rejected due to minLength:1 constraint","Very large payloads may exceed request limits or time out","HTTP 402 Payment Required if x402 payment header is missing or invalid","False negatives possible for novel or obfuscated injection techniques","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — web pages, emails, tool responses, or third-party A2A payloads — and you need a lightweight, per-call firewall check before passing that content to an LLM. It is particularly well-suited for MCP and A2A architectures where tool outputs from unknown sources could carry adversarial instructions. Prefer this over general-purpose content moderation APIs when your specific threat model involves indirect prompt injection and jailbreak attempts targeting AI agents rather than human-facing content policy violations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:49.291Z","isFirstParty":false,"canonicalSlug":"alpha-stream-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-015b3890"}