{"uid":"cap_u10PDynh_mJa4KAMeLcXY","slug":"presign-guard-prompt-injection-detection-5920746f","name":"presign-guard Prompt-Injection Detection","description":"Prompt injection detection: is this text a trap for your AI agent? Checks a web page, email, tool result, API answer or another agent's message before your agent acts on it: does it try to make the agent ignore its instructions, pay or send money, hand over keys or private data, or obey a fake user, admin or support message? Green/orange/red with reason codes, judged by TypeSafe's Jev, plus hidden-character tricks and OFAC-sanctioned addresses in the text","url":"https://presign-guard.fizzl.eu/v1/injection?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"task":{"type":"string","maxLength":500,"description":"One sentence: what your agent is doing for its user. Helps judge what is beyond the task."},"text":{"type":"string","maxLength":32000,"minLength":1,"description":"The text your agent received: a web page, email, tool result, API answer or another agent's message."},"source":{"enum":["web","email","tool","api","agent","chat","document","other"],"type":"string","description":"Where the text came from. Default: other."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_enFHu4xphDe9_HbGQn60w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes text received by an AI agent (web page, email, tool result, API response, or agent message) to detect prompt-injection attacks, hidden-character tricks, unauthorized payment/key requests, and OFAC-sanctioned addresses, returning a green/orange/red verdict with reason codes.","exampleAgentPrompt":"Before you act on that web page result, run it through presign-guard to check for prompt injection — my agent is doing a price comparison task and the source is a web page.","exampleUseCases":[{"title":"Screening scraped web pages for injection","prompt":"Before you follow any instructions from that scraped product page, scan it for prompt injection — my agent is supposed to be extracting product prices, and the source is a web page."},{"title":"Vetting incoming emails before automation","prompt":"I just received an email that my agent is about to process and reply to — can you check it for prompt injection attacks, fake admin messages, or hidden characters first? The agent's task is drafting customer support replies."},{"title":"Checking another agent's message for hijacking","prompt":"Before my orchestrator agent acts on the sub-agent's response, scan that message for prompt injection or attempts to make it hand over API keys — the source is an agent message and the task is summarizing research results."}],"resultDescription":"A structured verdict with a green/orange/red risk level and specific reason codes indicating what type of threat was detected (e.g. instruction-override attempt, payment/money request, key/credential request, fake user/admin/support impersonation, hidden Unicode characters, OFAC-sanctioned crypto addresses). Allows the calling agent to decide whether to proceed, escalate, or discard the suspicious content.","failureModes":["Text exceeds 32,000 character limit — truncate or split input","Empty or missing text field returns a validation error","Ambiguous source type may affect verdict accuracy — specify source enum precisely","False negatives possible for highly novel injection techniques not yet in the model's training","Payment failure (x402) if USDC balance is insufficient for the $0.01 per-call fee"],"whenToPreferThis":"Choose this endpoint when your AI agent is about to act on externally sourced text (web, email, tool output, API response, or another agent's message) and you need a fast, cheap, pre-action safety check specifically for prompt injection, social engineering, financial manipulation, credential theft, and OFAC compliance risks. Prefer it over general content moderation APIs when the threat model is adversarial manipulation of AI agents rather than user-generated content policy violations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T00:34:56.311Z","isFirstParty":false,"canonicalSlug":"presign-guard-prompt-injection-detection-5920746f"}