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-smiandascend-dmicommands. Implementation inscripts/npu_client.pyandscripts/executor.pyshows that local command execution is handled securely usingsubprocess.run()withshell=Falseandshlex.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.pyentry 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.pyfor 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-smicommands 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
paramikoSSH 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