{"uid":"cap_QcdxdRoB8AXZkwAZdfPry","slug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-f3f5aa5f","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/system-prompt-guard)","url":"https://preflight.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_CrcI50kDArYkoFQIFCegW","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, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you process that web page I just scraped, run the raw HTML through the prompt injection firewall to make sure there are no hidden jailbreak instructions embedded in it.","exampleUseCases":[{"title":"Guard agent from poisoned web content","prompt":"I'm about to feed this scraped article into my summarization agent — can you first scan the raw HTML for any hidden prompt injections or adversarial instructions embedded in the page?"},{"title":"Screen inbound email for LLM hijacking","prompt":"Before my email-processing agent reads this forwarded message, check the full email body for any indirect prompt injection or jailbreak payloads someone might have hidden in it."},{"title":"Validate MCP tool response before execution","prompt":"My agent just got back a response from an external MCP tool — can you run it through the prompt injection firewall to make sure there's nothing malicious hiding in the output before we act on it?"}],"resultDescription":"Returns a structured object indicating whether prompt injection or jailbreak content was detected, along with sanitized text stripped of adversarial instructions, allowing downstream agents to safely process the content.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long payloads may be truncated or rejected","Obfuscated or encoded injections may evade detection","Non-text binary content may not be properly processed","Payment failure via x402 results in 402 response blocking the scan"],"whenToPreferThis":"Use this endpoint when your AI agent is about to ingest content from untrusted external sources — scraped web pages, user-submitted emails, third-party MCP/A2A tool responses — and you need a dedicated firewall layer to strip hidden adversarial instructions before they reach your LLM. Prefer this over generic content filters when the specific threat model is indirect prompt injection or jailbreaking via external data payloads in agentic pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T11:35:09.616Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-5b5b7e27"}