{"uid":"cap_URFY8neJ_zeHGn2VDS6_d","slug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b5142965","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://onchain-risk.agentdiet.dev/v1/prompt-shield)","url":"https://onchain-risk.agentdiet.dev/v1/prompt-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_alADfennLol2ccoU9RoiE","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"onchain-risk.agentdiet.dev","brandSlug":"onchain-risk-agentdiet-dev-mpp","brandBaseUrl":"https://onchain-risk.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized text.","exampleAgentPrompt":"Before you process that web page content I just fetched, scan it for any hidden prompt injections or jailbreak instructions embedded in the HTML and give me the sanitized version safe to use.","exampleUseCases":[{"title":"Sanitizing scraped web content for agents","prompt":"I'm about to feed this webpage's text into my reasoning pipeline — can you first scan it for any hidden prompt injection attacks or adversarial instructions buried in the HTML before I use it?"},{"title":"Checking MCP tool responses for hijacking","prompt":"Before my agent acts on this MCP tool response, please run it through the prompt-injection firewall to make sure no malicious instructions are embedded in the payload."},{"title":"Screening inbound emails for jailbreak attempts","prompt":"Can you scan this email body for any hidden prompt injections or jailbreak payloads that might try to hijack my AI assistant if I let it read the message?"}],"resultDescription":"Returns a structured object indicating whether prompt injection or jailbreak content was detected, along with sanitized text stripped of malicious instructions, enabling agents to safely process the cleaned output.","failureModes":["Missing required 'text' parameter returns a validation error","Empty string input rejected due to minLength:1 constraint","Very large payloads may timeout or exceed size limits","Payment failure (HTTP 402) if USDC micropayment is not provided","False negatives possible for highly obfuscated injections not yet in detection rules","Non-text binary content may produce unreliable scan results"],"whenToPreferThis":"Choose this endpoint when your AI agent is about to consume externally sourced content — web pages, emails, MCP responses, or A2A payloads — that could contain adversarial hidden instructions designed to hijack the agent's behavior. It is especially valuable in agentic pipelines where the LLM processes untrusted third-party data before taking actions. Prefer this over generic content filters when you need specific detection of prompt injection and jailbreak patterns rather than just toxicity or spam filtering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:25.743Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cf120aa3"}