Prompt-injection scan for untrusted text ($0.002/call)
prompt_injection_scan$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Screens text an agent is about to read (web page, email, tool output, document) for prompt injection: instruction overrides ("ignore previous instructions"), role hijacks and jailbreak modes, fake chat delimiters (<|im_start|>, [INST], "system:" lines), requests to reveal the system prompt or send secrets, Markdown-image exfiltration URLs, hiding things from the user, coerced tool calls, payments or shell one-liners, and text hidden from humans (zero-width, bidi and Unicode tag characters, HTML comments, display:none blocks, base64), which is decoded and scanned too. Returns verdict likely_injection / suspicious / no_injection_found, a 0-100 score, findings with excerpt and line, and hidden-content counts. Rule-based and offline: not a model and not a guarantee. Input: text (POST for long text), optional format, max_findings, clean. Limit: 200,000 characters.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "prompt_injection_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Untrusted text, HTML or Markdown to scan, 1-200,000 characters (POST JSON {"text": "..."} for long text) | |
| clean | No | yes: also return cleaned_text with invisible characters (zero-width, bidi, Unicode tags) removed | no |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| format | No | auto (default, detected), text, html or markdown; html and markdown also read HTML comments and hidden elements | auto |
| max_findings | No | Findings returned, 1-200 (default 50) | 50 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| cache | No | ||
| lines | No | ||
| notes | No | ||
| score | No | ||
| _trial | No | Present when the call was a free trial call. | |
| format | No | ||
| verdict | No | ||
| findings | No | ||
| provider | No | ||
| price_usd | No | ||
| categories | No | ||
| confidence | No | ||
| text_length | No | ||
| cleaned_note | No | ||
| cleaned_text | No | ||
| finding_count | No | ||
| hidden_content | No | ||
| recommendation | No | ||
| findings_truncated | No |