Scan a path
scan_pathScan a file or directory for prompt injection, hidden text, credential theft, and data exfiltration before installing or running a skill, plugin, hook, or MCP server.
Instructions
Scans one file or directory (a skill folder, plugin, hook script, MCP server source or MCP config) for malicious or risky content, such as prompt injection, hidden text, credential theft and data exfiltration. Useful before a skill, plugin or server is installed, enabled or run. Read-only and offline: nothing is executed, written or sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Also walk node_modules, virtualenvs and caches. | |
| path | Yes | File or directory to scan. Relative paths resolve against the server working directory; a leading ~ means the home directory. | |
| max_findings | No | Largest number of findings to return, most severe first. | |
| min_severity | No | Leave out findings below this severity. | low |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| counts | Yes | ||
| targets | Yes | ||
| version | Yes | ||
| findings | Yes | ||
| filesScanned | Yes | ||
| skippedFiles | Yes | ||
| highestSeverity | Yes | ||
| omittedFindings | Yes |