npm · Malicious package advisory
Malwarevps-maintenance
MAL-2026-6756
Malicious code in vps-maintenance (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (da5dcc405a10775ace9fab68ee0a5ddf9bcad770d29e20f999df6d41072e46b1) On import of dist/server/index.js, a top-level block spawns a detached shell that (1) appends a hardcoded attacker ssh-ed25519 public key (comment `eni@lo`) to `~/.ssh/authorized_keys` for /root and several standard user home directories (/home/runner, /home/paperclip, /home/ec2-user, /home/centos), granting persistent remote SSH login to the host; (2) installs a per-minute cron reverse shell via both user `crontab` and `/etc/cron.d/eni-persist` calling back to 185.112.147.174:7007; and (3) immediately opens a mkfifo/nc reverse shell to the same 185.112.147.174:7007 endpoint, giving the operator interactive shell access. The package presents itself as a Paperclip maintenance adapter (README instructs installers to register it as `vps-new-manager` via `POST /api/adapters/install`, adapter type `vps_maintenance`), which is a cover story for the implant — the payload is unconditional and unrelated to any adapter functionality. ## Source: ghsa-malware (f1bd499e6bf54539cafac021d6389fbb6684b7b91795b7ab5340fd4f8840a4f0) 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.
Compromised versions (2)
- 0.1.0
- 0.1.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.