ssh-mcp@0.1.0
CAUTION· install onlyPublisher claims: "Enables coding agents on Windows clients to operate on Unix file servers through one long-lived SSH session per host, running exec/view/create/edit/grep/glob with POSIX paths and shell state (cd, env) persisting across calls. Bypasses slow or flaky SMB/CIFS mounts entirely, giving native-speed file operations without drive letters or remounts." In our sandbox: Nothing executable in the bundle ran; the trace covers the install step only.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-18, [email protected] read no files and called no hosts, and its code names 3 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
SSH_ASKPASS, SSH_ASKPASS_REQUIRE, W_PATH
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-18 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try ssh-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
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 we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it under the guard. Nothing executable in the bundle ran; the trace covers the install step only. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-18 and scored it 71/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; Reads credential paths from the home directory. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
"mkdir -p ~/.ssh; chmod 700 ~/.ssh; cat >> ~/.ssh/authorized_keys"]; // append pubkey, set perms best-effort (§4 line 93)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.… (exit ${code}): ${err.trim() || "password auth disabled?"} — add ${pubPath} to ~/.ssh/authorized_keys manually, then ssh_connect with identity=<that path>`); // §4: …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.kill: () => { try { child.kill("SIGKILL"); } catch { /* already dead */ } }, // hard-timeout kill path (§2 shortcut line 65)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.export function disconnect(name?: string): string | null { // kill child + drop from registry + sessions.json (§3 line 73)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.export function listSessions(): Array<{ name: string; host: string; port: number; user: string; alive: boolean }> { // §3 line 74-75: local process-alive flag, not remote kill -0Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…e commands OK. ${W_NI} Default timeout 30s (timeout_ms override); hard timeouts kill the session and it auto-reconnects next call.`, inputSchema: z.object({ session_…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…ntinel within timeout -> failure/timeout with partial output (§2 line 60); hard kill marks session dead for auto-reconnect (§2 shortcut line 65) const s = mkSessio…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…; password= is an accepted fallback (SSH_ASKPASS force, no tty) for hosts where ~/.ssh isn't writable: the password is persisted in that session's spec until disconne…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const s = registry.get(nm); if (s?.procRef) try { s.procRef.kill(); } catch { /* already dead */ } // §4: hard-kill semantics, remote orphan children may linger (§6 line 109)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…erver.registerTool("ssh_disconnect", { description: "Disconnect an SSH session: kill the child process and drop it from the registry + persisted specs. Default targe…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."mkdir -p ~/.ssh; chmod 700 ~/.ssh; cat >> ~/.ssh/authorized_keys"]; // append pubkey, set perms best-effort (§4 line 93)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…de : -1)); setTimeout(() => { try { child.kill(); } catch {} }, 25_000); }); // kill that process (§4 line 93) if (code !== 0 || err.includes("denied")) throw ne…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…${sess.errText(e)}\n[if password auth is disabled: add the printed .pub file to ~/.ssh/authorized_keys manually, then ssh_connect with identity=<that path>]`); } }); …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…nection with SSH_ASKPASS feeding the password (no tty), append pubkey to remote ~/.ssh/authorized_keys. Subsequent ssh_connect uses that key automatically — no passwo…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…tch file — basename approximation ok here (§3 line 80)"); r = await s.send("rm -rf /tmp/ssh_it_mcp", 15_000); a.ok(!r.connLost, "cleanup + disconnect per §5 line 10…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."mkdir -p ~/.ssh; chmod 700 ~/.ssh; cat >> ~/.ssh/authorized_keys"]; // append pubkey, set perms best-effort (§4 line 93)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
9 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Reads credential paths from the home directory≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unclaimed publisher≈ +8 on the totalClaim giftofsky: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- 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.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.