MAL-2026-10161

    Dashboard / Malicious Package / MAL-2026-10161

    MAL-2026-10161

    Published: 10 Jul 2026Last Modified: 26 Aug 2026Aliases: 
    GHSA-6fg7-6wv2-gx3j

    Summary: Malicious code in sidecar-mcp (npm)

    Details: 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.

    Affected packages

    Package

    Name: sidecar-mcp

    Purl: pkg:npm/sidecar-mcp

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.1
    1.0.0
    1.0.4
    1.0.2
    1.0.3