huawei-cloud-ascend-command

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill facilitates natural language management of Huawei Ascend NPUs by executing npu-smi and ascend-dmi commands. Implementation in scripts/npu_client.py and scripts/executor.py shows that local command execution is handled securely using subprocess.run() with shell=False and shlex.split(), mitigating shell injection risks.
  • [SAFE]: Secret management is implemented correctly; SSH credentials (host, user, password) are passed via command-line arguments to the main.py entry point and held in volatile memory only for the duration of the session, rather than being hardcoded or persisted.
  • [SAFE]: A multi-turn confirmation gate is enforced in scripts/executor.py for sensitive hardware operations such as firmware upgrades, ECC configuration, fan mode changes, and vNPU lifecycle management. This ensures that potentially disruptive commands require explicit user verification before execution.
  • [SAFE]: The skill provides a direct passthrough feature for power users to execute npu-smi commands verbatim. This is an intended, documented functionality for hardware management and does not bypass the core security model of the execution environment.
  • [SAFE]: External dependencies are restricted to the well-known paramiko SSH library, which is used for the primary function of remote device management. Analysis of the communication patterns shows no evidence of unauthorized data exfiltration or connections to untrusted domains.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 06:34 AM