ssh-dev-suite/connect

Warn

Audited by Socket on Oct 23, 2026

5 alerts found:

Securityx3Anomalyx2
SecurityMEDIUM
scripts/ssh-download.sh

The file is a remote file-download utility and contains no evident malware, data exfiltration, persistence, destructive behavior, or obfuscated payload. Its primary security issue is command injection caused by constructing shell commands with external paths and configuration values and executing them through eval or a remote shell. Risk depends on whether profile fields or requested paths can be controlled by an untrusted user. Replace eval with arrays for local commands and quote or safely encode every argument in remote commands; use stronger host-key verification.

Confidence: 97%Severity: 78%
SecurityMEDIUM
scripts/ssh-upload.sh

代码的主要功能是远程文件上传,不显示明确恶意意图。但 eval、未转义的远程 shell 参数以及未加引号的 SSH_OPTS 构成实质性命令注入风险,尤其在 profile 配置或路径可被不可信用户影响时。应改用数组参数调用 rsync/scp,避免 eval,并对远程命令参数进行严格 shell 转义或使用安全的参数传递方式。

Confidence: 97%Severity: 72%
SecurityMEDIUM
scripts/ssh-test.sh

The code appears intended as an SSH connectivity test rather than malware. However, it has a significant command-injection vulnerability because untrusted or malformed profile-derived SSH options and passwords are executed through eval. It also exposes passwords via sshpass process arguments and relies on automatic acceptance of new host keys. Avoid eval; invoke ssh with an argument array, validate profile fields, use safer password handling such as SSH keys or stdin-based mechanisms, and use verified host keys.

Confidence: 98%Severity: 78%
AnomalyLOW
scripts/ssh-job.sh

代码实现的是具有高权限影响的远程任务管理工具,而非明显植入的恶意代码。其核心功能会按调用者输入在远程主机执行任意 shell 命令,属于预期能力;但远程命令字符串拼接、过滤参数和任务标识缺乏严格校验,存在命令注入和路径/参数操纵风险。sshpass -p 还可能泄露 SSH 密码。应限制并验证输入、避免拼接 shell 命令、校验 PID 所属任务,并改用安全的 SSH 密钥或不暴露密码的认证方式。

Confidence: 96%Severity: 68%
AnomalyLOW
scripts/ssh-exec.sh

The code is a legitimate remote command execution helper rather than apparent malware. The principal security concerns are exposure of SSH passwords through sshpass process arguments, permissive first-use host-key acceptance, configuration-controlled SSH option expansion, and the inherent ability to execute arbitrary commands on the selected remote target. These issues warrant hardening but do not, by themselves, indicate supply-chain malware.

Confidence: 96%Severity: 57%
Audit Metadata
Analyzed At
Oct 23, 2026, 11:27 AM
Package URL
pkg:socket/skills-sh/ascend%2Fagent-skills%2Fssh-dev-suiteconnect%2F@7fb62b681ff66bd256762a6e0b05a9bb2082eafb9ef7d6f58f5100161b6de6b4