MAL-2026-10161
Malicious code in sidecar-mcp (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for sidecar-mcp (npm). Pin to a known-safe version or switch to an alternative.