{"uid":"cap_8Cy62lKg40Z_ol1uYzk6R","slug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-299bfdaa","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://github-audit.agentdiet.dev/v1/tool-poisoning-shield)","url":"https://github-audit.agentdiet.dev/v1/tool-poisoning-shield?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_nRYx6-4WU1JrHofL2VWI0","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"github-audit.agentdiet.dev","brandSlug":"github-audit-agentdiet-dev-mpp","brandBaseUrl":"https://github-audit.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injection and jailbreak attacks, returning sanitized output.","exampleAgentPrompt":"Before you process that scraped web page, run it through the prompt-injection firewall first — I want to make sure there are no hidden jailbreak instructions embedded in the HTML before you act on it.","exampleUseCases":[{"title":"Guarding agent from poisoned tool output","prompt":"The MCP tool just returned a response with some weird text in it — can you run it through the prompt-injection firewall to check if there's a hidden instruction trying to hijack your behavior before you continue?"},{"title":"Sanitizing scraped web content for RAG","prompt":"I'm about to feed these scraped web pages into my knowledge base — please scan each one for hidden prompt injections and only use the sanitized versions so my RAG pipeline doesn't get poisoned."},{"title":"Screening inbound emails for jailbreak payloads","prompt":"My agent reads customer emails and takes actions — before processing this batch of inbound emails, run them through the injection firewall to make sure none of them are trying to manipulate the agent with hidden instructions."}],"resultDescription":"Returns an object containing the firewall's verdict on whether the input text contains prompt injection or jailbreak content, along with sanitized text with adversarial instructions removed or flagged, enabling safe downstream use by AI agents.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long payloads may exceed size limits or increase latency","Novel or obfuscated injection techniques may evade detection","Non-text binary content passed as string may produce unreliable results","Payment required (HTTP 402) if x402 micropayment header is missing or invalid"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests untrusted third-party content — scraped web pages, inbound emails, MCP tool responses, or A2A agent payloads — and you need to detect and neutralize hidden prompt injection or jailbreak attempts before they influence agent behavior. Particularly valuable in agentic workflows where tool outputs are automatically trusted and processed without human review.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:37:22.321Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-0d76783c"}