{"uid":"cap_ty_bP0aCXaCAfnHroRrUy","slug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-eccb7d4d","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/indirect-injection-guard)","url":"https://defi-yield.agentdiet.dev/v1/indirect-injection-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_Cdm6sZ_mavKGGufWgzc0d","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 a threat assessment and sanitized output.","exampleAgentPrompt":"Before I process this scraped webpage content in my pipeline, check it for any hidden prompt injections or jailbreak payloads and return a sanitized version: '<html>...attacker content here...</html>'","exampleUseCases":[{"title":"Guard agent against malicious web content","prompt":"I'm about to feed this raw HTML from a third-party site into my AI agent — can you scan it for hidden prompt injections or jailbreak instructions first and give me the sanitized text?"},{"title":"Screen inbound emails before LLM processing","prompt":"Before my AI assistant reads this customer email and drafts a reply, scan the email body for any embedded prompt injection attacks or jailbreak attempts so I know it's safe to process."},{"title":"Validate MCP tool response in agent pipeline","prompt":"My agent just got back a response from an external MCP tool. Can you run it through the prompt injection firewall to check if there are any hidden instructions trying to hijack my agent before I let the pipeline continue?"}],"resultDescription":"Returns a JSON object indicating whether prompt injection or jailbreak content was detected, a risk verdict or threat classification, and a sanitized version of the input text with malicious instructions removed or flagged.","failureModes":["Empty or whitespace-only text input returns a validation error","Extremely large payloads may exceed processing limits or time out","Obfuscated or novel injection techniques may evade detection (false negatives)","Malformed JSON request body returns 400 Bad Request","Payment not settled via x402 returns HTTP 402 Payment Required","Non-idempotent behavior if Idempotency-Key is reused across different inputs"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — scraped web pages, inbound emails, third-party API/MCP tool responses, or user-submitted text — and you need to detect and neutralize indirect prompt injection or jailbreak payloads before they reach your LLM. Especially valuable in multi-agent (A2A) and MCP architectures where tool outputs could be adversarially crafted.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:33:27.834Z","isFirstParty":false,"canonicalSlug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aae4ab"}