🛡️ MAL-2026-6949 — vps-adapter-core

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in vps-adapter-core (npm)

The 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.

Source: amazon-inspector

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

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

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.

Affected software

MAL-2026-6949 is recorded against 1 package.

  • vps-adapter-core

Timeline and source

Published on 7 July 2026 and last revised on 15 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

Indicators of compromise

IP addresses: 185.112.147.174
URLs: http://185.112.147.174:8080/npm/v1/security/audits/quick

References

github.com (Advisory)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-07-07
Updated 2026-08-12
Modified 2026-07-15
Fix URL N/A

Affected Packages

Software From version Fixed in
vps-adapter-core

Free Vulnerability Check

Is your site affected by MAL-2026-6949?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-6949 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.