sast_code_execution
Scans source code for dangerous code execution patterns like eval() and new Function(), flagging any occurrence to prevent security vulnerabilities.
Instructions
AST-scan for dangerous code execution: eval(), new Function(), vm.runInNewContext(), setTimeout(string). Any occurrence is flagged regardless of input source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path containing source files to analyze |