{"uid":"cap_CPMGlKOlrht1EwT7x5uiD","slug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-621fb9ea","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://preflight.agentdiet.dev/v1/prompt-injection-shield)","url":"https://preflight.agentdiet.dev/v1/prompt-injection-shield?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_6rQlNLcQ52gcPbF_bFHzD","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"preflight.agentdiet.dev","brandSlug":"preflight-agentdiet-dev-mpp","brandBaseUrl":"https://preflight.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 this scraped web page, run it through the prompt-injection firewall to make sure there are no hidden instructions trying to hijack you: '[paste raw HTML or text here]'.","exampleUseCases":[{"title":"Screening web-scraped content for agents","prompt":"I just scraped this webpage to feed into my research agent — can you scan it for any hidden prompt injections or jailbreak payloads before the agent processes it? Here's the raw HTML."},{"title":"Sanitizing MCP tool responses","prompt":"My agent just got a response back from an MCP tool call and I want to make sure there's nothing malicious embedded in it before I pass it to the next step — can you run it through the prompt-injection shield?"},{"title":"Filtering inbound emails for LLM pipeline","prompt":"We're piping customer emails into an AI support agent and I'm worried about prompt injection attacks embedded in the email bodies — can you scan this email text and return a sanitized version?"}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected in the input, along with sanitized text with malicious instructions removed or flagged, enabling safe downstream processing by AI agents.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long payloads may be truncated or time out","False negatives may occur for highly obfuscated injections","False positives may flag legitimate instructional content as injections","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when your AI agent pipeline ingests untrusted external content — web pages, emails, MCP tool responses, or A2A payloads — before passing it to an LLM, to prevent indirect prompt injection attacks that could hijack agent behavior. Prefer this over manual filtering or no filtering when operating autonomous agents that process third-party data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T11:35:15.613Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-5b5b7e27"}