Prompt-injection check (rule/pattern filter, no LLM) for text or a page
injection_check[PAID $0.003 USDC per call via x402 on Base; errors are free] For developers of AI agents that read untrusted web pages, emails or tool outputs. A RULE/PATTERN filter (regex heuristics, no LLM, no model-quality promise): flags instruction overrides ("ignore previous instructions"), role/system impersonation (<|im_start|>, [INST], "system:"), exfiltration requests (send keys/secrets to a URL), hidden text (zero-width/bidi/Unicode-tag chars, HTML comments, display:none / white text, base64 blobs that decode to instructions), tool-call / shell command injection, markdown image/link exfil, and overrides in EN/ES/FR/DE/ZH/JA/RU. POST JSON {"text"} (max 32 KB) or GET ?text= for short text, or {"url"} to fetch one public https page (port 443, public hosts only, max 2 redirects, 64 KB read, 4 s timeout). Returns verdict, score 0-100, findings (category, snippet <= 80 chars with secrets redacted, position) and an honest limits note. Paraphrased or novel attacks can be missed; not a guarantee. Missing/oversized input = 400/413, unreachable page = 502/504, never charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "injection_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional instead of text: public https page to fetch and scan (64 KB read). | |
| text | No | Content to scan (max 32768 chars). Use POST for long text. |