huawei-cloud-sms-migration-assistant
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The Python scripts
pre_migration_check.pyandpost_migration_check.pyuse thesubprocessmodule to execute system commands such aspingand thehcloudCLI for infrastructure verification and metadata retrieval. - [PRIVILEGE_ESCALATION]: The migration repair process described in
MIGRATION_REFERENCE.mdrequires high-level privileges to perform operations like mounting file systems, usingchrootto enter the target disk environment, and utilizingchpasswdto set the root password for the migrated instance. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data from
migration_hosts.jsonand tool outputs. While this creates a potential attack surface for indirect prompt injection, the skill includes explicit instructions for the agent to verify host lists and confirm actions with the user before proceeding. - [EXTERNAL_DOWNLOADS]: The instructions guide the installation of the
SMS-Agent, a vendor-provided tool from Huawei Cloud. These downloads and executions are within the scope of the vendor's own infrastructure and are documented neutrally as intended functionality. - [CREDENTIALS_UNSAFE]: The documentation and interactive scripts utilize placeholders like
<AK>and<SK>for Huawei Cloud Access Keys and Secret Keys. The skill correctly instructs users to provide these values at runtime rather than hardcoding them, following secret management best practices.
Audit Metadata