{"id":"MAL-2026-6756","summary":"Malicious code in vps-maintenance (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (da5dcc405a10775ace9fab68ee0a5ddf9bcad770d29e20f999df6d41072e46b1)\nOn 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.\n\n## Source: ghsa-malware (f1bd499e6bf54539cafac021d6389fbb6684b7b91795b7ab5340fd4f8840a4f0)\nAny 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.\n","aliases":["GHSA-qc5h-v3rf-5x95"],"modified":"2026-07-08T15:31:45.942170574Z","published":"2026-07-04T13:43:09Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-07-04T13:43:09Z","versions":["0.1.0"],"source":"amazon-inspector","sha256":"110b8556d612185c2c6ea84731898d4f23f04658556e1ff22852f953b956e43a","import_time":"2026-07-04T14:34:32.127091288Z","id":"IN-MAL-2026-007956"},{"modified_time":"2026-07-07T16:16:40Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"f1bd499e6bf54539cafac021d6389fbb6684b7b91795b7ab5340fd4f8840a4f0","import_time":"2026-07-07T17:01:10.306036718Z","id":"GHSA-qc5h-v3rf-5x95"},{"sha256":"da5dcc405a10775ace9fab68ee0a5ddf9bcad770d29e20f999df6d41072e46b1","import_time":"2026-07-08T15:19:04.565201065Z","id":"IN-MAL-2026-008056","modified_time":"2026-07-08T14:32:19Z","versions":["0.1.1"],"source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vps-maintenance/v/0.1.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qc5h-v3rf-5x95"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vps-maintenance/v/0.1.1"}],"affected":[{"package":{"name":"vps-maintenance","ecosystem":"npm","purl":"pkg:npm/vps-maintenance"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.0","0.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vps-maintenance/MAL-2026-6756.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"b62a2df731cc91853abbbf71370868506684d82447d51666fe51cb43bf9e4cec","tlsh":"4811ce35caa4cf2321d840e46cb60a17aaa548172255bd1433ca216dc75e2eb18ff39e","path":"package.json"}],"package_integrity":[{"hashes":{"sha1":"319e70ecd5b71fc690522825093e19cb76ba508d","sha512_sri":"sha512-Kwj71je+AYz1+E4g35VVwjStRIL4Xfhk9VqPJ1+yZ3FdKOxCXUpMRAsMJPtRr2/8paaw/v99hrnRMqc1IJsjjg=="},"filename":"vps-maintenance-0.1.0.tgz"}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}