huawei-cloud-migration-ecs-across-region

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill orchestrates migration tasks by executing local shell commands through Python's subprocess module and Terraform's local-exec provisioner. These commands are used for VPC/Subnet management, security group configuration, and initializing the migration environment.\n- [REMOTE_CODE_EXECUTION]: To synchronize data and finalize system configurations on source and target servers, the skill executes remote commands via ssh and sshpass. These operations are integral to the migration workflow (e.g., running rsync and updating boot configurations).\n- [EXTERNAL_DOWNLOADS]: The migration scripts automatically install necessary system utilities, such as rsync and openvpn, on remote hosts using official system package managers (yum, dnf, apt) to ensure all functional prerequisites are satisfied.\n- [SAFE]: Sensitive credentials like Huawei Cloud AK/SK are managed using Terraform's sensitive variable types and passed via environment variables, avoiding insecure hardcoding. Additionally, the skill utilizes shlex.quote to sanitize inputs used in shell commands, reducing the risk of command injection.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 04:04 AM