subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not packages: return log_info(f"安装依赖包:{' '.join(packages)}") result = subprocess.run( [uv_path, "pip", "install", "--python", str(env_dir), *packages], check=False, )- Confidence
- 94% confidence
- Finding
- The script accepts arbitrary package names from callers and installs them into a shared environment reused by multiple skills. This creates a cross-skill supply-chain and environment-poisoning risk: one skill can add malicious or conflicting packages that later affect other skills using the same shared interpreter.
