{"uid":"cap_D0QYqxLQ4aXNUZES43YqN","slug":"hn-pulse-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-b3734f14","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://hn-pulse.agentdiet.dev/v1/workflows/rag-context-sanitizer)","url":"https://hn-pulse.agentdiet.dev/v1/workflows/rag-context-sanitizer?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_EIdcI-0u6AqRen_vQdU0M","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"hn-pulse.agentdiet.dev","brandSlug":"hn-pulse-agentdiet-dev-mpp","brandBaseUrl":"https://hn-pulse.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized text.","exampleAgentPrompt":"Before you use the content from that web page in your reasoning, run it through the prompt-injection firewall to make sure there are no hidden instructions trying to hijack your behavior.","exampleUseCases":[{"title":"RAG pipeline content sanitization","prompt":"I'm about to feed this scraped article into my RAG pipeline — can you scan it for hidden prompt injections first and give me the sanitized version?"},{"title":"Email-based jailbreak screening","prompt":"This email was forwarded by a user and I need to process it with my agent — can you check it for any embedded jailbreak or prompt injection attempts before I hand it off?"},{"title":"MCP tool response safety check","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it doesn't contain adversarial instructions — can you sanitize the payload before I continue the workflow?"}],"resultDescription":"Returns a sanitized version of the input text with hidden prompt injections and jailbreak payloads removed or flagged, along with detection metadata indicating what was found.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large payloads may time out or be rejected","Ambiguous or obfuscated injections may not be detected with full confidence","Payment failure via x402 returns 402 Payment Required","Network errors or service unavailability return 5xx responses"],"whenToPreferThis":"Choose this endpoint when your agent is consuming untrusted external content — scraped web pages, user-submitted emails, third-party MCP/A2A responses, or RAG retrieved documents — before passing that content into an LLM context window. It is specifically designed for agentic pipelines where indirect prompt injection is a threat vector, making it preferable to generic content filters that don't understand LLM-specific attack patterns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:43:43.587Z","isFirstParty":false,"canonicalSlug":"hn-pulse-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-a87b8dff"}