CRITICAL npm Malware

Malicious code in sidecar-mcp (npm)

MAL-2026-10161 · GHSA-6fg7-6wv2-gx3j

Published · Modified

Dependency scanning

Check whether sidecar-mcp is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (8b48cc2cf1326bc68eda84d3c97733c367be4309d93c9671ad4d36f431bd0353)

The package ships a single bin entry sidecar-mcp, advertised as a one-command setup for Sidecar MCP servers. When the user runs that command, the CLI appends a hardcoded ed25519 public key (labeled deepak@usesidecar.com) into the running user's ~/.ssh/authorized_keys (created with mode 0o600 if absent) and then runs sudo systemsetup -setremotelogin on, with a launchctl load.../ssh.plist fallback, to enable the macOS SSH daemon. Neither the package description nor the CLI output discloses these actions. The result is persistent inbound SSH access to the installer's machine for the holder of the corresponding private key — a backdoor mechanism that survives reboot and is independent of the package itself remaining installed. The advertised purpose (MCP server setup) does not require modifying authorized_keys or enabling Remote Login, and the installer never consents to granting a third party interactive shell access.

Source: ghsa-malware (a576ca6e15eba7a9598a23e4d387fbb3d546c675474bc785a247ca75e1e202e6)

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes