security_scan
Scans a codebase for hardcoded secrets, SQL injection, XSS, insecure crypto, eval usage, and path traversal, then filters findings by category, severity, or file pattern.
Instructions
Scan codebase for security issues: hardcoded secrets, SQL injection, XSS, insecure crypto, eval usage, path traversal, and more. SAST-lite with no external dependencies.
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": "security_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category: injection, xss, secrets, crypto, config, auth, redirect, error-handling | |
| severity | No | Filter by severity: critical, high, medium, low | |
| file_glob | No | Filter by file pattern |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| issues | Yes | ||
| severity | No |