{"uid":"cap_gCwQ1YMYJBKLsYNRe_i6e","slug":"serp-extract-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-42b8eff7","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://serp-extract.agentdiet.dev/v1/mcp-injection-firewall)","url":"https://serp-extract.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"},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1,"description":"Maximum number of items to return per page (1-100)"},"cursor":{"type":"string","description":"Opaque pagination cursor for fetching the next page"}}},"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_Tt0sXCueV7kCP2HaB1pEJ","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"serp-extract.agentdiet.dev","brandSlug":"serp-extract-agentdiet-dev-mpp","brandBaseUrl":"https://serp-extract.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 summarize that web page content, run it through the prompt injection firewall first — I don't trust the site and want to make sure there are no hidden instructions trying to hijack you.","exampleUseCases":[{"title":"Sanitize scraped web content for agent pipeline","prompt":"I just scraped a competitor's product page to feed into my pricing agent — can you scan the raw HTML through the injection firewall before my agent reads it? I don't want any hidden instructions messing with its reasoning."},{"title":"Verify MCP tool response before execution","prompt":"My agent just got a response back from an external MCP tool — before it acts on that data, run it through the prompt injection scanner to make sure nobody embedded a jailbreak payload in there."},{"title":"Screen inbound emails for adversarial instructions","prompt":"We're piping customer support emails into an AI agent to auto-draft replies. Can you scan each email through the jailbreak firewall before the agent reads it, so malicious senders can't hijack the agent's behavior?"}],"resultDescription":"Returns a structured object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, along with detection metadata indicating whether malicious content was found.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long payloads may be truncated or time out","False negatives may occur for novel or obfuscated injection techniques not yet in the detection ruleset","Non-text binary content may produce unexpected results","Rate limiting or payment failures (402) if x402 micropayment is not properly configured"],"whenToPreferThis":"Use this endpoint when your AI agent pipeline ingests untrusted external content — scraped web pages, inbound emails, MCP tool responses, or A2A payloads — before passing that content to an LLM for reasoning or action. It is specifically designed for indirect prompt injection scenarios (attacker-controlled content in the data path) rather than direct user input sanitization. Prefer this over generic content filters when you need LLM-aware injection pattern detection rather than simple keyword blocking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:21.661Z","isFirstParty":false,"canonicalSlug":"serp-extract-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-18902259"}