Cyber Risks · The Hacker News

Researchers Uncover Node CordRAT Hidden in npm Bitcoin-Themed Packages

Summary: Researchers at Zscaler ThreatLabz found three malicious npm packages uploaded by a user named "wenmoonx" that deliver a previously undocumented remote access trojan they named NodeCordRAT, and all three were taken down as of November 2025. The packages bitcoin-main-lib and bitcoin-lib-js run a postinstall.cjs script that installs bip40, which carries the payload; the malware steals Google Chrome credentials, API tokens, and seed phrases from wallets like MetaMask, and uses a hard-coded Discord server and token to receive commands and exfiltrate stolen files as message attachments.

What's compelling: The packages were named to mimic real bitcoinjs repositories such as bitcoinjs-lib, bip32, and bip38, so a developer reaching for a familiar Bitcoin library could pull the payload in through an ordinary install. NodeCordRAT's command-and-control rides on Discord's own API, meaning the channel carrying instructions and stolen wallet seed phrases looks like normal traffic to that service.

Read the original at The Hacker News ↗

Topics
Malware
Related