huawei-cloud-storage-query

Pass

Audited by Gen Agent Trust Hub on Nov 6, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill's environment setup script (scripts/ensure_env.py) may download the get-pip.py bootstrap script from well-known or vendor-managed sources (bootstrap.pypa.io or mirrors.huaweicloud.com) if the Python package manager is missing. This is a standard procedure for environment bootstrapping.
  • [COMMAND_EXECUTION]: The scripts/ensure_env.py script executes various system commands to manage the environment, including pip for dependency installation, venv for virtual environment creation, and system package managers (apt, yum, dnf, brew, winget) to ensure Python 3.6+ is available. These operations are limited to the initial setup phase.
  • [DYNAMIC_EXECUTION]: The scripts/ensure_env.py script utilizes os.execv to re-execute itself within the project's virtual environment (.venv) upon creation. This ensures the skill runs with the correct dependencies and isolated Python interpreter. It also uses __import__ to dynamically verify the presence of required Huawei Cloud SDK modules.
  • [PRIVILEGE_ESCALATION]: On Linux systems, the setup script may attempt to use sudo to install missing system-level Python dependencies via apt, yum, or dnf. This is a standard administrative operation for environment configuration.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a potential attack surface for indirect prompt injection as it ingests data from external cloud resources and provides it to the agent context. \n
  • Ingestion points: Cloud resource metadata (names, tags, IDs) queried via scripts in scripts/evs/, scripts/obs/, scripts/sfs/, and scripts/cbr/. \n
  • Boundary markers: Absent; the skill does not explicitly wrap queried data in delimiters to warn against embedded instructions. \n
  • Capability inventory: Subprocess execution via skill action=exec. \n
  • Sanitization: Absent; the scripts output raw text or JSON as received from the Cloud APIs.
  • [SAFE]: The skill explicitly warns against outputting sensitive environment variables (HW_ACCESS_KEY, HW_SECRET_KEY, HW_SECURITY_TOKEN). While scripts/config.py disables SSL certificate verification, which is a weak security practice, it is a common configuration in certain proxied or restricted network environments and does not indicate malicious intent.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 6, 2026, 04:31 AM