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
subprocessmodule and Terraform'slocal-execprovisioner. 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 viasshandsshpass. These operations are integral to the migration workflow (e.g., runningrsyncand updating boot configurations).\n- [EXTERNAL_DOWNLOADS]: The migration scripts automatically install necessary system utilities, such asrsyncandopenvpn, 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 utilizesshlex.quoteto sanitize inputs used in shell commands, reducing the risk of command injection.
Audit Metadata