Skills/npm/mcp-server-ssh

mcp-server-ssh@1.0.5

CAUTION

Publisher claims: "MCP server for SSH remote access: execute commands, transfer files via SFTP, generate SSH key pairs" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher bacarrdy · publishing for 283 daysInstalls 1,400Last detonated 51 min ago

Coverage

Server started and answered tools/list.
Tested
MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
Not tested
what the tools do when called with real credentials

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the code
What the honeypot saw
no credential files read · no network
What we could not test
what the tools do when called with real credentials

Reasonable to connect. No credential asked for, no third-party host named, Server started and answered tools/list.

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 1.0.3

vet-skills diff mcp-server-ssh 1.0.3 1.0.5

This version reaches for something 1.0.3 did not: 3 new credential files (~/.ssh/id_ecdsa, ~/.ssh/id_ed25519, ~/.ssh/id_rsa). Compared from the two recorded runs, not from source.

New credential files
~/.ssh/id_ecdsa, ~/.ssh/id_ed25519, ~/.ssh/id_rsa

1.0.3 was not run in the sandbox (static only); the comparison covers what static analysis recorded only. Only one of the two runs produced a tool list; tools are not compared.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-15 and scored it 74/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 26 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
5.8sprocessdependency install exit 0
26sclaimed14 tools: ssh_connect, ssh_disconnect, ssh_list_connections, ssh_exec, ssh_system_info, sftp_ls, sftp_read, sftp_write, sftp_mkdir, sftp_rm, sftp_mv, sftp_stat, ssh_keygen, ssh_port_forward
26stoolsfb47aa76ba6e00ca
26stoolsa6176b293d672b20
26stoolsb130be63e1d370a1
26stoolsadb5566347bb9c95
26stoolscdaed9a22a375a02
26stools5963b2fa8d79c29e
26stools571d58a2f52ccabc
26stools60298e3d822828ff
26stools4a1525676c1f6fad
26stoolsab47e0118191f791
26stools8b675e990813785b
26stools43cd6ae2387a0a20
26stoolscb15ea1cc1f97fc1
26stools5b728b7c253a66c6
26sprocessscript backend runs setup only
26sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsbuild/index.js:26 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"3. **Auto-detect** — if neither key nor password given, tries ~/.ssh/id_ed25519, ~/.ssh/id_rsa, ~/.ssh/id_ecdsa.",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsbuild/index.js:118 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files.describe("Path to private key file (default: auto-detects ~/.ssh/id_ed25519 etc.)"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsbuild/index.js:99 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"If no auth is provided, auto-detects ~/.ssh/id_ed25519, id_rsa, or id_ecdsa.",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
References a credential file in the home directorybuild/index.js:26 · References a credential file in the home directory"3. **Auto-detect** — if neither key nor password given, tries ~/.ssh/id_ed25519, ~/.ssh/id_rsa, ~/.ssh/id_ecdsa.",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Collapsed <details> block carrying instructionsREADME.md:77 · Collapsed <details> block carrying instructions<summary>Claude Code for VS Code Extension</summary> > This section is for the **Claude Code VS Code extension**, not GitHub Copilot. If you use VS Code with GiFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
References a credential file in the home directorybuild/index.js:99 · References a credential file in the home directory"If no auth is provided, auto-detects ~/.ssh/id_ed25519, id_rsa, or id_ecdsa.",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Access to sensitive file pathsbuild/ssh.js:217 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"No default SSH key found at ~/.ssh/id_ed25519, ~/.ssh/id_rsa, or ~/.ssh/id_ecdsa."));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
References a credential file in the home directorybuild/index.js:118 · References a credential file in the home directory.describe("Path to private key file (default: auto-detects ~/.ssh/id_ed25519 etc.)"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Collapsed <details> block carrying instructionsREADME.md:131 · Collapsed <details> block carrying instructions<summary>Codex</summary> Use the Codex CLI: ```bash codex mcp add ssh -- npx -y mcp-server-ssh ``` Or edit `~/.codex/config.toml`: ```toml [mcp_servers.ssh] comFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
References a credential file in the home directorybuild/ssh.js:217 · References a credential file in the home directory"No default SSH key found at ~/.ssh/id_ed25519, ~/.ssh/id_rsa, or ~/.ssh/id_ecdsa."));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
MEDIUM
Process kill commandbuild/ssh.js:453 · Process kill command — agent can terminate processes// A stray error from a forwarded socket or a channel must not kill theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈62 tok
1 file · 10 in bundle
Tool list per prompt
≈2,299 tok
14 tools · 164 per tool
Handshake
580 ms
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 163

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.

What would make this Verified

6 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim bacarrdy: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
  3. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  4. References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  5. Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to npm, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim bacarrdyPropose a patch to the maintainer