huawei-cloud-network-query

Warn

Audited by Gen Agent Trust Hub on Nov 2, 2026

Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The environment preparation script scripts/ensure_env.py contains conditional logic to install system packages (such as python3, python3-pip, and python3-venv) using sudo on Linux-based systems if they are not already present.
  • [COMMAND_EXECUTION]: The skill executes various system-level commands through subprocess.run to manage the local execution environment, including package management tools (apt, yum, dnf, brew, winget) and Python virtual environment setup. Additionally, the skill configuration explicitly disables SSL certificate verification for network requests in scripts/config.py and scripts/ensure_env.py, which is an insecure practice that facilitates potential interception of traffic.
  • [EXTERNAL_DOWNLOADS]: Fetches the get-pip.py utility from a Huawei Cloud mirror or the official Python packaging authority repository to install the Python package manager if it is missing from the host system.
  • [DYNAMIC_EXECUTION]: scripts/ensure_env.py utilizes os.execv to perform process replacement, restarting the script execution within a created virtual environment. It also uses dynamic module imports (__import__) to check for the presence of required Huawei Cloud SDK libraries.
  • [INDIRECT_PROMPT_INJECTION]: The skill's functionality for querying numerous cloud resource attributes provides a potential surface for indirect prompt injection, where malicious instructions could be embedded in resource metadata (such as security group descriptions or VPC names) to influence the agent's behavior.
  • Ingestion points: Resource query scripts located in the scripts/ directory (e.g., scripts/vpc/list_vpcs.py).
  • Boundary markers: Absent; query results are rendered to the agent as tab-separated plain text without explicit delimiters or safety warnings.
  • Capability inventory: Ability to perform system environment setup with elevated privileges and execute arbitrary Python logic within the skill's context.
  • Sanitization: Absent; the skill passes raw API responses directly into the output rendering logic.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 2, 2026, 10:22 PM