vps-adapter-core (npm) · Malicious Code
Affects vps-adapter-coreSource GCVE Database
Malicious package : remove vps-adapter-core and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 14:14 UTC
Malicious package
Published to npm · OSV MAL-2026-6949
What to do
Remove vps-adapter-core from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmvps-adapter-core | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'vps-adapter-core' is a malicious package designed to compromise any system that installs it. It contains a postinstall script that executes automatically during installation, performing multiple malicious actions including installing an SSH backdoor, establishing persistent cron jobs for reverse shells, exfiltrating sensitive credentials and secrets, and spawning interactive reverse shells to an attacker-controlled server. The package also attempts to remove traces of related malicious packages to evade detection. Any system that installs this package should be considered fully compromised.
References
- github.com/advisories/GHSA-hvxm-858v-vhw9 (opens in a new tab)
- npmjs.com/package/vps-adapter-core/v/1.0.2 (opens in a new tab)
- npmjs.com/package/vps-adapter-core/v/1.0.1 (opens in a new tab)
- npmjs.com/package/vps-adapter-core/v/1.0.0 (opens in a new tab)
- npmjs.com/package/vps-adapter-core (opens in a new tab)