Injection Scan
injection_scanScan untrusted text for prompt-injection patterns before ingestion. FREE.
Use on any web page, email, or document an agent is about to ingest to catch prompt-injection, concealment, approval-bypass and data-exfiltration patterns, and text addressed to AI agents, before they reach the agent's context. Typical input {"text": ""} returns {"injection_suspected": bool, "count": N, "hits": [{"line": N, "pattern": "...", "text": ""}], "note": "..."}.
Not for reviewing a skill file you control (audit_skill_file), and a clean result is not a guarantee of safety - it reports pattern matches only. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
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": "injection_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The untrusted content to scan, pasted as a single string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||