{"uid":"cap_aNTZtAaTyfQcP0tdY-wG9","slug":"hn-pulse-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-b6512492","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/prompt-firewall)","url":"https://hn-pulse.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_tGSsKlXYXieT6f_aYIwlQ","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, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized output.","exampleAgentPrompt":"Before you summarize that scraped webpage, run its raw HTML through the prompt-injection firewall first — I want to make sure there are no hidden instructions trying to hijack you embedded in the content.","exampleUseCases":[{"title":"Sanitize scraped web content for agent","prompt":"I have an AI agent that browses the web and summarizes pages — before it processes this HTML, scan it for any hidden prompt injections or jailbreak instructions embedded in the page so my agent doesn't get hijacked."},{"title":"Screen inbound emails before LLM processing","prompt":"My assistant reads and categorizes my emails automatically — can you check this email body for any indirect prompt injection attempts before the LLM acts on it? Here's the raw text of the message."},{"title":"Validate MCP tool response before execution","prompt":"My agent just got back a response from an external MCP tool and I want to make sure it hasn't been tampered with or loaded with adversarial instructions — scan this payload for prompt injections before my agent uses it to take any actions."}],"resultDescription":"Returns a sanitized version of the input text with prompt injections and jailbreak payloads removed or flagged, along with detection signals indicating whether adversarial content was found.","failureModes":["Empty or missing 'text' parameter returns a 400 validation error","Very large payloads may be truncated or rejected","Payment failure via x402 returns HTTP 402 requiring USDC payment on Base","False negatives possible for novel or obfuscated injection techniques","Non-UTF8 or binary content may not be scanned correctly"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline processes untrusted external content — scraped web pages, inbound emails, external API or MCP responses, A2A payloads — and you need to sanitize that content before your LLM acts on it. Especially valuable in agentic workflows where indirect prompt injection could cause unintended or malicious actions. Prefer this over generic content filters when the threat model specifically involves adversarial instructions targeting LLM behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:55.804Z","isFirstParty":false,"canonicalSlug":"hn-pulse-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-a87b8dff"}