subprocess module call
- Category
- Dangerous Code Execution
- Confidence
- 94% confidence
- Finding
This code automatically installs a CLI plugin on the host, which modifies the local system and expands the skill's capabilities beyond memory operations. In an agent context, silent software installation is dangerous because it changes the execution environment without explicit user consent and increases supply-chain and privilege risk.
- Content
python """Auto-install ModelStudio plugin if missing.""" try: print("Installing ModelStudio plugin...", file=sys.stderr) result = subprocess.run( ["aliyun", "plugin", "install", "--names", "aliyun-cli-modelstudio", "--enable-pre"], capture_output=True,
