Skills/Glama/ssh-mcp

ssh-mcp@0.1.0

CAUTION· install only

Publisher 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.

Registry GlamaPublisher giftofsky · publishing for 7 daysInstalls 0Last detonated 7d ago

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 date2026-11-18
Coverageinstall only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try ssh-mcp
This recordbehavior.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.

$vet-skills run --net declared -- <the server's command>

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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

MEDIUM
File permission modification commandsrc/core/sessions.ts:241 · File permission modification command — agent changes file ownership/permissions"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.
AST05
HIGH
Access to sensitive file pathssrc/core/sessions.ts:248 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files… (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.
AST05
MEDIUM
Process kill commandsrc/core/sessions.ts:126 · Process kill command — agent can terminate processeskill: () => { 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.
AST05
MEDIUM
Process kill commandsrc/core/sessions.ts:183 · Process kill command — agent can terminate processesexport 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.
AST05
MEDIUM
Process kill commandsrc/core/sessions.ts:191 · Process kill command — agent can terminate processesexport 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.
AST05
MEDIUM
Process kill commandsrc/server/index.ts:39 · Process kill command — agent can terminate processes…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.
AST05
MEDIUM
Process kill commandtests/sessions_mock.test.ts:17 · Process kill command — agent can terminate processes…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.
AST05
HIGH
Access to sensitive file pathssrc/server/index.ts:26 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…; 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.
AST05
MEDIUM
Process kill commandsrc/core/sessions.ts:185 · Process kill command — agent can terminate processesconst 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.
AST05
MEDIUM
Process kill commandsrc/server/index.ts:29 · Process kill command — agent can terminate processes…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.
AST05
CRITICAL
Reads credential paths from the home directorysrc/core/sessions.ts:241 · Reads credential paths from the home directory"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.
AST03
MEDIUM
Process kill commandsrc/core/sessions.ts:247 · Process kill command — agent can terminate processes…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.
AST05
HIGH
Access to sensitive file pathssrc/server/index.ts:76 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…${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.
AST05
HIGH
Access to sensitive file pathssrc/server/index.ts:75 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…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.
AST05
MEDIUM
Destructive file system command detectedtests/integration.test.ts:16 · Destructive file system command detected…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.
AST05
HIGH
Access to sensitive file pathssrc/core/sessions.ts:241 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05

Cost to the agent

Instructions loaded
≈32 tok
1 file · 17 in bundle

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%
  1. 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.
  2. 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.
  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. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  5. Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim giftofskyPropose a patch to the maintainer