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.py downloads a Node.js setup script from deb.nodesource.com and 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.py file contains logic to detect if Huawei Cloud CLI (hcloud) credentials are encrypted. If so, it executes a subprocess command hcloud configure set --cli-auth-encrypt=false to 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.py and scripts/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.py utilizes the __import__() function to dynamically check for the presence of required Python modules like requests and Huawei Cloud SDK components.
  • [PRIVILEGE_ESCALATION]: The deployment templates executed on the remote instance in assets/deploy_script_template.sh use sudo to 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
Risk Level
HIGH
Analyzed
Nov 18, 2026, 04:03 AM