A highly sophisticated Remote Access Trojan (RAT) has resurfaced on the npm registry, demonstrating a relentless effort to compromise developer environments.
After npm security took down the original malicious forge-jsx package on May 4, 2026, the threat actor immediately launched its successor: forge-jsxy.
Operating under a new account, the attacker picked up exactly where they left off, resuming the version numbering at v1.0.66.
Over the next 22 days, the operator pushed 22 new versions, transforming the malware into a highly capable backdoor.
The threat actor operates with the discipline of a professional software team, utilizing structured releases, feature branches, and comprehensive test suites.
All stolen data is silently exfiltrated to a command-and-control (C2) server, Discord webhooks, and attacker-controlled Hugging Face repositories.
Malicious npm RAT Backdoor
The forge-jsxy package retains all the malicious functionality of its predecessor, including system-wide keylogging, clipboard monitoring, exfiltration of shell history, and scanning of .env files.
However, recent rapid-fire updates have introduced severe new threats aimed at financial theft and deep system persistence.
Cryptographic wallet theft, the malware scans the entire filesystem for wallet files, validates BIP39 mnemonics, verifies Solana keypairs, and checks secp256k1 private keys to enable automated wallet draining.
Browser extension harvesting: It targets LevelDB databases across over 21 Chromium-based browsers, specifically hunting for extensions such as MetaMask, Phantom, and Rabby.
Durable persistence: The agent copies itself to hidden, platform-specific directories outside of node_modules, ensuring the malware survives even if a developer uninstalls the package.
Automated upgrades: A WebSocket relay allows the C2 server to push automatic version upgrades to infected machines without any user interaction.
WebRTC data channels: The malware establishes low-latency, peer-to-peer data transfers between the infected agent and the attacker’s remote viewer.
Because the malware establishes durable persistence, simply running an npm uninstall command is not enough to secure an infected machine.
Developers who inadvertently installed any version of forge-jsxy must treat all system credentials, browser data, and cryptocurrency wallets as fully compromised.
According to safedep research, victims must manually delete the durable agent directories and their associated persistence mechanisms, such as systemd services or Task Scheduler entries.
Furthermore, it is critical to rotate all API keys and cloud secrets in .env files, and to immediately transfer any cryptocurrency funds to new wallets created on a clean device.
Key Indicators of Compromise (IoCs):
| Indicator Type | Value / Details |
|---|---|
| Malicious Package | forge-jsxy (v1.0.66 – v1.0.91) |
| C2 IP Address | 204.10.194.247 (Ports: 9877, 8765) |
| Linux Persistence | ~/.local/share/cfgmgr/.forge-jsxy/ |
| macOS Persistence | ~/Library/Application Support/CfgMgr/data/.forge-jsxy/ |
| Windows Persistence | %LOCALAPPDATA%\CfgMgr\data\.forge-jsxy\ |
| SHA-256 (v1.0.91) | 4938d47fe6216f8f9fee0527bf5112c04c15a9ea62f87869677619aa5400f09f |
Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.