skills/huaweicloud/huaweicloud-skills/huawei-cloud-cce-kubernetes-event-analyzer/Gen Agent Trust Hub
huawei-cloud-cce-kubernetes-event-analyzer
Warn
Audited by Gen Agent Trust Hub on Jul 28, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the Python
subprocess.runmodule to execute system commands likehcloudandkubectl. These calls use list-based arguments withoutshell=True, which reduces the risk of shell injection. Parameters likenamespaceare validated against a strict regex pattern before being passed to the command line. - [EXTERNAL_DOWNLOADS]: The documentation (
references/kubectl-cce.md) instructs users to download and install thekubectl-cceplugin from an untrusted personal GitHub repository (github.com/pancake0001/kubectl-cce-plugin). This binary is used by the skill for cluster discovery and as a fallback access method. Executing unverified third-party binaries poses a supply chain risk. - [CREDENTIALS_SAFE]: The skill handles Huawei Cloud credentials (AK/SK) through environment variables or explicit tool parameters. It includes a
redact_commandutility inscripts/huawei_cloud/common.pyto mask these values in logs or command outputs, preventing accidental credential exposure. - [DATA_EXFILTRATION]: The skill implements logic to write temporary kubeconfig files to local disk for
kubectlexecution. These files are correctly created usingtempfile.NamedTemporaryFileand are deleted infinallyblocks to ensure sensitive data is not persisted on the filesystem.
Audit Metadata