scan_security
Scan project files for OWASP Top-10 security vulnerabilities including SQL injection, XSS, and hardcoded secrets using pattern matching to identify security risks in code.
Instructions
Scan project files for OWASP Top-10 security vulnerabilities using pattern matching. Detects SQL injection (CWE-89), XSS (CWE-79), command injection (CWE-78), path traversal (CWE-22), hardcoded secrets (CWE-798), insecure crypto (CWE-327), open redirects (CWE-601), and SSRF (CWE-918). Skips test files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Directory to scan (default: whole project) | |
| rules | Yes | Rules to apply (use ["all"] for full scan) | |
| severity_threshold | No | Minimum severity to report (default: low) |