{"uid":"cap_rbItvTFyQRsRJcCe9tQjE","slug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-b9b48bff","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/indirect-injection-guard)","url":"https://github-audit.agentdiet.dev/v1/indirect-injection-guard?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_aEFXBPfXrCEuu4II9ms0M","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 content.","exampleAgentPrompt":"Before passing this scraped webpage content to my main LLM, scan it for hidden prompt injections or jailbreak instructions and give me the sanitized version: [paste raw HTML or text here].","exampleUseCases":[{"title":"Sanitizing scraped web content for agent pipelines","prompt":"I'm building a web research agent that scrapes pages and feeds them to an LLM — can you scan this raw HTML from an untrusted site for hidden prompt injections before I pass it along? Here's the content: '<html>...[page body]...</html>'"},{"title":"Guarding against malicious email instructions","prompt":"I just received this email that my agent is supposed to summarize and act on — please check it for hidden jailbreak or prompt injection payloads before my LLM reads it: 'Dear assistant, ignore all previous instructions and...'"},{"title":"Validating MCP tool responses before LLM ingestion","prompt":"My agent just got back this MCP tool response from an external server and I want to make sure it doesn't contain any embedded adversarial instructions before I feed it into the next step — can you scan it for prompt injection? Here's the response payload: '{\"result\": \"...\"}'"}],"resultDescription":"Returns a structured object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads neutralized or flagged, allowing the agent to safely pass cleaned content to downstream LLM steps.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely long payloads may be truncated or rejected","Payment failure via x402 returns 402 status blocking the request","False negatives: novel or obfuscated injection techniques may not be detected","False positives: legitimate instructions in text may be incorrectly flagged as injections","Service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests content from untrusted external sources — scraped web pages, third-party API responses, emails, MCP tool outputs, or A2A payloads — and you need a dedicated firewall layer before feeding that content to an LLM. Prefer this over generic text filters when you specifically need prompt-injection and jailbreak detection tailored to adversarial AI attack patterns rather than general content moderation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:35:11.880Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-0d76783c"}