{"uid":"cap_N_FEpx2JZ3z8Uh_STQGui","slug":"x402-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-7dc8ec77","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://x402-audit.agentdiet.dev/v1/llm-guard)","url":"https://x402-audit.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_YE6dxgnPg9wKXSs0pzy61","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"x402-audit.agentdiet.dev","brandSlug":"x402-audit-agentdiet-dev-mpp","brandBaseUrl":"https://x402-audit.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 summarize that webpage I just scraped, run the raw HTML through the prompt injection firewall to make sure there are no hidden instructions trying to hijack you.","exampleUseCases":[{"title":"Sanitizing scraped web content for agents","prompt":"I'm about to feed this scraped webpage text into my LLM pipeline — can you scan it for any hidden prompt injections or jailbreak payloads first and give me the cleaned version?"},{"title":"Screening inbound emails before processing","prompt":"Before my agent reads and acts on this customer email, check it for any embedded prompt injection attacks that might try to override my agent's instructions."},{"title":"Validating MCP tool responses in agentic workflows","prompt":"My agent just got back a response from an external MCP tool — can you run it through the LLM guard firewall to detect any hidden instructions before I let the agent use that output?"}],"resultDescription":"Returns a structured object indicating whether prompt injection or jailbreak payloads were detected in the submitted text, along with sanitized/cleaned text safe for LLM consumption.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long inputs may be truncated or rejected","False negatives: sophisticated obfuscated injections may not be caught","False positives: legitimate instructional content may be flagged","Payment failure (HTTP 402) if x402 USDC micropayment is not properly attached","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web pages, emails, third-party tool outputs, or A2A payloads — and you need a fast, per-call firewall check before passing that content to an LLM. Especially valuable in autonomous agent workflows where indirect prompt injection is a real attack surface. Prefer this over generic content filters when you specifically need injection/jailbreak detection tailored to LLM attack vectors rather than spam or toxicity filtering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:17.668Z","isFirstParty":false,"canonicalSlug":"x402-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cd2da2c7"}