{"uid":"cap_Ba-LKYgoz1zQp3LKitPgp","slug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-287137f8","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-jailbreak-defense)","url":"https://preflight.agentdiet.dev/v1/llm-jailbreak-defense?utm_source=zero.xyz","method":"POST","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_3v32c7mh0TZJprCFCWSXg","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 injection and jailbreak attacks, returning sanitized output.","exampleAgentPrompt":"Before you summarize that webpage content, run it through the prompt injection firewall first — scan the raw HTML for any hidden jailbreak instructions and give me the sanitized version.","exampleUseCases":[{"title":"Sanitizing scraped web content for agents","prompt":"I just scraped a third-party webpage to feed into my research agent — can you scan the raw HTML for hidden prompt injections and give me the clean text so my agent doesn't get hijacked?"},{"title":"Screening incoming emails in agent inbox","prompt":"Before my email-reading agent processes this incoming message, run the email body through the jailbreak firewall to make sure there are no embedded instructions trying to manipulate it."},{"title":"Auditing MCP tool response before processing","prompt":"My agent just got back a response from an external MCP tool — can you scan that payload for any indirect prompt injection attempts before I let my agent act on it?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, along with detection signals indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long payloads may exceed size limits or time out","Sophisticated obfuscated injections may evade detection (false negatives)","Payment not completed or expired x402 token results in 402 Payment Required","Malformed JSON request body returns an error response"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests any untrusted external content — web pages, emails, tool outputs, or A2A payloads — before passing it to an LLM. It is purpose-built for agentic security workflows where indirect prompt injection is a real attack vector, particularly in MCP and A2A architectures. Prefer this over generic content filters when you specifically need LLM jailbreak and prompt injection detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:36:21.356Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-5b5b7e27"}