ssh-mcp@0.1.0.dev0
CAUTION· not startedPublisher claims: "Enables OAuth-protected clients to run audited commands, manage bounded file operations and transfer data across explicitly allowed SSH hosts using pinned host keys and operator-controlled access grants." In our sandbox: Not started: dependency install failed; the server itself was not observed.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
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-22, [email protected] read no files and called no hosts, and its code names 40 environment variables. Coverage: not started.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
HISTORY_ABSOLUTE_TIMEOUT_SECONDS, HISTORY_IDLE_TIMEOUT_SECONDS, HISTORY_STORY_ID_MAX_CHARS, HISTORY_STORY_ID_TRUNCATE_FROM, HISTORY_VIEWER_ENABLED, HISTORY_VIEWER_PASSWORD, MCP_ACCESS_TOKEN_TTL, MCP_AUTH_CODE_TTL, MCP_BIND_HOST, MCP_BIND_PORT, MCP_CIMD_CACHE_TTL, MCP_CIMD_CLIENT_ID, MCP_CIMD_VALIDATE_REMOTE, MCP_CLIENTS, MCP_CONFIG_FILE, MCP_DCR_ENABLED, MCP_ENVIRONMENT, MCP_INVENTORY_FILE, MCP_ISSUER, MCP_KNOWN_HOSTS_FILE, MCP_LOGIN_KEY, MCP_LOGIN_MAX_FAILURES, MCP_LOGIN_WINDOW_SECONDS, MCP_LOG_LEVEL
16 more in behavior.json
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
- server startup
- the tool list
- tool behavior
| Run date | 2026-11-22 |
| Coverage | not started |
| 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
HISTORY_VIEWER_PASSWORDMCP_ACCESS_TOKEN_TTLMCP_AUTH_CODE_TTLMCP_METRICS_TOKENMCP_OAUTH_DBMCP_SECRETS_FILEMCP_TOKEN_SIGNING_SECRETConfiguration, not credentials: HISTORY_ABSOLUTE_TIMEOUT_SECONDS, HISTORY_IDLE_TIMEOUT_SECONDS, HISTORY_STORY_ID_MAX_CHARS, HISTORY_STORY_ID_TRUNCATE_FROM, HISTORY_VIEWER_ENABLED, MCP_BIND_HOST, MCP_BIND_PORT, MCP_CIMD_CACHE_TTL, MCP_CIMD_CLIENT_ID, MCP_CIMD_VALIDATE_REMOTE, MCP_CLIENTS, MCP_CONFIG_FILE, MCP_DCR_ENABLED, MCP_ENVIRONMENT, MCP_INVENTORY_FILE, MCP_ISSUER, MCP_KNOWN_HOSTS_FILE, MCP_LOG_LEVEL, MCP_LOGIN_KEY, MCP_LOGIN_MAX_FAILURES, MCP_LOGIN_WINDOW_SECONDS, MCP_METRICS_ENABLED, MCP_OPERATOR_SUBJECT, MCP_RESOURCE, MCP_SERVICE_VERSION, MCP_SESSION_TTL_DEFAULT, MCP_SSH_TOOLS_ENABLED, REQUEST_TIMEOUT, SSH_APPROVED_ALIASES, SSH_BINARY_PROBE_ENABLED, SSH_CONTROL_SOCKET, SSH_DEFAULT_TIMEOUT_SECONDS, SSH_EXECUTOR_ENABLED- Where it talks to
- no vendor host named in the codeAlso chatgpt.com, docker.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names chatgpt.com, docker.com as well as its own vendor. The guard injects HISTORY_VIEWER_PASSWORD, MCP_ACCESS_TOKEN_TTL, MCP_AUTH_CODE_TTL, MCP_METRICS_TOKEN, MCP_OAUTH_DB, MCP_SECRETS_FILE, MCP_TOKEN_SIGNING_SECRET only into requests to the host you bind (and its subdomains) and refuses the rest.
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 (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-22 and scored it 68/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: Privileged sudo command; Privileged sudo command; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
sudo = await self._attempt(alias, "sudo_challenge" if corroborate else "sudo")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."admits the whole audited batch. Passworded sudo authenticates each step. "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if sudo and not state.previous_sudo_ready:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.for (const caption of ["Host", "SSH", "Sudo", "Last check", "Last SSH success", "Last sudo success", "Reason"]) {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."sudo password is configured, and the operator approval is satisfied "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Config=None prevents reading ~/.ssh/config, agent_path=None disablesFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.raise ValueError("Invalid per-host sudo credential mapping")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# nonaccepted exit, never failed sudo authentication orFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.active, sudo = self.active(alias), self.sudo_ready(alias)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.state.previous_active, state.previous_sudo_ready = active, sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.run(args, cwd=cwd, env=env, check=True, timeout=420)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# Generate only disposable per-run sudo credentials. The SSH fixtureFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.The fixture requires password-protected sudo; the random per-run sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(["git", "--git-dir=" + cache, *args],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.exec(compile(content,name,'exec'),{'__name__':'__main__','__file__':name})Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.&& rm -rf /dependency-wheels /runtime-requirements.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# The marker can be missing for reasons other than sudo rejection;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell." os.execvp(sys.argv[3],sys.argv[3:])\n"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# -F /dev/null prevents ~/.ssh/config or system ssh_config ProxyCommand/Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(argv, cwd=cwd, env=env, capture_output=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.sudo -n -lFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.… up a separate run with --access restricted and execute approval_access.py. For root access, use the four host/root policy pairs in the [lab runbook](../lab/README.md), in…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.result = subprocess.run(argv, cwd=cwd, env=env, stdout=stream,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out." os.execvp(sys.argv[5],sys.argv[5:])\n"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."""Do not disclose sudo diagnostics; classify only unambiguous patterns."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# absent a recognizable sudo diagnostic, execution is unconfirmed.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.| privileged_access.py | Real sudo in four host/root policy combinations with durable audit |Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.&& rm -rf /var/lib/apt/lists/* \Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.&& rm -rf /application-wheelFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# gateway/sudo environment entries from reaching the approved command.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- The approved noninteractive `sudo -n /bin/rm` **permission** is availableFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# caller's script into it. sudo -H sets root HOME; env -i prevents all otherFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Config=None prevents reading ~/.ssh/config, agent_path=None disablesFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.When approving timed root access on a restricted host with an existing shorterFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.chmod 0755 "$temp"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."""Non-mutating advisory plan: no mkdir, rename, unlink, chmod or write."""Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
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
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
12 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 keeperlink: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- 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.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Python exec or eval of computed code≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.