subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
install_cmd.extend(packages_requested) else: install_cmd = [str(python_bin), "-m", "pip", "install", *packages_requested] subprocess.run( # nosec B603 install_cmd, check=True, capture_output=True, text=True, env=env ) packages_installed_now = packages_requested- Confidence
- 95% confidence
- Finding
- subprocess.run( # nosec B603 install_cmd, check=True, capture_output=True, text=True, env=env )
