Tainted flow: 'cmd' from os.getenv (line 92, credential/environment) → subprocess.run (code execution)
Medium
- Category
- Data Flow
- Content
"--channel", "whatsapp", "--target", target, "--message", message] r = subprocess.run(cmd, capture_output=True, text=True, timeout=15) if r.returncode == 0: log.info(f"✅ WhatsApp → {target}") else:- Confidence
- 80% confidence
- Finding
- r = subprocess.run(cmd, capture_output=True, text=True, timeout=15)
