{"uid":"cap_5Nf8bAErd5Ijjhmbir8Zh","slug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-825c0cfe","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/llm-guard)","url":"https://preflight.agentdiet.dev/v1/llm-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_Ri6QzjF-D6SUaTSPvV5JI","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 content.","exampleAgentPrompt":"Before you process that web page content I just fetched, run it through the prompt injection firewall first — scan this raw HTML for any hidden jailbreak instructions or adversarial prompt injections and give me the sanitized version.","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipeline","prompt":"I'm about to feed this scraped article HTML into my summarizer agent — can you first scan it for any hidden prompt injections or jailbreak payloads and return the clean text only?"},{"title":"Checking suspicious email before LLM processing","prompt":"This email looks a bit off and I want to feed it to my AI assistant — run it through the prompt injection firewall first and tell me if there are any adversarial instructions hidden in the body."},{"title":"Validating MCP tool response before agent action","prompt":"My agent just got back a response from an external MCP tool — before it acts on that output, scan it for indirect prompt injection attempts so we don't get hijacked."}],"resultDescription":"Returns a JSON object indicating whether the input text contains prompt injection or jailbreak content, along with a sanitized version of the text with malicious instructions removed or flagged.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Very long payloads may be truncated or rejected","Subtle or novel injection techniques may evade detection","Non-text binary content may not be scannable","Payment failure (HTTP 402) if USDC balance is insufficient for the $0.005 per-call fee"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted external content — scraped web pages, emails, MCP/A2A tool responses, or user-submitted text — and you need to guard against indirect prompt injection before the content reaches your LLM. It is especially valuable in autonomous multi-agent workflows where a compromised upstream tool could hijack downstream agent behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:46:08.376Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-5b5b7e27"}