sidecar-mcp (npm) · Malicious Code
Affects sidecar-mcpSource GCVE Database
Malicious package : remove sidecar-mcp and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 18:47 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| npmsidecar-mcp | Affected
| 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
- npmjs.com/package/sidecar-mcp/v/1.0.1 (opens in a new tab)
- npmjs.com/package/sidecar-mcp/v/1.0.0 (opens in a new tab)
- npmjs.com/package/sidecar-mcp/v/1.0.4 (opens in a new tab)
- npmjs.com/package/sidecar-mcp/v/1.0.2 (opens in a new tab)
- github.com/advisories/GHSA-6fg7-6wv2-gx3j (opens in a new tab)
- npmjs.com/package/sidecar-mcp/v/1.0.3 (opens in a new tab)