sidecar-mcp
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-6fg7-6wv2-gx3j
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in sidecar-mcp (npm)
---
_-= 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 [email protected]) 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0