{"uid":"cap_NLKpOivvYZinG_HqDlDs1","slug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-093ba455","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-injection-shield)","url":"https://defi-yield.agentdiet.dev/v1/prompt-injection-shield?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_1SevK8zN2og49evc-5cQT","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, can you run it through the prompt-injection firewall to check for any hidden instructions or jailbreak attempts and give me the sanitized version?","exampleUseCases":[{"title":"Sanitize scraped web content for agent pipeline","prompt":"I'm about to feed this HTML I scraped from an external website into my AI agent — can you first scan it for any hidden prompt injections or adversarial instructions and return the cleaned text?"},{"title":"Verify email body before LLM summarization","prompt":"Before my agent summarizes this inbound email, run the body through the prompt-injection firewall to make sure there are no embedded jailbreak commands trying to hijack my assistant."},{"title":"Shield agent from malicious MCP tool response","prompt":"My agent just got a response back from a third-party MCP tool — can you scan that payload for indirect prompt injection or hidden jailbreak instructions before I let the agent act on it?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the submitted text with any detected prompt injection or jailbreak payloads removed or flagged, allowing the calling agent to safely process the cleaned content downstream.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Extremely long inputs may be truncated or rejected","Payment not provided or invalid x402 credentials result in a 402 Payment Required response","Network timeouts if the scanning service is overloaded","False negatives — sophisticated injections may not always be caught","Ambiguous or borderline content may produce inconsistent sanitization results"],"whenToPreferThis":"Use this endpoint whenever your agent pipeline ingests content from untrusted external sources — web pages, emails, third-party API responses, MCP tool outputs, or A2A messages — before passing that content to an LLM. It is especially valuable in agentic workflows where indirect prompt injection could cause the agent to execute unintended actions. Prefer this over generic text-cleaning tools when the threat model specifically involves adversarial LLM prompt manipulation rather than simple spam or malware.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:50.049Z","isFirstParty":false,"canonicalSlug":"defi-yield-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-76aae4ab"}