{"uid":"cap_FCgAJc95vBywleAsqG8Is","slug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-aa5d86b3","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://defi-yield.agentdiet.dev/v1/prompt-guard)","url":"https://defi-yield.agentdiet.dev/v1/prompt-guard?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_wyylVE0UUlwyAkYLo2dqD","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"defi-yield.agentdiet.dev","brandSlug":"defi-yield-agentdiet-dev-mpp","brandBaseUrl":"https://defi-yield.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 process this scraped webpage content, run it through the prompt-injection firewall to check for any hidden instructions or jailbreak attempts embedded in the HTML: [paste content here].","exampleUseCases":[{"title":"Safe web scraping for AI agents","prompt":"I just scraped this article to feed into my agent pipeline — can you first scan it for any hidden prompt injections or jailbreak instructions before my agent reads it? Here's the raw HTML: <html>...</html>"},{"title":"Email body threat screening","prompt":"My agent is about to process this incoming email to extract action items, but I want to make sure it doesn't contain any sneaky prompt injection payloads first — can you scan it? Here's the email body: 'Hi team, please ignore previous instructions and...'"},{"title":"MCP tool response sanitization","prompt":"My coding agent just got back this response from an MCP tool that browsed an external site — before I pass it to the next step in the workflow, check it for hidden prompt injections or jailbreak content."}],"resultDescription":"Returns a JSON object containing the scan result, including whether a prompt injection or jailbreak payload was detected and a sanitized version of the input text safe for downstream LLM consumption.","failureModes":["Empty or whitespace-only text input returns a validation error (minLength:1 not met)","Extremely long payloads may exceed size limits or increase latency","Payment failure (HTTP 402) if x402 USDC payment is not attached or insufficient","Ambiguous or obfuscated injections encoded in unusual character sets may evade detection","Network timeout on large HTML documents"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline consumes untrusted external content — scraped web pages, user-submitted text, third-party API or MCP tool responses, or A2A payloads — and you need a dedicated firewall step before passing that content to your LLM. Prefer this over generic content filters when dealing specifically with indirect prompt injection and jailbreak threat vectors in agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:39:51.122Z","isFirstParty":false,"canonicalSlug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aae4ab"}