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 theget-pip.pybootstrap script from well-known or vendor-managed sources (bootstrap.pypa.ioormirrors.huaweicloud.com) if the Python package manager is missing. This is a standard procedure for environment bootstrapping. - [COMMAND_EXECUTION]: The
scripts/ensure_env.pyscript executes various system commands to manage the environment, includingpipfor dependency installation,venvfor 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.pyscript utilizesos.execvto 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
sudoto install missing system-level Python dependencies viaapt,yum, ordnf. 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/, andscripts/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). Whilescripts/config.pydisables 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