huawei-cloud-cce-kubernetes-event-analyzer

Fail

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: HIGHEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill documentation in 'references/kubectl-cce.md' instructs users to download and install a binary plugin from a personal GitHub repository ('github.com/pancake0001/kubectl-cce-plugin'). This source is not verified and does not belong to a trusted organization or the official vendor.
  • [REMOTE_CODE_EXECUTION]: The skill relies on the execution of the aforementioned 'kubectl-cce' binary to perform cluster operations. The Python dispatcher invokes this third-party executable via 'subprocess.run' in 'scripts/huawei_cloud/kubectl_client.py'.
  • [COMMAND_EXECUTION]: The skill frequently uses 'subprocess.run' to execute system commands including 'hcloud', 'kubectl', and the 'kubectl-cce' plugin. While it attempts to validate some inputs like namespaces and redact credentials in logs, it still executes commands based on user-supplied parameters like 'region' and 'cluster_id'.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes Kubernetes events which are external data sources that could contain malicious instructions designed to influence the agent's behavior.
  • Ingestion points: Event data is fetched via 'kubectl' in 'scripts/huawei_cloud/kubectl_client.py' and via LTS logs in 'scripts/huawei_cloud/cce_events_lts.py'.
  • Boundary markers: The skill does not use explicit delimiters or instructions to the agent to ignore embedded commands within the event data.
  • Capability inventory: The skill possesses the capability to execute shell commands via 'hcloud' and 'kubectl'.
  • Sanitization: 'scripts/huawei_cloud/cce_events_lts.py' implements basic regex-based stripping of HTML tags ('<[^>]+>') from event fields, but this is insufficient to prevent sophisticated prompt injection attacks.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 18, 2026, 04:04 AM