analyze_cross_file_dataflow
Track user input flowing across module boundaries — detects injection vulnerabilities spanning multiple files.
Instructions
Track user input flowing across module boundaries — detects injection vulnerabilities spanning multiple files. Pass files array with file contents. For single-file analysis, use analyze_dataflow instead. Example: analyze_cross_file_dataflow({files: [{path: 'src/api.ts', content: '...'}, {path: 'src/db.ts', content: '...'}]})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project directory path. When provided, auto-discovers all JS/TS files — no need to pass file contents manually. | |
| files | No | List of files to analyze (ignored when path is provided) | |
| format | No | Output format | markdown |