huawei-cloud-iam-manage
Pass
Audited by Gen Agent Trust Hub on Nov 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONPERSISTENCEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes the
hcloud(KooCLI) binary for most IAM operations and runs internal Python scripts for provisioning tasks. It usessubprocess.runwithout a shell for environment setup (venv creation and pip installation) and for re-executing scripts within the managed virtual environment. - [EXTERNAL_DOWNLOADS]: It downloads the
skill-quality-clitool from Huawei Cloud's official Open Build Service (OBS) and fetches required Python SDK packages from Huawei Cloud's PyPI mirror during environment preparation. - [PERSISTENCE]: The installation script
scripts/install_cli.shappends a configuration block to~/.bashrcand~/.zshrcto persistently add~/.local/binto the user'sPATHenvironment variable. - [PRIVILEGE_ESCALATION]: The skill has the capability to create and delete IAM users, modify login policies, and generate permanent Access Keys (AK/SK). It provides warnings for high-authority grants and requires explicit user confirmation for all write and delete operations.
- [DYNAMIC_EXECUTION]: The
scripts/ensure_env.pyandscripts/iam_user_provision.pyscripts dynamically detect the presence of dependencies and re-execute themselves using a newly created virtual environment interpreter if the system environment is insufficient. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external IAM APIs and processes user-provided names and descriptions. It mitigates risk by using confirmation gates for all resource changes and validating description fields against a set of forbidden characters to prevent injection into command or API contexts.
Audit Metadata