sast_command_injection
Analyzes source files for command injection vulnerabilities in child_process.exec(), execSync(), and spawn() with shell:true, reporting file, line, column, and dangerous expression.
Instructions
AST-scan for command injection: child_process.exec(), execSync(), spawn() with shell:true — where arguments include user-controlled input. Reports file, line, column, and the exact dangerous expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path containing source files to analyze |