huawei-cloud-dws-dymem-diag

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes Huawei Cloud 'hcloud' (KooCLI) commands and MCP tool calls to retrieve DWS cluster metrics, host information, and instance lists. This behavior is restricted to read-only diagnostic operations following the provided IAM policy guidelines.
  • [EXTERNAL_DOWNLOADS]: The documentation within the skill provides instructions for downloading the official 'hcloud' CLI binary and the 'dws-mcp-server' from the vendor's (Huawei Cloud) trusted domains and GitHub repositories. These downloads are required for the primary functionality of the skill.
  • [DYNAMIC_EXECUTION]: The skill uses Python one-liners (python -c) to perform timestamp arithmetic and convert Unix millisecond timestamps into Beijing Time (UTC+8) for reporting. The inputs to these commands are derived from monitoring data collected by the agent.
  • [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it processes active SQL query strings from the memory_diagnose_detail metric.
  • Ingestion points: SQL query text is ingested into the agent context via 'hcloud' tool outputs.
  • Boundary markers: The instructions mandate truncating SQL strings to 1000 characters and provide an HTML template for containment.
  • Capability inventory: The agent has permission to execute cloud CLI queries and write an HTML report to the local workspace root.
  • Sanitization: The skill explicitly requires the agent to escape HTML entities (e.g., <, >, &) in SQL text before generating the final report to prevent cross-site scripting (XSS) or injection into the report output.
  • [SAFE]: The skill manages security risks by educating the user on secure credential configuration (using 'hcloud configure' rather than hardcoded keys) and strictly defining the diagnostic scope to memory issues within DWS, rejecting other service types.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 04:04 AM