{"uid":"cap_pvQ5T47og_ODnN7Cr_2EU","slug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-8d184e61","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-firewall)","url":"https://defi-yield.agentdiet.dev/v1/prompt-firewall?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_D0Kk8w_uP9L7YdyzBQ-uK","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 webpage content I scraped, scan it for any hidden prompt injections or jailbreak payloads and give me the sanitized version: '[raw HTML or text here]'","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipelines","prompt":"I just scraped this webpage to feed into my research agent — can you run it through the prompt firewall first to strip out any hidden injection instructions before I pass it along? Here's the raw HTML."},{"title":"Screening inbound emails before agent processing","prompt":"My agent reads customer emails and auto-replies, but I'm worried about prompt injection attacks. Can you scan this email body for any hidden jailbreak payloads before my agent acts on it?"},{"title":"Validating MCP tool responses in a multi-agent workflow","prompt":"This is the response I got back from an external MCP tool in my agent pipeline — can you check it for indirect prompt injection or adversarial instructions before I let my orchestrator agent use it?"}],"resultDescription":"Returns a JSON object containing the scan result for the submitted text, including whether prompt injection or jailbreak content was detected and a sanitized version of the input text safe for downstream agent consumption.","failureModes":["Missing required 'text' parameter returns a validation error","Empty string input rejected due to minLength:1 constraint","Payment not included or failed results in HTTP 402 response requiring x402 micropayment","Very large payloads may time out or be truncated","False negatives possible for novel or obfuscated injection techniques","Non-text binary content may not be correctly parsed"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — web scrapes, emails, third-party API responses, or A2A/MCP payloads — and you need a lightweight, pay-per-call firewall to detect and sanitize hidden prompt injections before they reach your agent's context window. Prefer it over building custom regex filters when you need heuristic or semantic detection of jailbreak patterns at the agent infrastructure level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:43.862Z","isFirstParty":false,"canonicalSlug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aae4ab"}