huawei-cloud-ecs-passwordless-login
Warn
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill extensively uses the
hcloudCLI and standard system utilities such asssh,ssh-keygen,sed, andnohupto automate IAM configuration, manage SSH key pairs, and perform remote system operations. - [EXTERNAL_DOWNLOADS]: Fetches the
hcloud(KooCLI) binary from a vendor-owned domain (hwcloudcli.obs.cn-north-1.myhuaweicloud.com) and installs official Huawei Cloud Python SDKs (huaweicloudsdkcore,huaweicloudsdkiotda). - [DYNAMIC_EXECUTION]: Dynamically constructs shell scripts and JSON configuration files, such as
<temp_dir>/coc_create.jsonand a background cleanup script, to facilitate cloud operations and automated maintenance tasks. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: Accepts user-provided
ecs_instance_idandecs_ipparameters via theSKILL.mdentry point. - Boundary markers: Does not utilize delimiters or specific instructions to isolate these inputs from the shell environment.
- Capability inventory: Employs high-capability shell tools including
hcloudandsshacross multiple workflow steps (File:SKILL.md). - Sanitization: Lacks documented validation or escaping for user-supplied instance IDs or IP addresses before they are interpolated into shell command strings, creating a potential injection surface.
Audit Metadata