{"uid":"cap_QIW247EBV3scGV8OVBpT8","slug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-e2ed75b0","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://agentdiet.dev/v1/system-prompt-guard)","url":"https://agentdiet.dev/v1/system-prompt-guard?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_a5HwAyBTXy3wDCGVukVy8","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agentdiet.dev","brandSlug":"agentdiet-dev-mpp","brandBaseUrl":"https://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 this scraped web page content, run it through the prompt-injection firewall to check for any hidden jailbreak or prompt injection attacks: [paste untrusted HTML or text here].","exampleUseCases":[{"title":"Securing scraped web content for agents","prompt":"I need you to scan this webpage content I just fetched before you summarize it — check it for any hidden prompt injections or adversarial instructions embedded in the HTML that could hijack your behavior."},{"title":"Filtering malicious email payloads","prompt":"Before you parse and act on this email I received, please run it through the prompt-injection firewall to make sure there are no jailbreak instructions hidden in the body text."},{"title":"Sanitizing MCP tool responses","prompt":"This MCP tool just returned a response with some suspicious-looking text — can you scan it for hidden prompt injection payloads before we pass it further down the agent pipeline?"}],"resultDescription":"Returns a JSON object containing the sanitized version of the input text with any detected prompt injection or jailbreak payloads removed or flagged, allowing agents to safely consume the cleaned content.","failureModes":["Empty or missing 'text' parameter returns a validation error","Extremely long payloads may exceed input limits","Obfuscated or novel injection techniques may not be detected","Non-text binary content may not be parseable","Rate limiting or payment failures via x402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to safely ingest untrusted external content — such as scraped web pages, emails, third-party API responses, MCP tool outputs, or A2A payloads — before processing them, to prevent indirect prompt injection and jailbreak attacks from hijacking agent behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:18:50.380Z","isFirstParty":false,"canonicalSlug":"agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-firewall-fbd96f9b"}