Tainted flow: 'command' from sys.stdin.read (line 1470, user input) → subprocess.run (code execution)
- Category
- Data Flow
- Confidence
- 90% confidence
- Finding
External input (network, user) flows to a code execution sink. This enables remote code execution or command injection.
- Content
python def run_cli_process(command: list[str], timeout: int) -> tuple[int, str, str]: completed = subprocess.run( command, capture_output=True, text=False,
