{"uid":"cap_ZS4vvs7UMDqI07ur_baTf","slug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-fbd96f9b","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://agentdiet.dev/v1/guard)","url":"https://agentdiet.dev/v1/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_5OezWBBK4A7D7zHiQYee0","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agentdiet.dev","brandSlug":"agentdiet-dev-mpp","brandBaseUrl":"https://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 the content from that webpage, run it through the prompt-injection firewall first — I want to make sure there are no hidden instructions trying to hijack you embedded in the HTML.","exampleUseCases":[{"title":"Safe web scraping for agent pipelines","prompt":"I'm building an agent that scrapes competitor websites and summarizes them — can you scan each page's text through the prompt-injection firewall before my agent processes it, so I don't get hijacked by hidden instructions?"},{"title":"Sanitizing third-party MCP tool responses","prompt":"Before my agent acts on the response from that external MCP tool, run the payload through the jailbreak firewall to check if it's trying to inject any hidden commands into my pipeline."},{"title":"Screening inbound emails for LLM agents","prompt":"My email-reading agent might process phishing emails — can you check this email body for prompt injection or jailbreak payloads before the agent parses and acts on it?"}],"resultDescription":"Returns a JSON object containing a sanitized version of the input text with prompt injection and jailbreak payloads removed or flagged, along with detection signals indicating whether adversarial content was found.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long payloads may be truncated or timeout","Payment failure (HTTP 402) if x402 USDC micropayment is not completed","False negatives on novel or obfuscated injection techniques not yet in detection ruleset","Non-textual binary input may not be parsed correctly"],"whenToPreferThis":"Use this endpoint when your AI agent ingests content from untrusted external sources — scraped web pages, third-party tool outputs, MCP responses, A2A payloads, or inbound emails — and you need to ensure that content does not contain hidden prompt injections or jailbreak instructions before your agent processes it. Prefer this over generic content filters when the threat model is specifically adversarial LLM manipulation rather than spam or malware.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:23:42.138Z","isFirstParty":false,"canonicalSlug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-fbd96f9b"}