huawei-cloud-flexus-l-deploy-jiuwenswarm
Fail
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: HIGHCOMMAND_EXECUTIONCREDENTIALS_UNSAFEREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/install_deps.pydownloads a Node.js setup script fromdeb.nodesource.comand pipes it directly into the bash shell for execution. This is a common but sensitive pattern for environment setup from a well-known service provider. - [COMMAND_EXECUTION]: The
scripts/utils.pyfile contains logic to detect if Huawei Cloud CLI (hcloud) credentials are encrypted. If so, it executes a subprocess commandhcloud configure set --cli-auth-encrypt=falseto disable encryption, enabling the script to read access keys in plaintext for subsequent API calls. - [CREDENTIALS_UNSAFE]: The skill interactively collects sensitive credentials including Model API keys, Feishu App Secrets, and DingTalk Client Secrets in
scripts/config_model.pyandscripts/config_channel.py. These secrets are subsequently written to environment and configuration files on the remote instance. - [DYNAMIC_EXECUTION]: The environment preparation script
scripts/prepare_env.pyutilizes the__import__()function to dynamically check for the presence of required Python modules likerequestsand Huawei Cloud SDK components. - [PRIVILEGE_ESCALATION]: The deployment templates executed on the remote instance in
assets/deploy_script_template.shusesudoto perform administrative tasks, such as adding PPAs, updating system packages, and configuring systemd services.
Recommendations
- HIGH: Downloads and executes remote code from: https://deb.nodesource.com/setup_18.x - DO NOT USE without thorough review
Audit Metadata