Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10161: Malicious code in sidecar-mcp (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 16:25:41 UTC)
Source: GCVE Database
Product: sidecar-mcp

Description

The npm package sidecar-mcp versions 1.0.0, 1.0.1, 1.0.2, and 1.0.4 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, independent of the package's presence after installation. The package does not disclose these actions, and the backdoor persists through reboots. The advertised functionality does not require these changes, and users do not consent to granting shell access.

Affected software

npmghsa
sidecar-mcp
Affected versions
=1.0.1=1.0.0=1.0.4=1.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/11/2026, 09:58:07 UTC

Technical Analysis

The sidecar-mcp npm package includes a CLI command that, when executed, appends a hardcoded ed25519 public key to the current user's ~/.ssh/authorized_keys file with permissions set to 600 if the file does not exist. It then enables macOS Remote Login by running 'sudo systemsetup -setremotelogin on' and attempts to load the SSH daemon via launchctl if necessary. These actions are not disclosed by the package or CLI output. This behavior results in a persistent backdoor allowing the holder of the corresponding private key to gain SSH access to the user's machine, surviving reboots and independent of the package remaining installed. The legitimate purpose of the package does not require these modifications, indicating malicious intent.

Potential Impact

The impact is unauthorized persistent remote access to the affected macOS system via SSH. This backdoor allows an attacker with the private key corresponding to the hardcoded public key to gain interactive shell access without user consent. The access persists across reboots and remains even if the package is removed, posing a significant security risk including potential data theft, system compromise, and lateral movement within networks.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately uninstall the sidecar-mcp package versions 1.0.0, 1.0.1, 1.0.2, and 1.0.4 if installed. Inspect and remove the unauthorized SSH public key labeled '[email protected]' from ~/.ssh/authorized_keys. Verify that Remote Login (SSH) is disabled on macOS if not explicitly required. Monitor for any unauthorized SSH access and consider rotating SSH keys and credentials. Check vendor advisories or trusted sources for updates or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10161
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a520ecc68715ace438f63f5

Added to database: 07/11/2026, 09:37:16 UTC

Last enriched: 07/11/2026, 09:58:07 UTC

Last updated: 07/12/2026, 03:39:36 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses