Skills/PyPI/mcp-ssh-reloaded

mcp-ssh-reloaded@0.7.0

CAUTION· not started

Publisher claims: "MCP server for SSH sessions management." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher amritabot · publishing for 125 daysInstalls 254Last detonated 5d 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.

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 the honeypot saw
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 -- uvx mcp-ssh-reloaded

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-09 and scored it 78/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.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

MEDIUM
File permission modification commandsrc/mcp_ssh_reloaded/file_manager.py:483 · File permission modification command — agent changes file ownership/permissionslogger.debug(f"Executing chmod command: {chmod_cmd}")Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/file_manager.py:174 · Privileged sudo command — agent may execute with elevated privilegesf"SFTP permission denied, falling back to sudo cat for {remote_path}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/file_manager.py:329 · Privileged sudo command — agent may execute with elevated privileges# Apply environment variable override for sudo passwordFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_concurrency.py:86 · Privileged sudo command — agent may execute with elevated privilegesprint("Attempting to write file with sudo immediately (should fail)...")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/session_manager.py:1387 · Privileged sudo command — agent may execute with elevated privileges- sudo -i, sudo -s, sudo su (root shell)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/command_executor.py:1615 · Privileged sudo command — agent may execute with elevated privileges"""Execute a sudo command using the persistent shell, handling password prompts.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/command_executor.py:1601 · Privileged sudo command — agent may execute with elevated privilegessent = command if command.strip().startswith("sudo") else f"sudo {command}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/file_manager.py:49 · Privileged sudo command — agent may execute with elevated privileges"""Read a remote file over SSH using SFTP, with optional sudo fallback.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/error_handler.py:73 · Privileged sudo command — agent may execute with elevated privileges"1. Use sudo or run as appropriate user\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/services.py:99 · Privileged sudo command — agent may execute with elevated privilegessudo_password=conn.sudo_password if sudo else None,Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/file_manager.py:321 · Privileged sudo command — agent may execute with elevated privileges"""Write content to a remote file over SSH using SFTP, with optional sudo fallback."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_bug_regressions.py:29 · Privileged sudo command — agent may execute with elevated privileges"sudo tmux attach-session",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/command_executor.py:1592 · Privileged sudo command — agent may execute with elevated privileges"""Run a sudo command and drop PTY leftovers from the returned output."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/command_executor.py:1631 · Privileged sudo command — agent may execute with elevated privilegesreturn "", "Could not find session for sudo command", 1Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Hex-encoded string detectedtests/test_image_reading.py:44 · Hex-encoded string detected — may contain obfuscated payloadsapp0 = b"JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/file_manager.py:194 · Privileged sudo command — agent may execute with elevated privilegesf"Permission denied reading {remote_path} and no sudo fallback specified."Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/session_manager.py:1170 · Privileged sudo command — agent may execute with elevated privileges"""Compatibility wrapper around the sudo execution helper."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/mcp_ssh_reloaded/file_manager.py:482 · File permission modification command — agent changes file ownership/permissionschmod_cmd = f"sudo chmod {oct(permissions)[2:]} {shlex.quote(remote_path)}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/command_executor.py:500 · Privileged sudo command — agent may execute with elevated privilegeslogger.debug(f"Executing as sudo for {command_id}")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/server.py:192 · Privileged sudo command — agent may execute with elevated privileges"""Read a remote file over SSH. Falls back to sudo cat if permission denied.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Destructive file system command detectedtests/test_integration.py:230 · Destructive file system command detectedsession_manager, ssh_config, command="rm -rf /tmp/mcp_test_dir", timeout=5Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Hex-encoded string detectedtests/test_image_reading.py:46 · Hex-encoded string detected — may contain obfuscated payloadssos = b"\x01\x01\x00\x00\x3f\x00"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
HIGH
Privileged sudo commandsrc/mcp_ssh_reloaded/session_manager.py:1406 · Privileged sudo command — agent may execute with elevated privilegesr"^sudo\s+(-i|su|-s)", # sudo -i, sudo su, sudo -sFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_package_manager_integration.py:213 · Privileged sudo command — agent may execute with elevated privilegessudo_prefix = "sudo " if use_sudo else ""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_integration.py:320 · Privileged sudo command — agent may execute with elevated privilegestest_content = "sudo test content"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_package_manager_integration.py:194 · Privileged sudo command — agent may execute with elevated privilegessudo_prefix = "sudo " if use_sudo else ""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_shell_integration.py:101 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtests/test_shell_integration.py:117 · Python subprocess execution detectedresult = 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_package_manager_integration.py:255 · Privileged sudo command — agent may execute with elevated privileges# Check if we need sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_integration.py:300 · Privileged sudo command — agent may execute with elevated privileges# Create a test file that requires sudo to writeFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_integration.py:297 · Privileged sudo command — agent may execute with elevated privileges"""Test sudo command with automatic password handling."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_shell_integration.py:151 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Destructive file system command detectedtests/test_shell_integration.py:202 · Destructive file system command detectedshell.send(b". /tmp/mcp633_test.sh; rm -f /tmp/mcp633_test.sh\n")Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Privileged sudo commandtests/test_read_file_window.py:68 · Privileged sudo command — agent may execute with elevated privileges# sudo fallback (mocked executor)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_shell_integration.py:34 · Python subprocess execution detectedreturn 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_integration.py:294 · Privileged sudo command — agent may execute with elevated privilegesreason="Skipping sudo test: SSH_TEST_SUDO_PASSWORD not set",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_integration.py:330 · Privileged sudo command — agent may execute with elevated privilegescommand=f"echo '{test_content}' | sudo tee {test_file}",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_package_manager_integration.py:229 · Privileged sudo command — agent may execute with elevated privilegessession_manager, ssh_config, "sudo -n whoami", timeout=10Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_read_file_window.py:105 · Privileged sudo command — agent may execute with elevated privilegesassert "sudo failed" in fc.errorFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_package_manager_integration.py:227 · Privileged sudo command — agent may execute with elevated privileges"""Check if we have passwordless sudo access."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_shell_integration.py:133 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈48 tok
1 file · 52 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

No advisories in OSV for mcp-ssh-reloaded@0.7.0 as of 5d ago. This is the package itself, not its dependencies.

What would make this Verified

2 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim amritabot: 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. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  4. Hex-encoded string detected≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
  5. Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim amritabotPropose a patch to the maintainer