subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
zip_path = BIN_DIR / "realesrgan.zip" try: BIN_DIR.mkdir(parents=True, exist_ok=True) subprocess.run( ["curl", "-fsSL", "-o", str(zip_path), ESRGAN_ZIP_URL], capture_output=True, timeout=120, check=True, )- Confidence
- 90% confidence
- Finding
- subprocess.run( ["curl", "-fsSL", "-o", str(zip_path), ESRGAN_ZIP_URL], capture_output=True, timeout=120, check=True, )
