Behaviour report · published
version 2.28.0 | run 2026-11-24ssh-mcp
Recorded by Toolmark on 2026-11-24. Version 2.28.0. Run 2026-11-24. A behaviour report, not a rating or an endorsement.
- Tools declared
- 16
- Called
- 16
- Not called
- 0
- Checks passed
- 10
- 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 read
open-session
Declared and observed
What each tool says about itself, next to what happened when we called it.
List all configured SSH profiles and their connection status. Use this to discover available hosts before running commands. readOnlyHint: True
called; returned an error for our synthetic input
not tested
List active sessions for a given SSH profile. readOnlyHint: True
called; returned an error for our synthetic input
not tested
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.
passed: reports a failure when it cannot reach its service
review item
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
Read recent output from a background session (e.g., tail -f logs). readOnlyHint: True
called; returned an error for our synthetic input
not tested
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
Execute a shell command on a profile with approvalPolicy = "client-tool", where calling this tool is the approval: the MCP client asks the user before the call runs. Use it when run-command refuses a destructive or privileged command with APPROVAL_VIA_TOOL; it takes the same arguments. On a profile with any other approvalPolicy it runs nothing and points back at run-command (CLIENT_TOOL_ONLY). 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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
Send a signal (INT, TERM, KILL) to a remote process by PID. destructiveHint: True
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
Download a file from the remote server via SFTP. readOnlyHint: True
called; returned an error for our synthetic input
not tested
List a remote directory over SFTP, with a bounded number of entries and a bounded response size. Read-only. readOnlyHint: True
called; returned an error for our synthetic input
not tested
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
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
passed: reports a failure when it cannot reach its service
reports a failure when it cannot reach its service · verified
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
called; declares no output to check
not tested
What the server did in the sandbox
/root/.local/share/ssh-mcp/audit.logRecorded 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: 11026 bytes as JSON (names, descriptions and input schemas of 16 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
- as claimed by the package metadata
Dependencies (178)
@grpc/grpc-js@1.14.7, @grpc/proto-loader@0.8.1, @hono/node-server@2.1.11, @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
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 7854f74f3274feb0259eb2c783e2e46ca948a248, modal_sdk 1.6.4, python 3.12.16, rules 1e5a2990d01b99a3, toolmark not installed