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.run in scripts/main.py to manage local SSH multiplexing and the paramiko library in scripts/ssh_client.py to execute commands on remote Ascend servers. The implementation includes a CommandValidator that blocks dangerous shell patterns, such as fork bombs and destructive system commands, which are documented in SKILL.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. A CommandValidator in scripts/command_validator.py provides a layer of security by blocking high-risk patterns and flagging sensitive operations for user confirmation.\n
  • Ingestion points: The handle_command method in scripts/executor.py processes 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.py and subprocess.run in main.py.\n
  • Sanitization: Input is validated against regex patterns in CommandValidator to 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 or sudo privileges on the destination server.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 04:04 AM