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 uses subprocess.run without 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-cli tool 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.sh appends a configuration block to ~/.bashrc and ~/.zshrc to persistently add ~/.local/bin to the user's PATH environment 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.py and scripts/iam_user_provision.py scripts 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
Risk Level
SAFE
Analyzed
Nov 30, 2026, 11:56 AM