subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"""Auto-install ModelStudio plugin if missing.""" try: print("正在自动安装 ModelStudio 插件...", file=sys.stderr) result = subprocess.run( ["aliyun", "plugin", "install", "--names", "aliyun-cli-modelstudio", "--enable-pre"], capture_output=True,- Confidence
- 85% confidence
- Finding
- The code automatically installs an external CLI plugin on the user's machine without explicit confirmation. While there is no direct command injection here, silently performing software installation expands the system's trusted code base and creates a supply-chain and unexpected-side-effect risk in the context of an agent skill.
