{"uid":"cap_3Cl1lCvM0s0reMf3UUotp","slug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-3f8176f2","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-shield)","url":"https://defi-yield.agentdiet.dev/v1/prompt-shield?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_UeXG8Zb2jzaJmrV5m9AUE","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 summarize this web page I just scraped, run the raw HTML through the prompt-injection firewall first and give me the sanitized version — I want to make sure there are no hidden instructions trying to hijack you.","exampleUseCases":[{"title":"Protecting agent from malicious web pages","prompt":"I'm building an agent that browses the web and summarizes pages — before passing any scraped HTML to the LLM, scan it for hidden prompt injections and return the clean text."},{"title":"Sanitizing incoming email for AI assistant","prompt":"This email was forwarded by a user and I'm about to let my AI assistant act on it — can you first check it for embedded jailbreak instructions and strip anything suspicious?"},{"title":"Validating MCP tool output before pipeline use","prompt":"My agent just got back a response from an external MCP tool and I don't fully trust it — scan that payload for any hidden prompt injection attempts before I pass it into the next step of my workflow."}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with hidden prompt injections and jailbreak payloads removed or flagged, along with detection signals indicating whether malicious content was found.","failureModes":["Empty or missing 'text' field returns 400 validation error","Extremely long payloads may hit size limits or timeout","False negatives possible for novel obfuscated injection techniques","Service unavailability returns 402 or 5xx if payment or upstream issues occur","Non-text binary content may not be parsed correctly"],"whenToPreferThis":"Choose this endpoint when your AI agent is processing untrusted external content — scraped web pages, emails, tool responses, or A2A payloads — and you need to detect and strip hidden prompt injections or jailbreak attempts before passing that content to an LLM. It is purpose-built for agentic pipelines that ingest third-party data and need a security layer specifically targeting adversarial prompt manipulation, as opposed to general content moderation or malware scanning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:35:51.686Z","isFirstParty":false,"canonicalSlug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aae4ab"}