huawei-cloud-ecs-manage
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The
scripts/ensure_cli.shscript modifies the user's shell profiles (~/.bashrcand~/.profile) to append~/.local/binto thePATHenvironment variable. This is a standard procedure used to ensure that theskill-quality-clitool, which is deployed locally from the skill's included source files, is accessible during execution. It does not install background services or other persistent access mechanisms.\n- [COMMAND_EXECUTION]: The skill executes Huawei Cloud CLI (hcloud) commands through a specialized Python wrapper (scripts/cli/cli_entry.py). This wrapper provides significant security features, including a command whitelist restricted tohcloud, character-set validation for arguments to prevent shell injection, and an automated security gate that requires confirmation tokens for write or delete operations. It also includes an output filtering mechanism that redacts API keys, secret keys, and passwords from the command output.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from Huawei Cloud APIs (such as instance details, quotas, and health status) which could theoretically be manipulated by an attacker who has compromised those resources. To mitigate this risk, the skill uses structured command templates, mandatory dry-run validations, and explicit human-in-the-loop confirmation gates for all lifecycle and modification actions.
Audit Metadata