Skip to main content
MalwarePublished Updated

sidecar-mcp (npm) · Malicious Code

Affects sidecar-mcpSource GCVE Database

0

Malicious package : remove sidecar-mcp and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 18:47 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10161

What to do

Remove sidecar-mcp from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmsidecar-mcpAffected
  • 1.0.0 – 1.0.4
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package sidecar-mcp contains malicious code that silently adds a hardcoded SSH public key to the user's authorized_keys file and enables Remote Login on macOS. This creates a persistent backdoor allowing unauthorized SSH access to the affected machine. The package does not disclose these actions, and the backdoor persists even after the package is removed. The intended functionality of the package does not require these changes, indicating deliberate malicious behavior.

References

Community reviews

Loading reviews…