Skills/Glama/sshmcp

sshmcp@0.1.0

CAUTION· not started

Publisher claims: "Enables AI to operate remote servers over SSH through host aliases for commands, persistent sessions, templates, and file operations while keeping private keys, passwords, passphrases, and sudo credentials in a local encrypted vault hidden from the model." In our sandbox: Not started: dependency install failed; the server itself was not observed.

Registry GlamaPublisher boyunxi · publishing for 17 daysInstalls 0Last detonated 17d ago

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-08, [email protected] read no files and called no hosts, and its code names 1 environment variable. Coverage: not started.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

SSHMCP_HTTP_HOST

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 date2026-11-08
Coveragenot started
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try sshmcp
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
server startup · the tool list · tool behavior

Connect it under the guard. Not started: dependency install failed; the server itself was not observed. 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 (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-08 and scored it 70/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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.2sprocessdependency install exit 1 ·
0.2sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.2sprocessscript backend runs setup only
0.3sprocessno install scripts to re-run

Static findings

HIGH
Privileged sudo commandsrc/sshmcp/cli.py:41 · Privileged sudo command — agent may execute with elevated privileges"sudo_password": "sudo 密码",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_cli.py:141 · Privileged sudo command — agent may execute with elevated privileges"""Adding only a sudo password must not move the host or weaken its policy."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/sshmcp/secret_input.py:72 · Python subprocess execution detectedcompleted = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/server.py:288 · Privileged sudo command — agent may execute with elevated privileges"Set sudo=true to run elevated; the operator's stored sudo password is "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/cli.py:749 · Privileged sudo command — agent may execute with elevated privilegesp.add_argument("--sudo-password-clipboard", action="store_true", help="从剪贴板读取 sudo 密码")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/config.py:227 · Privileged sudo command — agent may execute with elevated privilegessudo = data.get("sudo", False)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/cli.py:746 · Privileged sudo command — agent may execute with elevated privilegesp.add_argument("--sudo-password", action="store_true", help="提示输入 sudo 密码")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/sshmcp/cli.py:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfrom .credentials import (Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/config.py:229 · Privileged sudo command — agent may execute with elevated privilegesraise ConfigError(f"{label}: sudo must be true or false")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/cli.py:243 · Privileged sudo command — agent may execute with elevated privileges("sudo_password", "sudo 密码:"),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/server.py:27 · Privileged sudo command — agent may execute with elevated privilegesCredentials (private keys, passwords, passphrases, sudo passwords) are held locally byFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_cli.py:158 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert host.identity_file == str(Path("~/.ssh/id_ed25519").expanduser())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/sshmcp/runtime.py:13 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfrom .credentials import CredentialResolverFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
References a credential file in the home directorytests/test_cli.py:145 · References a credential file in the home directory"--identity-file", "~/.ssh/id_ed25519", "--host-key-policy", "strict",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Privileged sudo commandsrc/sshmcp/sshmanager.py:378 · Privileged sudo command — agent may execute with elevated privileges# Wrap the whole command so sudo covers pipelines and `&&`, not just the first word.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/sshmcp/sshmanager.py:30 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfrom .credentials import CredentialResolver, fingerprint, host_key_entry, load_host_keysFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Privileged sudo commandtests/test_cli.py:121 · Privileged sudo command — agent may execute with elevated privilegesassert "登录密码、sudo 密码" in outFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/sshmanager.py:376 · Privileged sudo command — agent may execute with elevated privilegesinner = f"sudo -n -- /bin/sh -c {shlex.quote(inner)}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_cli.py:145 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"--identity-file", "~/.ssh/id_ed25519", "--host-key-policy", "strict",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/sshmanager.py:385 · Privileged sudo command — agent may execute with elevated privilegesprobe = self._run(alias, "sudo -n true", None, 10.0, 4096)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
References a credential file in the home directorytests/test_cli.py:158 · References a credential file in the home directoryassert host.identity_file == str(Path("~/.ssh/id_ed25519").expanduser())Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Privileged sudo commandsrc/sshmcp/sshmanager.py:379 · Privileged sudo command — agent may execute with elevated privilegesinner = f"sudo -S -p '' -- /bin/sh -c {shlex.quote(inner)}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/sshmcp/sshmanager.py:387 · Privileged sudo command — agent may execute with elevated privilegesraise RemoteError(f"sudo is not available on {alias!r}")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_sshmanager.py:321 · Privileged sudo command — agent may execute with elevated privilegesassert wrapped == "sudo -S -p '' -- /bin/sh -c 'echo a && echo b'"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_sshmanager.py:309 · Privileged sudo command — agent may execute with elevated privilegesassert executed.command.startswith("sudo -S -p '' -- /bin/sh -c ")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_sshmanager.py:337 · Privileged sudo command — agent may execute with elevated privilegesassert executed.command.startswith("sudo -n -- ")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_fakeserver.py:176 · Privileged sudo command — agent may execute with elevated privilegesclient, "sudo -S -p '' -- true", b"nope\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actiontests/test_sshmanager.py:708 · File type combined with upload action — agent may exfiltrate local data filesassert rig.server.remote("/remote.txt").read_bytes() == b"uploaded content\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 detectedtests/test_protocol_e2e.py:276 · Python subprocess execution detectedcompleted = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Privileged sudo commandtests/test_fakeserver.py:165 · Privileged sudo command — agent may execute with elevated privilegesclient, "sudo -S -p '' true", (PASSWORD + "\n").encode()Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
References a credential file in the home directorytests/test_config.py:197 · References a credential file in the home directoryhost = Config.from_dict(_minimal(identity_file="~/.ssh/id_ed25519")).host("prod")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
MEDIUM
Privileged sudo commandtests/test_sshmanager.py:299 · Privileged sudo command — agent may execute with elevated privileges# --------------------------------------------------------------------- sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Destructive file system command detectedtests/test_sshmanager.py:48 · Destructive file system command detectedassert sent == ["rm -rf /tmp/data"]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_fakeserver.py:338 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filessftp.stat("/../../etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedtests/test_protocol_e2e.py:127 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Privileged sudo commandtests/test_fakeserver.py:157 · Privileged sudo command — agent may execute with elevated privilegesclient, "sudo -S -p '' -- uname -a", (PASSWORD + "\n").encode()Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_config.py:48 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{"identityfile": "~/.ssh/id_rsa"},Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Privileged sudo commandtests/test_config.py:98 · Privileged sudo command — agent may execute with elevated privileges({"command": "echo {a}", "params": ["a"], "sudo": "yes"}, "sudo must be"),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_config.py:197 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileshost = Config.from_dict(_minimal(identity_file="~/.ssh/id_ed25519")).host("prod")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Privileged sudo commandtests/test_fakeserver.py:188 · Privileged sudo command — agent may execute with elevated privilegesassert exec_capture(client, "sudo -n true")[2] == 1Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
References a credential file in the home directorytests/test_config.py:48 · References a credential file in the home directory{"identityfile": "~/.ssh/id_rsa"},Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
MEDIUM
Destructive file system command detectedtests/test_sshmanager.py:47 · Destructive file system command detectedrig.manager.exec("prod", "rm -rf /tmp/data")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_config.py:87 · Privileged sudo command — agent may execute with elevated privilegesassert template.sudo is TrueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_fakeserver.py:190 · Privileged sudo command — agent may execute with elevated privilegesassert exec_capture(client, "sudo -n true")[2] == 0Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
URL to a private-network addresstests/test_cli.py:361 · URL to a private-network address — a LAN or development targetassert entry["url"] == "http://10.9.8.7:9999/mcp"Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07

Cost to the agent

Instructions loaded
≈31 tok
1 file · 36 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

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

10 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim boyunxi: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  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. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
  5. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  6. References a credential file in the home directory≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim boyunxiPropose a patch to the maintainer