@fangjunjie/ssh-mcp-server
v1.2.8SSH-based MCP Server (基于 SSH 的 MCP 服务器)
19
Total
4
Critical
9
High
6
Medium
Findings
unknownSSH private key access
Detected by automated pattern matching (rule DE-005) with medium confidence. May be a false positive.
103: "--port", "22",
104: "--username", "root",
>>> 105: "--privateKey", "~/.ssh/id_rsa"
106: ]
107: }Report false positiveSSH directory access
Detected by automated pattern matching (rule DE-001) with medium confidence. May be a false positive.
123: "--port", "22",
124: "--username", "root",
>>> 125: "--privateKey", "~/.ssh/id_rsa",
126: "--passphrase", "pwd123456"
127: ]Report false positiveSSH private key access
Detected by automated pattern matching (rule DE-005) with medium confidence. May be a false positive.
123: "--port", "22",
124: "--username", "root",
>>> 125: "--privateKey", "~/.ssh/id_rsa",
126: "--passphrase", "pwd123456"
127: ]Report false positiveSSH directory access
Detected by automated pattern matching (rule DE-001) with medium confidence. May be a false positive.
103: "--port", "22",
104: "--username", "root",
>>> 105: "--privateKey", "~/.ssh/id_rsa"
106: ]
107: }Report false positiveDecoded base64 content: I!¢y�rب�Ƨj�
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDecoded base64 content: I!¢y�rب�Ƨj�
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDecoded base64 content: rZ,y�ܕ�,}����!
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDecoded base64 content: rZ,y�ܕ�,}����!
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDynamic code execution via exec()
Detected by automated pattern matching (rule SC-003) with medium confidence. May be a false positive.
235: };
236: // Execute command via SSH exec
>>> 237: client.exec(cmdString,
238: // allocate a pseudo-tty
239: { pty: true }, (err, stream) => {Report false positiveDecoded base64 content: I!¢y�rب�Ƨj�
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDecoded base64 content: I!¢y�rب�Ƨj�
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDecoded base64 content: I!¢y�rب�Ƨj�
Detected by automated pattern matching (rule DO-BAS) with medium confidence. May be a false positive.
Report false positiveDynamic code execution via exec()
Detected by automated pattern matching (rule SC-003) with medium confidence. May be a false positive.
12: const execCommand = (command) => {
13: return new Promise((resolve, reject) => {
>>> 14: client.exec(command, (err, stream) => {
15: if (err) {
16: reject(err);Report false positiveHigh-entropy string (4.9 bits/char) — possible encoded payload
Detected by automated pattern matching (rule EN-001) with medium confidence. May be a false positive.
Report false positiveHigh-entropy string (4.7 bits/char) — possible encoded payload
Detected by automated pattern matching (rule EN-001) with medium confidence. May be a false positive.
Report false positiveHigh-entropy string (4.5 bits/char) — possible encoded payload
Detected by automated pattern matching (rule EN-001) with medium confidence. May be a false positive.
Report false positiveHigh-entropy string (4.7 bits/char) — possible encoded payload
Detected by automated pattern matching (rule EN-001) with medium confidence. May be a false positive.
Report false positiveHigh-entropy string (5.1 bits/char) — possible encoded payload
Detected by automated pattern matching (rule EN-001) with medium confidence. May be a false positive.
Report false positiveHigh-entropy string (4.8 bits/char) — possible encoded payload
Detected by automated pattern matching (rule EN-001) with medium confidence. May be a false positive.
Report false positive