ToolmarkCheck a package

Behaviour report · published

version 2.26.0 | run 2026-11-20

ssh-mcp

Recorded by Toolmark on 2026-11-20. Version 2.26.0. Run 2026-11-20. A behaviour report, not a rating or an endorsement.

Tools declared
15
Called
15
Not called
0
Checks passed
9
Checks failed
0
To review
1

Not a rating; there is no score. Not tested is never counted against a tool.

To review (1)

Things a person should look at. Not failures.

  • Tools with no safety hints at all, so an agent cannot tell from the list which tools only readopen-session

Declared and observed

What each tool says about itself, next to what happened when we called it.

Declared
Observed
list-connections
List all configured SSH profiles and their connection status. Use this to discover available hosts before running commands. readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
called; returned an error for our synthetic input
not tested
list-sessions
List active sessions for a given SSH profile. readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
called; returned an error for our synthetic input
not tested
open-session
Open a named session on a remote host. Use type="interactive" for stateful shell (CWD/env persists between commands) or type="background" for long-running processes. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
review item
close-session
Close a named session. A background session's command is signalled on the host (INT, then TERM, then KILL) before its channel is dropped; an interactive session's shell is ended. The response says so if the command could not be signalled or had not stopped in time. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
read-session-output
Read recent output from a background session (e.g., tail -f logs). readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
called; returned an error for our synthetic input
not tested
read-command
Execute a READ-ONLY command from an allowlist (ls, cat, grep, find, stat, df, etc.). This tool does NOT modify the system. Prefer this tool for all read operations. Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path. readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
run-command
Execute an arbitrary shell command on the remote server. May modify the system. Commands classified destructive or privileged go through the approval gate; approvalPolicy on the profile decides whether that is a prompt, an automatic allow, or a refusal. Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
privileged-command
Execute a command with sudo elevation. Goes through the approval gate; approvalPolicy on the profile decides whether that is a prompt, an automatic allow, or a refusal. The sudo password is piped via stdin for the prompt only (never visible in process list); the command itself runs with stdin at /dev/null, so it can never read the password back. Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
signal-process
Send a signal (INT, TERM, KILL) to a remote process by PID. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
sftp-upload
Upload a file to the remote server via SFTP (secure file transfer, not shell-based). Replaces an existing file at that path unconditionally — there is no overwrite flag and no way to require a new destination. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
sftp-download
Download a file from the remote server via SFTP. readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
called; returned an error for our synthetic input
not tested
sftp-list
List a remote directory over SFTP, with a bounded number of entries and a bounded response size. Read-only. readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
called; returned an error for our synthetic input
not tested
sftp-upload-file
Upload a local file to the remote host over SFTP, streaming it without passing the contents through model context. The local file must be inside the transferRoot directory the operator configured; without that setting this tool refuses. Use this for binary or large files; use sftp-upload for short text you already have. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
sftp-download-file
Download a remote file to local disk over SFTP, streaming it without passing the contents through model context. The destination must be inside the transferRoot directory the operator configured; without that setting this tool refuses. Use this for binary or large files; use sftp-download when you need to read the contents. destructiveHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No config file found and missing required --host/--user. Either create a config file at /root/.config/ssh-mcp/config.toml or pass --config <path>. For quick start: --host=<host> --user=<user> (credent
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
reload-config
Report or reload the server's config file. action="status" (the default) shows the config path, when it was loaded, the sha256 of its bytes and the result of the last reload; never the contents. action="reload" re-reads the file, validates it exactly as startup does, and applies it only if every check passes; a refused reload changes nothing. Command-line flags are never reloaded. Applying closes connections, with their sessions, whose profile was removed or whose connection fields changed, and clears approval grants. destructiveHint: True
responded without an error flag to synthetic input (observation, not a verified claim)
called; this run recorded no output check
not tested

What the server did in the sandbox

0Programs it started or tried to startnone seen
0Network connections it tried, with the answer it gotnone seen
0Names it looked upnone seen
0Key and secret files it tried to opennone seen
1Files it opened for writing outside the usual places/root/.local/share/ssh-mcp/audit.log

Recorded with strace during this run, for the server and every process it started. The recorder runs inside the same sandbox as the tool, so a tool that targets it could hide from it; it covers the whole run, not each tool call.

Package facts
  • tool list size: 10039 bytes as JSON (names, descriptions and input schemas of 15 tools)
  • packages with an install script, which Toolmark does not run (a server that needs it is marked not tested, never failed): cpu-features@0.0.10, protobufjs@7.6.6, ssh2@1.17.0
How this was tested
  • network check: DNS and TCP (IPv4 and IPv6) to the outside all failed before any call
  • Toolmark's synthetic fixture (files) was created in the data folder /fixture
  • Dependencies (178)@grpc/grpc-js@1.14.7, @grpc/proto-loader@0.8.1, @hono/node-server@2.1.10, @js-sdsl/ordered-map@4.4.2, @modelcontextprotocol/sdk@1.32.2, @napi-rs/keyring-linux-x64-gnu@2.1.2, @napi-rs/keyring@2.1.2, @opentelemetry/api@1.10.0, @opentelemetry/configuration@0.300.0, @opentelemetry/context-async-hooks@3.0.0, @opentelemetry/core@3.0.0, @opentelemetry/core@3.1.1, @opentelemetry/exporter-logs-otlp-grpc@0.300.0, @opentelemetry/exporter-logs-otlp-http@0.300.0, @opentelemetry/exporter-logs-otlp-proto@0.300.0, @opentelemetry/exporter-metrics-otlp-grpc@0.300.0, @opentelemetry/exporter-metrics-otlp-http@0.300.0, @opentelemetry/exporter-metrics-otlp-proto@0.300.0, @opentelemetry/exporter-prometheus@0.300.0, @opentelemetry/exporter-trace-otlp-grpc@0.300.0, @opentelemetry/exporter-trace-otlp-http@0.300.0, @opentelemetry/exporter-trace-otlp-proto@0.300.0, @opentelemetry/exporter-zipkin@3.0.0, @opentelemetry/instrumentation@0.300.0, @opentelemetry/otlp-exporter-base@0.300.0, @opentelemetry/otlp-grpc-expo
    as claimed by the package metadata

Only the published package was run, at this exact version, in Toolmark's sandbox with no network and no secrets, with synthetic input; the provider's hosted service, if any, was not tested. base_image node:22-bookworm-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee, commit 5380e141b8da0eb1a9cb6bc9e40acffe1ce3fc4d, modal_sdk 1.6.4, python 3.12.16, rules cd1495ba013401ce, toolmark not installed