VYPR

npm · Malicious package advisory

Malware

sidecar-mcp

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.

Compromised versions (4)

  • 1.0.1
  • 1.0.0
  • 1.0.4
  • 1.0.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.