analyze_cross_file_dataflow
Detect cross-file injection vulnerabilities by tracing tainted user input across module boundaries. Resolves imports, builds module graphs, and tracks data flow from HTTP handlers to dangerous sinks.
Instructions
Track user input flowing across module boundaries — detects injection vulnerabilities that span multiple files. Resolves imports/exports, builds a module graph, and follows tainted data from HTTP handlers through helper functions to dangerous sinks (SQL, eval, redirect, file ops). Pass all related files for best results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | List of files to analyze: [{path, content}] | |
| format | No | Output format | markdown |