huawei-cloud-ascend-remote-connect
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runinscripts/main.pyto manage local SSH multiplexing and theparamikolibrary inscripts/ssh_client.pyto execute commands on remote Ascend servers. The implementation includes aCommandValidatorthat blocks dangerous shell patterns, such as fork bombs and destructive system commands, which are documented inSKILL.md. The skill also explicitly disables host key checking in its SSH connection options, which may increase exposure to man-in-the-middle attacks.\n- [INDIRECT_PROMPT_INJECTION]: The skill accepts natural language instructions which are parsed and translated into shell commands. ACommandValidatorinscripts/command_validator.pyprovides a layer of security by blocking high-risk patterns and flagging sensitive operations for user confirmation.\n - Ingestion points: The
handle_commandmethod inscripts/executor.pyprocesses raw text input from the agent interaction.\n - Boundary markers: The skill does not use explicit boundary markers in the prompt interpolation but relies on keyword-based routing and manual confirmation prompts.\n
- Capability inventory: The skill has remote capabilities including file system modification, process management, and Docker orchestration, executed via
ssh_client.pyandsubprocess.runinmain.py.\n - Sanitization: Input is validated against regex patterns in
CommandValidatorto block or require confirmation for dangerous commands (e.g., fork bombs, recursive deletions).\n- [PRIVILEGE_ESCALATION]: The skill facilitates administrative tasks on remote targets, including LVM disk management and system-wide updates, which typically require root orsudoprivileges on the destination server.
Audit Metadata