subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def ensure_cli_plugins(): """Ensure required aliyun CLI plugins are installed.""" try: subprocess.run(['aliyun', 'configure', 'set', '--auto-plugin-install', 'true'], capture_output=True, text=True, timeout=10) except Exception: pass- Confidence
- 95% confidence
- Finding
- The script changes global Alibaba Cloud CLI configuration by enabling automatic plugin installation, which is a persistent environment modification outside the expected scope of a read-only health inspection tool. This expands trust to external plugin sources and can change future CLI behavior for the user or host, increasing supply-chain and integrity risk.
