skills/huaweicloud/huaweicloud-skills/huawei-cloud-architecture-resource-archive/Gen Agent Trust Hub
huawei-cloud-architecture-resource-archive
Pass
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/check_koocli.pydownloads the Huawei Cloud CLI (hcloud) binary fromhttps://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/latest. This is a vendor-owned resource hosted on Huawei Cloud's Object Storage Service (OBS) and is required for the skill to interact with the cloud environment. - [COMMAND_EXECUTION]: The toolchain extensively uses
subprocess.runto executehcloudcommands for resource discovery. Analysis shows it uses list-based command construction (e.g.,subprocess.run(['hcloud', 'ECS', ...])), which effectively mitigates shell injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external cloud API responses (resource names, IDs, metadata). While this presents a theoretical injection surface (e.g., a maliciously named cloud resource), the scripts process this data as structured JSON and do not interpolate it into instructions that would modify the agent's behavior. Boundary markers are absent, but standard JSON parsing provides a degree of sanitization.
- [DYNAMIC_EXECUTION]:
scripts/query_resources.pyusesimportlib.import_moduleto dynamically load service-specific query scripts (e.g.,query_vpc,query_ecs). These are local modules shipped with the skill.scripts/check_koocli.pyalso uses__import__to verify the presence of required Python packages at runtime.
Audit Metadata