Repository navigation
v4.3.6
A security release: upgrade if an agent runs in a project folder you did not write.
The .env of the folder an MCP client was started in could define a server whose
PROXYCOMMAND runs a command on your machine when a tool connects to it
(GHSA-wxcj-q5hp-wjrw,
high). Every release from 3.3.0, where PROXYCOMMAND was added, is affected.
One thing behaves differently on purpose: that .env is no longer read unless you
placed it or set SSH_MANAGER_TRUST_PROJECT_ENV=1 (details below). Servers in
~/.ssh-manager/.env, in a file named by SSH_ENV_PATH or SSH_MANAGER_ENV, in the
vault or in the process environment are not affected. Nothing else changes (the release
pipeline upgrades 3.8.5, 3.8.6, 3.8.7, every 4.0.x, 4.1.0, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3,
4.3.4 and 4.3.5 from the registry to this version and back).
The Windows installer is still not Authenticode-signed, for the same reason
as 4.0.0: Windows shows "Windows protected your PC", More info → Run anyway,
and ssh-manager app checks the installer against the SHA-256 in
release-manifest-win32.json. macOS builds are signed and notarized.
Security
- A project's
.envcould run a command on this machine
(GHSA-wxcj-q5hp-wjrw,
reported by Pythame). The engine read the.envof its working directory, which is
whatever project the MCP client was started in, when~/.ssh-manager/.envdid not
exist. That file can define a server withSSH_SERVER_<NAME>_PROXYCOMMAND, or point
SSH_CONFIG_PATHat a TOML with aproxy_command, and the engine runs that command
through the shell when a tool connects to the server: before any SSH banner, whatever
the server's mode or approval, and even when the connection then fails. A repository
with such a file was enough. Every release from 3.3.0, wherePROXYCOMMANDwas
added, is affected.
One thing behaves differently on purpose: the.envof the working directory is
no longer read, unless it is also a file you placed (~/.ssh-manager/.env, your
home's.env, or the install directory's, which is what a run from a checkout
reads) or the environment of the MCP server saysSSH_MANAGER_TRUST_PROJECT_ENV=1.
A project file cannot grant that itself, and a file it names through
SSH_CONFIG_PATHis not read either. When a project.envthat defines servers is
left unread, the engine says so at startup, inssh_list_serversand in "server not
found", with the three ways to have it read: move it to~/.ssh-manager/.env, name
it withSSH_ENV_PATH, or set the variable (in theenvblock of the MCP client's
configuration, where the client's own approval of a project server applies). With a
file in~/.ssh-manager/.env,SSH_ENV_PATHorSSH_MANAGER_ENV, nothing changes.
Two details that come with it: a project.envno longer hides your home.env, and
a.envwritten into the project while the engine runs is not picked up.
Install or update: npm install -g mcp-ssh-manager@4.3.6 (or npm update -g mcp-ssh-manager), or download the desktop application below; the 4.x application updates itself.