Cipher Infostealer Hidden in npm Packages Targets Discord Accounts and Crypto Wallets

Listen to this Post

Featured Image

Introduction: A Supply Chain Attack Hidden in Plain Sight

The open source ecosystem continues to be one of the most powerful foundations of modern software development, but it also remains a growing target for cybercriminals. In a recent discovery, security researchers uncovered a sophisticated malware campaign hidden inside seemingly harmless npm packages. What appeared to be simple developer tools actually contained a dangerous information stealing program designed to infiltrate Windows systems, hijack Discord accounts, and extract sensitive browser and cryptocurrency data.

The attack demonstrates how malicious actors are increasingly abusing trusted developer platforms to distribute malware at scale. By disguising the payload as a popular Roblox script executor known as “Solara,” the attackers created a convincing lure that could easily trick developers and gamers alike. The campaign highlights a dangerous trend in software supply chain attacks, where attackers focus not on breaking systems directly, but on corrupting the tools people trust.

Malware Hidden Inside Innocent npm Packages

Security researchers from JFrog, including Guy Korolevski and Meitar Palas, identified two malicious npm packages on March 12, 2026. These packages were designed specifically to distribute the Cipher infostealer while appearing legitimate to developers browsing the npm ecosystem.

The two packages, named bluelite-bot-manager and test-logsmodule-v-zisko, were structured to appear like normal development utilities. However, behind the scenes they executed malicious pre-install scripts designed to retrieve additional malware from an external source.

Once installed, the scripts automatically downloaded a Windows executable hosted on Dropbox. When this executable was analyzed through VirusTotal, it managed to evade detection by nearly all static and heuristic antivirus engines. The reason was simple yet effective: the executable itself functioned only as a dropper.

Instead of containing the malware directly, it quietly unpacked a much larger hidden payload that traditional scanners failed to detect.

A Massive Hidden Payload

Inside the dropper was an enormous 321MB archive that concealed the real attack infrastructure. The archive contained heavily obfuscated JavaScript code, a full embedded Node.js runtime environment, and an integrated Python script.

This layered design allowed the attackers to bypass signature based security tools by keeping the outer shell relatively clean while hiding the malicious logic deeper inside the package.

The payload also included elevate.exe, a legitimate administrative utility commonly used to execute commands with elevated privileges on Windows systems. By abusing this trusted tool, the malware could escalate its capabilities and operate with greater control over the infected device.

The result was a stealthy infection chain capable of running advanced data theft operations while remaining largely invisible to traditional antivirus defenses.

Discord Client Injection

One of the primary goals of the Cipher infostealer is the compromise of accounts on Discord, a widely used platform for gaming communities, developers, and online groups.

The malware specifically targets Discord’s client environment by modifying application files and disabling built in security protections. It manipulates core files from BetterDiscord, a popular modification framework for the Discord client, to bypass webhook security features that might otherwise block suspicious activity.

For users running the official Discord application, the malware injects malicious JavaScript that downloads an additional payload from a live repository on GitHub.

This injected script forces the victim to log out of their Discord account. When the user logs back in, the malware quietly captures login credentials, two factor authentication codes, and even stored payment information such as credit card details.

To maintain long term persistence, the malicious code modifies Discord installation files so that the injected script runs automatically each time the application launches.

Browser Data and Cryptocurrency Theft

Beyond Discord, the Cipher infostealer performs an extensive scan of the victim’s system to locate sensitive information stored in web browsers.

If Python is not already installed on the infected system, the malware downloads and installs it automatically to ensure that its data extraction routines function properly.

The malware then accesses local databases belonging to popular browsers including:

Google Chrome

Microsoft Edge

Brave Browser

Opera

Yandex Browser

From these browsers it extracts stored passwords, cookies, autofill entries, and browsing history.

At the same time, the malware actively searches the system for cryptocurrency wallet data. Wallet files linked to digital assets such as Bitcoin and Ethereum are specifically targeted.

The attack also focuses on popular crypto wallet applications including Exodus Wallet and Electrum Bitcoin Wallet.

In the case of Exodus wallets, the malware attempts to decrypt seed files using locally available libraries. If successful, attackers could potentially gain full access to a victim’s cryptocurrency holdings.

All stolen data is then gathered into a temporary staging folder, compressed into a ZIP archive, and transmitted back to the attackers using file sharing services or a remote command and control server.

Mitigation Steps for Potential Victims

Although the malicious npm packages and their associated download links have already been removed, users who may have interacted with them should take immediate precautions.

Security experts recommend completely reinstalling the Discord desktop application to remove any potential client side injections. Any suspicious npm packages should also be removed from development environments.

Users should rotate all sensitive credentials, including Discord passwords, authentication tokens, and session cookies. Because the malware specifically targets financial data, cryptocurrency wallet owners should also verify the integrity of their wallets and transfer funds to secure addresses if there is any risk of compromise.

These actions can help limit the damage from infections and prevent attackers from maintaining long term access to compromised systems.

What Undercode Say:

The Cipher infostealer campaign reveals a deeper problem inside the modern open source ecosystem. Developers rely heavily on package managers like npm for rapid development, but the same convenience creates a powerful distribution channel for attackers. Malicious packages can reach thousands of machines before anyone realizes what is happening.

Supply chain attacks are becoming the preferred tactic for cybercriminals because they exploit trust rather than vulnerability. When developers install a library, they rarely inspect every dependency or analyze pre install scripts. This trust based workflow makes it easier for attackers to embed malware that quietly spreads through development environments.

Another important aspect of this campaign is the use of multi layer payload design. Instead of delivering malware directly, the attackers deployed a dropper that unpacked a large archive containing multiple runtimes. This technique significantly reduces detection rates because security scanners often analyze only the initial file.

Embedding both Node.js and Python environments inside the payload also demonstrates a growing trend in cross language malware development. Attackers are no longer limited to a single scripting environment. They can combine technologies to maximize compatibility and expand functionality across systems.

The focus on Discord accounts is also strategic. Discord is not only a messaging platform but a hub for gaming communities, developer groups, cryptocurrency discussions, and private communities. Compromising these accounts allows attackers to spread malicious links further, impersonate trusted users, and potentially launch additional social engineering campaigns.

Cryptocurrency theft adds another lucrative dimension to the attack. Wallet seed files represent direct access to digital funds, meaning a successful compromise can result in immediate financial gain for attackers. Unlike traditional bank fraud, stolen cryptocurrency transactions are often irreversible.

This campaign also shows how attackers are using legitimate services such as Dropbox and GitHub to host malicious components. Because these platforms are widely trusted, network security systems are less likely to block connections to them. As a result, malware can quietly download additional payloads without raising suspicion.

The use of legitimate administrative tools like elevate.exe is another clever tactic. By relying on trusted utilities already recognized by operating systems, malware avoids triggering alarms that would normally accompany privilege escalation attempts.

For organizations, this incident reinforces the importance of implementing stronger dependency security practices. Tools that scan package dependencies, verify maintainers, and analyze installation scripts are becoming essential in modern development pipelines.

Ultimately, the Cipher infostealer is not just another malware campaign. It is a clear example of how software supply chains have become one of the most vulnerable entry points in today’s digital infrastructure.

Fact Checker Results

✅ The malicious npm packages were identified and reported by security researchers from JFrog.
✅ The malware campaign targeted Discord credentials, browser data, and cryptocurrency wallets.
❌ The packages themselves did not directly contain the full malware; they primarily acted as downloaders for the hidden payload.

Prediction

🔮 Supply chain attacks targeting npm, PyPI, and other developer ecosystems will continue increasing over the next few years.

🔮 Malware targeting platforms like Discord will expand as attackers recognize the platform’s role in gaming, crypto, and developer communities.

🔮 Security tools will likely begin focusing more heavily on pre install scripts and dependency chains to detect hidden malware earlier.

🕵️‍📝✔️Let’s dive deep and fact‑check.

References:

Reported By: cyberpress.org
Extra Source Hub (Possible Sources for article):
https://www.pinterest.com
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2
Bing

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon