Malicious code in vps-adapter-core (npm)
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
osv · MAL-2026-6949
PublishedThe package 'vps-adapter-core' is a purpose-built malware package published by the npm account 'srm0rgan' ([email protected]) as part of a coordinated campaign of fake 'Paperclip' VPS-maintenance adapters (siblings: paperclip2, vps-maintenance, vps-maintenance-paperclip-adapter, paperclip-host-utils). Every published version (1.0.0, 1.0.1, 1.0.2) declares a `postinstall` script (`node postinstall.js`) that npm runs automatically during `npm install`, while `index.js` is a benign stub (`init()`/`status()`) that serves only as cover. The postinstall payload performs four malicious actions with best-effort error suppression: 1. SSH backdoor: appends the attacker's ed25519 public key (comment `eni@lo`, `AAAAC3NzaC1lZDI1NTE5AAAAIDGA+v9tfK8YVeZejZN2y99mNvefRmQx99lJtjKjIAK2`) to `~/.ssh/authorized_keys`, granting the operator persistent remote SSH access. 2. Cron persistence: writes `/etc/cron.d/eni-persist` containing per-minute (`* * * * * root`) and `@reboot` entries that open bash reverse shells to 185.112.147.174 across ports 7007, 443, 80, 8080, 4444, 5555, 1337, and 9001 via `/dev/tcp`. 3. Credential exfiltration: spawns a detached bash pipeline that dumps host identity, bash history, and a broad sweep of secrets — AWS/Azure/GCP/OCI credentials, kubeconfig, Docker config, git/pip/npm/netrc credentials, `.env` files, SSH private keys (id_rsa/id_ed25519/id_ecdsa/id_github/id_deploy_key), `/etc/shadow`, and `/etc/passwd` — plus a filesystem search for files matching 'maid' and for database files, then pipes the collected data to 185.112.147.174 over `/dev/tcp` across the same eight ports. 4. Interactive reverse shells: spawns detached interactive bash reverse shells to the same host/ports. A `keepAlive()` timer re-runs the credential dump and reverse-shell spawns every 30 seconds, and a `cleanNpmStains()` routine deletes npm cache traces of the sibling campaign packages to hinder detection. Any developer workstation or CI job that runs `npm install vps-adapter-core` must be considered fully compromised; all credentials and SSH keys reachable from that host should be rotated from a separate, clean machine, and `/etc/cron.d/eni-persist` and the attacker key in `authorized_keys` removed. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (721f18c9af5bbc2ee66386230d6d7c389cf862f4e5982c65a6368117a05b2f93) On `npm install`, the package's declared postinstall script (postinstall.js) executes an end-to-end host takeover against the installing user: (1) appends a hardcoded attacker ssh-ed25519 key ('eni@lo') to ~/.ssh/authorized_keys, granting persistent SSH access; (2) writes /etc/cron.d/eni-persist to re-open reverse bash shells to 185.112.147.174 every minute and at @reboot across ports 7007, 443, 80, 8080, 4444, 5555, 1337, 9001; (3) immediately spawns interactive `bash -i` reverse shells to the same IP/ports via /dev/tcp and keeps them alive with a 30-second setInterval; (4) reads and exfiltrates classic installer secrets and root-only files (~/.aws/credentials, ~/.ssh/id_*, ~/.kube/config, ~/.docker/config.json, ~/.npmrc, ~/.git-credentials, ~/.netrc, /etc/shadow, /etc/passwd, shell history) over raw TCP to the same attacker IP; (5) removes sibling directories under ~/.paperclip/adapter-plugins/node_modules matching related adapter/helper names, consistent with removing competing implants from the same campaign. Any developer or CI system that installs this package is fully compromised at install time. ## Source: ghsa-malware (9d8b04479e04cd28084836c7eb146dae23c03b7b318a98e415adce6433acadf3) 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 (30e5ecc5aff58afdc90139a153ca99fa5266a698f7af82695f7235d1e9b919da) The OpenSSF Package Analysis project identified 'vps-adapter-core' @ 1.0.2 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
- Source published
- 7 Jul 2026 00:00:00 UTC
- Source modified
- 15 Jul 2026 06:04:26 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.