Malicious code in vps-adapter-core (npm)
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.
AI Analysis
Technical Summary
The 'vps-adapter-core' npm package, published by the account 'srm0rgan', is a purpose-built malware package part of a coordinated campaign involving fake 'Paperclip' VPS-maintenance adapters. Every published version (1.0.0, 1.0.1, 1.0.2) includes a postinstall script that runs automatically on 'npm install'. This script appends an attacker-controlled ed25519 SSH public key to the user's authorized_keys file, writes a cron job that opens reverse bash shells to a remote IP on multiple ports every minute and at reboot, immediately spawns interactive reverse shells, and exfiltrates a wide range of sensitive credentials and system files to the attacker over raw TCP. It also deletes sibling malicious packages to hinder detection. Installation results in full host compromise.
Potential Impact
Installation of this package results in full host compromise. The attacker gains persistent SSH access, continuous reverse shell access, and exfiltrates sensitive credentials including cloud provider keys, Kubernetes configs, Docker and npm credentials, SSH private keys, and system files such as /etc/shadow and /etc/passwd. This compromises confidentiality, integrity, and availability of the affected system and any connected infrastructure relying on the stolen credentials.
Mitigation Recommendations
There is no official patch or remediation available for this malicious package. The package should be removed immediately if installed. However, because the attacker gains full control at install time, the affected system must be considered fully compromised. All credentials and SSH keys accessible from the compromised host should be rotated from a separate, clean machine. Remove the malicious cron job file (/etc/cron.d/eni-persist) and the attacker's SSH key from authorized_keys. Conduct a full forensic investigation and consider rebuilding the affected system from a trusted backup or clean source.
Malicious code in vps-adapter-core (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'vps-adapter-core' npm package, published by the account 'srm0rgan', is a purpose-built malware package part of a coordinated campaign involving fake 'Paperclip' VPS-maintenance adapters. Every published version (1.0.0, 1.0.1, 1.0.2) includes a postinstall script that runs automatically on 'npm install'. This script appends an attacker-controlled ed25519 SSH public key to the user's authorized_keys file, writes a cron job that opens reverse bash shells to a remote IP on multiple ports every minute and at reboot, immediately spawns interactive reverse shells, and exfiltrates a wide range of sensitive credentials and system files to the attacker over raw TCP. It also deletes sibling malicious packages to hinder detection. Installation results in full host compromise.
Potential Impact
Installation of this package results in full host compromise. The attacker gains persistent SSH access, continuous reverse shell access, and exfiltrates sensitive credentials including cloud provider keys, Kubernetes configs, Docker and npm credentials, SSH private keys, and system files such as /etc/shadow and /etc/passwd. This compromises confidentiality, integrity, and availability of the affected system and any connected infrastructure relying on the stolen credentials.
Mitigation Recommendations
There is no official patch or remediation available for this malicious package. The package should be removed immediately if installed. However, because the attacker gains full control at install time, the affected system must be considered fully compromised. All credentials and SSH keys accessible from the compromised host should be rotated from a separate, clean machine. Remove the malicious cron job file (/etc/cron.d/eni-persist) and the attacker's SSH key from authorized_keys. Conduct a full forensic investigation and consider rebuilding the affected system from a trusted backup or clean source.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6949
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-hvxm-858v-vhw9"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4f0cc9d9e3dbe328e02f
Added to database: 07/08/2026, 13:22:20 UTC
Last enriched: 07/15/2026, 14:14:03 UTC
Last updated: 07/23/2026, 17:26:22 UTC
Views: 46
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.