subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# 🔥 关键:自动输入 Y(默认 yes),彻底无交互 logger.info(" 自动确认下载中...") subprocess.run(["ffdl", "install"], input="Y\n", text=True, check=True) # 下载完后刷新模块 importlib.reload(ffdl)- Confidence
- 91% confidence
- Finding
- The script launches an external installer command via subprocess to fetch and install ffmpeg automatically. Even though the argv is hardcoded and not user-injected, this still introduces supply-chain and arbitrary binary execution risk because the skill performs network-backed installation and executes whatever the installer resolves on the host PATH.
