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
- 84% confidence
- Finding
- The code invokes an external installer command via subprocess and automatically feeds confirmation input, causing network-retrieved software to be installed without an explicit user approval step at execution time. Even though shell injection is not present because arguments are passed as a list, this still expands the skill's trust boundary to external binaries and package sources, which is risky for a skill advertised as local audio processing.
