Skills/npm/mcp-ssh-manager

mcp-ssh-manager@4.2.0

BLOCKED

Publisher claims: "MCP server for SSH: let AI agents (Claude Code, Codex, any MCP client) run commands, transfer files and manage servers over SSH, with human approval, an encrypted vault and a live audit trail." Observed in sandbox: reads credential files.

Registry npm (MCP server)Publisher bvisible · publishing for 408 daysInstalls 8,866Last detonated 7 h 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

Revoked: guards refuse to launch this version

confirmed incident: read ~/.ssh-manager/profile Every machine running vet-skills guard stops starting it at the next launch; the state clears when the honeypot re-run or a reviewer clears it.

Before you give it your token

It will ask for
GH_TOKENGITHUB_TOKENSSH_AUTH_SOCKConfiguration, not credentials: CLAUDE_CONFIG_DIR, CODEX_HOME, GITHUB_OUTPUT, MAX_SOCKET_PATH, MCP_SSH_COMPACT_JSON, MCP_SSH_CONNECTION_TIMEOUT, MCP_SSH_DEBUG, MCP_SSH_DEFAULT_TIMEOUT, MCP_SSH_KEEPALIVE_INTERVAL, MCP_SSH_MAX_OUTPUT_LENGTH, MCP_SSH_MAX_RSYNC_OUTPUT, MCP_SSH_MAX_TAIL_LINES, MCP_SSH_MAX_TIMEOUT, npm_execpath, PREFER_TOML_CONFIG, RELEASE_REQUIRE_TAG, RELEASE_TAG, SSH_CONFIG_PATH, SSH_ENV_PATH, SSH_GROUPS_FILE, SSH_HISTORY_FILE, SSH_LOG_FILE, SSH_LOG_LEVEL, SSH_LOG_STDERR, SSH_MANAGER_ANNOUNCE_AGENT, SSH_MANAGER_APPROVAL, SSH_MANAGER_APPROVAL_SOCKET, SSH_MANAGER_APPROVAL_TIMEOUT_MS, SSH_MANAGER_DEMO_DROP, SSH_MANAGER_ENV, SSH_MANAGER_HOME, SSH_MANAGER_KEY_SOURCE, SSH_MANAGER_KNOWN_HOSTS, SSH_MANAGER_LOG_OUTPUT, SSH_MANAGER_PROFILE, SSH_MANAGER_VAULT, SSH_VERBOSE
Where it talks to
no vendor host named in the codeAlso openxmlformats.org — not the publisher's domain; check what for before connecting.
What the honeypot saw
read ~/.ssh-manager/profile · no network
What we could not test
what the tools do when called with real credentials

Do not connect it. The honeypot or a critical finding blocked this version; the evidence is below.

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

What changed since 4.0.3

vet-skills diff mcp-ssh-manager 4.0.3 4.2.0

This version reaches for something 4.0.3 did not: 2 new credential variables (GH_TOKEN, GITHUB_TOKEN) · 1 new credential file (~/.ssh/authorized_keys) · 1 rewritten tool descriptor (ssh_execute). Compared from the two recorded runs, not from source.

New credential variables
GH_TOKEN, GITHUB_TOKEN
New credential files
~/.ssh/authorized_keys
Rewritten tool descriptors
ssh_execute
No longer contacted
no-color.org

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-18 and scored it 37/100 (Blocked). Do not install it: the sandbox observed behaviour consistent with credential theft, exfiltration or persistence. Notable findings: Privileged sudo command; Reads credential paths from the home directory; References a credential file in the home directory. Summary: reads credential files.

Behavior trace

Honeypot run · 27 s · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
7.0sprocessdependency install exit 0
27sfilesystemread ~/.ssh-manager/profile
27sclaimed37 tools: ssh_execute, ssh_upload, ssh_download, ssh_sync, ssh_tail, ssh_monitor, ssh_history, ssh_session_start, ssh_session_send, ssh_session_list, ssh_session_close, ssh_execute_group, ssh_group_manage, ssh_list_servers, ssh_deploy, ssh_execute_sudo, ssh_command_alias, ssh_hooks, ssh_profile, ssh_connection_status, ssh_tunnel_create, ssh_tunnel_list, ssh_tunnel_close, ssh_key_manage, ssh_alias
27stoolsb44851783df7b372
27stoolsa2c0aa3318dde8e8
27stoolsbf1cd7ca5a66960c
27stoolsa573910938ebad8d
27stoolse77bb49bbdeac4ce
27stools38b65bd2dc74d555
27stools336cbcf546bfc7da
27stools420567405f637cb8
27stoolsc21bf88529da63ff
27stoolsa946d865716ae400
27stoolsff2a4a8420dfd06f
27stoolsc711c1b8ccfb9019
27stoolsa24a15e8543a9c39
27stools86a928e0571bd7ab
27stools57220ee214dd2de2
27stools1c25f8708b799603
27stools6c040bbae12545ad
27stools575970fd0e4aa4cf
27stools87dabe825ce6ee93
27stools6003632858bb2705
27stools4ae75d76515260f5
27stools37cd97bd9ca8a305
27stoolsf58dc0b0f35de248
27stools1914f0a22c68d6cd
27stoolsae4fc904ef7f853b
27stools5ab6f4838def9a23
27stoolse8388ca4134d9d94
27stoolsf36d5653a5a0ff22
27stools69c02ecd21c4eadb
27stoolsf9302ec0cffcb164
27stoolsf48eb92ba35815dd
27stools9c0614cf57b2b474
27stoolsfc23022afae0cca4
27stools5e65424022161ff4
27stoolsd0ab8de78d430d7f
27stoolsc49988d8de434d5d
27stoolse658f4e79822c053
27sprocessscript backend runs setup only
27sprocessno install scripts to re-run

Static findings

HIGH
Privileged sudo commandCLAUDE.md:150 · Privileged sudo command — agent may execute with elevated privileges- `ssh_execute_sudo`: Execute commands with sudo privilegesFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Reads credential paths from the home directorysrc/server-import.js:176 · Reads credential paths from the home directorylabel: 'OpenSSH config (~/.ssh/config)',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
References a credential file in the home directoryCLAUDE.md:226 · References a credential file in the home directoryagent_public_key_path = "~/.ssh/id_ed25519.pub"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
CRITICAL
Reads credential paths from the home directorysrc/tool-config-manager.js:16 · Reads credential paths from the home directory* User-global only: ~/.ssh-manager/tools-config.jsonFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
CRITICAL
README tells the reader to click past SmartScreenREADME.md:67| Windows x64 / arm64 | `…-setup.exe` | **Not code-signed yet.** Windows shows *"Windows protected your PC"*: *More info → Run anyway*. Check the file against the SHA-256 in `release-manifest-win32.jsFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Privileged sudo commandCLAUDE.md:209 · Privileged sudo command — agent may execute with elevated privilegessudo_password = "pass" # Optional for automated sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Pipe-to-shell patternsrc/backup-manager.js:489 · Pipe-to-shell pattern — downloads and immediately executes remote code// as the start of another job, so `* * * * * curl … | sh #` installed a jobFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
HIGH
Privileged sudo commandCLAUDE.md:190 · Privileged sudo command — agent may execute with elevated privilegesSSH_SERVER_[NAME]_SUDO_PASSWORD=pass # Optional for automated sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
References a credential file in the home directoryCLAUDE.md:186 · References a credential file in the home directorySSH_SERVER_[NAME]_AGENT_PUBLIC_KEY_PATH=~/.ssh/id_ed25519.pub # Alternative: select one SSH_AUTH_SOCK identityFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Access to sensitive file pathssrc/config-paths.js:35 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* Which .env the engine reads, and why.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/config-paths.js:37 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* The same .env must be used by the MCP engine, CLI and optional control plane.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 pathsscripts/test-upgrade-from-published.mjs:141 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst envFile = path.join(dir, '.env');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 pathsscripts/test-upgrade-from-published.mjs:224 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesuntouched(scenarios); ok('previous release: .env, TOML and environment each preserve all 20 effective fields and expose 37 tools');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/config-loader.js:111 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* 2. .env fileFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsCLAUDE.md:180 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files### .env FormatFix: 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/config-paths.js:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* or ~/.ssh-manager. Read at call time so a test or a host that sets theFix: 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/control-plane.js:1463 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// being told they can clean up their .env.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Collapsed <details> block carrying instructionsREADME.md:441 · Collapsed <details> block carrying instructions<summary><b>Spending less context — tool groups</b></summary> <br> All 37 tools cost roughly **43.5k tokens** of context. Most people don't need all of them. ``Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Privileged sudo commandsrc/config-loader.js:34 · Privileged sudo command — agent may execute with elevated privileges* @property {string} [sudoPassword] Password piped to `sudo -S`.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandCLAUDE.md:239 · Privileged sudo command — agent may execute with elevated privileges4. **Deployment Strategy**: The deploy helper detects permission issues and automatically creates scripts for sudo execution when neededFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsCLAUDE.md:19 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- Manages `.env` file with server configurationsFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsCLAUDE.md:170 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files1. **Environment Variables (.env)** - Traditional format for Claude CodeFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/validate.sh:42 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif git ls-files | grep -q "^\.env$"; thenFix: 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/agent-clients.js:242 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesreturn { command: engine.command, args: engine.args, env: { ...env, ...engine.env } };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 pathsscripts/test-upgrade-from-published.mjs:4 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* Installs three times and probes .env, TOML and process-environment setups.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/deploy-helper.js:52 · Privileged sudo command — agent may execute with elevated privileges// Step 2: Determine if we need sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/config-paths.js:66 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.join(managerHome(), '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Destructive file system command detectedscripts/demo-env.mjs:313 · Destructive file system command detected{ command: 'rm -rf /srv/app/releases/2026-08-21' },Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/config-paths.js:67 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.join(process.cwd(), '.env'),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/control-plane.js:1493 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// The .env is not touched, here or anywhere: it stays the fallback, andFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/render-cli-menu.py:67 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(state / '.env').write_text(DEMO_ENV)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/background-job.js:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// ~/.ssh/authorized_keys included, so the engine creates its own private fileFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsCLAUDE.md:49 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesssh-manager export servers.toml # Servers as TOML (.toml, .env, .csv and .xlsx are written)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/config-loader.js:77 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// strings "true"/"1"/"yes"/"on" (case-insensitive) from .env, where every valueFix: 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/agent-clients.js:240 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst env = { ...(previous?.env || {}) };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/control-plane.js:2567 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* ~/.ssh/known_hosts with a line number from an error message.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/approval.js:109 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// from a .env, a TOML file or the environment. An environment variable wouldFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/validate.sh:43 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesecho " ❌ WARNING: .env file is tracked in git!"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 pathsCLAUDE.md:177 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files2. `.env` file in project rootFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/validate.sh:46 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesecho " ✅ No .env file in git"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Authorization escalation languageCLAUDE.md:150 · Authorization escalation language- `ssh_execute_sudo`: Execute commands with sudo privilegesFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Access to sensitive file pathssrc/control-plane.js:80 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// Keep an explicit empty value so the lower-priority .env cannot fillFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Destructive file system command detectedscripts/demo-env.mjs:314 · Destructive file system command detected'rm -rf /srv/app/releases/2026-08-21',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/config-loader.js:104 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/** @type {string|null} The .env actually read, once one has been. */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 pathsscripts/test-upgrade-from-published.mjs:147 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileskeyPath: '~/.ssh/fixture-key', passphrase: 'fixture-passphrase', port: 2222, defaultDir: '~/fixture folder',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 pathsscripts/validate.sh:40 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Check for .env in gitFix: 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/control-plane.js:1427 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* What is still living in a .env rather than in the vault.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/config-loader.js:144 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// Load .env file (higher priority, overwrites TOML)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/config-loader.js:14 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* by every handler. **Field names are camelCase, always** — the `.env` keysFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/index.js:2508 · Privileged sudo command — agent may execute with elevated privileges…xecute_sudo', { description: 'Runs a command with elevated privileges via sudo on the named server and returns the exit code and output. Prepends sudo when abs…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
References a credential file in the home directorysrc/server-export.js:87 · References a credential file in the home directorykeyPath: '~/.ssh/id_ed25519', defaultDir: '/var/www', group: 'production',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 pathssrc/ssh-guard.js:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// copies it to ~/.ssh-manager/hooks/ssh-guard.mjs, which Claude Code runs as theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/deploy-helper.js:62 · Privileged sudo command — agent may execute with elevated privileges// A step that needs the sudo password carries it as `stdin`, never insideFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/validate.sh:65 · Process kill command — agent can terminate processeskill $PID 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/server-import.js:176 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslabel: 'OpenSSH config (~/.ssh/config)',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandCLAUDE.md:139 · Process kill command — agent can terminate processes- `ssh_process_manager`: List, monitor, or kill processesFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/secret-store.js:4 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// write it in clear text in a .env or TOML file. That file sits in a projectFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedscripts/macbook-mockup.py:253 · Python subprocess execution detectedsubprocess.run(['ffmpeg', '-y', '-loglevel', 'error', '-framerate', str(fps),Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
npx invocation of non-well-known packagescripts/verify-mac-build.sh:133 · npx invocation of non-well-known package — may execute untrusted code# shell and not at the repository root — `npx --no-install asar` from hereFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Access to sensitive file pathssrc/user-state.js:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* SSH_MANAGER_HOME (~/.ssh-manager by default), readable by their owner only.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/ssh-manager.js:582 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// Method 3: Parse /etc/passwd directlyFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedscripts/macbook-mockup.py:225 · Python subprocess execution detectedsubprocess.run(['ffmpeg', '-y', '-loglevel', 'error', '-i', str(src),Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/server-groups.js:278 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files'Change the group of the servers themselves in your .env/TOML config, or use a different group name.'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-export.js:87 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileskeyPath: '~/.ssh/id_ed25519', defaultDir: '/var/www', group: 'production',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 directorysrc/server-export.js:90 · References a credential file in the home directorykeyPath: '~/.ssh/id_ed25519', group: 'staging' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Privileged sudo commandsrc/ssh-manager.js:384 · Privileged sudo command — agent may execute with elevated privileges// command line: interpolating it into `echo "..." | sudo -S` left itFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/index.js:2396 · Privileged sudo command — agent may execute with elevated privileges…ackup can be disabled per call. Options can set owner and permissions, supply a sudo password, and name a single service to restart afterward. Detects sensible owner…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedsrc/shell-segments.js:8 · Destructive file system command detected* such as `^rm ` missed `echo x; rm -rf /data` for the same reason. SplittingFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/tool-config-manager.js:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* User-global only: ~/.ssh-manager/tools-config.jsonFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/deploy-helper.js:63 · Privileged sudo command — agent may execute with elevated privileges// `command`. Interpolating it (`echo "<pass>" | sudo -S …`) published theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/ssh-manager.js:383 · Privileged sudo command — agent may execute with elevated privileges// sudo password reaches `sudo -S` without ever appearing in the remoteFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/secret-store.js:175 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* clear-text .env it replaces, and it keeps the vault usable on Windows, inFix: 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-import.js:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* Nobody starts here. They have a `~/.ssh/config` with forty hosts, or aFix: 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-groups.js:302 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// sees .env servers, never TOML ones — hence the provider.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/deploy-helper.js:66 · Privileged sudo command — agent may execute with elevated privilegesconst sudoPrefix = sudoPassword ? 'sudo -S -k -p \'\' ' : 'sudo ';Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/server-export.js:90 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileskeyPath: '~/.ssh/id_ed25519', group: 'staging' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File type combined with upload actionscripts/preview-candidate.mjs:132 · File type combined with upload action — agent may exfiltrate local data filesfs.writeFileSync(path.join(home, 'Documents', 'upload-me.txt'), 'Temporary candidate preview upload.\n');Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
HIGH
Access to sensitive file pathssrc/ssh-manager.js:594 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// /etc/passwd parsing failed, try last resortFix: 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/secret-store.js:79 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* (~/.ssh-manager/) rather than in the project directory, so it is not caughtFix: 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/ssh-manager.js:584 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst result = await this.execCommand('grep "^$USER:" /etc/passwd | cut -d: -f6', {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/logger.js:175 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// write a production password to ~/.ssh-manager.log and to stderr, whereFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/index.js:2450 · Privileged sudo command — agent may execute with elevated privileges// step.stdin carries the sudo password for steps that need it, so itFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionscripts/preview-candidate.mjs:32 · File type combined with upload action — agent may exfiltrate local data filesif (/\b(ls|ll)\b/.test(command)) return 'README.txt reports uploads\n';Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedscripts/render-cli-menu.py:72 · Python subprocess execution detectedresult = subprocess.run(['script', '-q', '/dev/null', 'bash', str(ROOT / 'cli' / 'ssh-manager')],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/user-state.js:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* install directory (issue #87). They now live beside the .env, inFix: 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/logger.js:86 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* manager home, beside the .env. Up to 3.8.5 the default was inside theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/index.js:2504 · Privileged sudo command — agent may execute with elevated privileges// Execute command with sudo supportFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/ssh-manager.js:387 · Privileged sudo command — agent may execute with elevated privileges// afterwards tells sudo no more is coming; only done when a callerFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagescripts/frame-screenshots.py:9 · npx invocation of non-well-known package — may execute untrusted codebrowser a tab pointed at the local control plane — what `npx mcp-ssh-managerFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Python subprocess execution detectedscripts/macbook-mockup.py:265 · Python subprocess execution detectedsubprocess.run(['ffmpeg', '-y', '-loglevel', 'error', '-framerate', str(fps),Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandsrc/index.js:2364 · Privileged sudo command — agent may execute with elevated privileges…ctions. Deliberately omits secrets, so no passwords, key paths, passphrases, or sudo passwords are returned. Takes no parameters. Useful as a first call to discover …Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/desktop-install.js:115 · Privileged sudo command — agent may execute with elevated privileges* `inherit` hands it the terminal (sudo asks for its password there)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/secret-store.js:377 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files+ 'If the servers are still in a .env: delete the vault and run ssh-manager vault import\n'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandscripts/validate.sh:64 · Process kill command — agent can terminate processesif kill -0 $PID 2>/dev/null; thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/preview-candidate.mjs:243 · Process kill command — agent can terminate processesconst kill = signal => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/test-upgrade-from-published.mjs:126 · Process kill command — agent can terminate processesconst kill = setTimeout(() => child.kill(), 1000);Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
HTML comment carrying imperative instructions to the agentdist/ui/index.html:6 · HTML comment carrying imperative instructions to the agent · informational: not an instruction fileInlined: the browser requests a favicon without the token, which the control plane refuses. A data URI costs no request at all.Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
MEDIUM
Process kill commandsrc/tunnel-manager.js:23 · Process kill command — agent can terminate processes* that used to kill the whole MCP server process, while the awaited promiseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/index.js:1432 · Process kill command — agent can terminate processes… In follow mode, output is streamed to stderr.\nTo stop tailing, you'll need to kill the session.` } ] }; } else { // Non…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/index.js:4338 · Process kill command — agent can terminate processes…op processes (read-only), info returns details for one process (read-only), and kill sends a signal to terminate a process and mutates remote state. pid is required …Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/ssh-manager.js:348 · Process kill command — agent can terminate processes// Try multiple ways to kill the streamFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/index.js:361 · Process kill command — agent can terminate processes// Execute command with timeout - using child_process timeout for real killFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/health-monitor.js:275 · Process kill command — agent can terminate processesreturn `kill -${signal} ${pid}`;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/deploy-helper.js:86 · File permission modification command — agent changes file ownership/permissionscommand: `${sudoPrefix}chown ${shellQuote(owner)} ${target}`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandsrc/deploy-helper.js:94 · File permission modification command — agent changes file ownership/permissionscommand: `${sudoPrefix}chmod ${shellQuote(permissions)} ${target}`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Process kill commandsrc/health-monitor.js:262 · Process kill command — agent can terminate processes* Build command to kill a processFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Remote installer piped to shellsrc/backup-manager.js:489 · Remote installer piped to shell// as the start of another job, so `* * * * * curl … | sh #` installed a jobFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
MEDIUM
File permission modification commandsrc/index.js:4095 · File permission modification command — agent changes file ownership/permissionsawait ssh.execCommand(`printf '%s' ${shellQuote(scriptContent)} > ${quotedPath} && chmod +x ${quotedPath}`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
npx invocation of non-well-known packagescripts/verify-mac-build.sh:138 · npx invocation of non-well-known package — may execute untrusted codeelse npx --no-install asar list "$ASAR" 2>/dev/nullFix: Pin versions and sources; vendor anything fetched at install time.
AST06

Cost to the agent

Instructions loaded
≈3,632 tok
2 files · 81 in bundle
Tool list per prompt
≈9,755 tok
37 tools · 264 per tool
Handshake
1101 ms
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 486

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

No advisories in OSV for mcp-ssh-manager@4.2.0 as of 6 h ago. This is the package itself, not its dependencies.

What would make this Verified

43 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs.
  2. 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.
  3. README tells the reader to click past SmartScreen≈ +9 on the totalPin versions and sources; vendor anything fetched at install time.
  4. Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  5. Unclaimed publisher≈ +8 on the totalClaim bvisible: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  6. 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.
Publish a new version to npm, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim bvisiblePropose a patch to the maintainer