analyze_dataflow
Analyze JavaScript and TypeScript code to detect injection vulnerabilities by tracking user input into SQL queries and dangerous sinks. Reveals security flaws that regex patterns miss through data flow analysis.
Instructions
Track user input (request body, URL params, form data) flowing into dangerous sinks (SQL queries, eval, file operations, redirects). Detects injection vulnerabilities that regex rules miss by following variable assignments through code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to analyze for tainted data flows | |
| language | Yes | Language (JS/TS only) | |
| format | No | Output format | markdown |