Tainted flow: 'command' from os.getenv (line 133, credential/environment) → subprocess.run (code execution)
Medium
- Category
- Data Flow
- Content
"pcm_s16le", str(output_wav_path), ] completed = subprocess.run(command, capture_output=True, text=True, encoding="utf-8", errors="replace") if completed.returncode != 0 or not output_wav_path.exists(): message = completed.stderr.strip() or completed.stdout.strip() or "ffmpeg failed to normalize media" raise MediaError(message)- Confidence
- 89% confidence
- Finding
- completed = subprocess.run(command, capture_output=True, text=True, encoding="utf-8", errors="replace")
