Malicious npm Packages Steal Browser Passwords, Discord Tokens and Crypto Wallets.
A malicious npm package campaign delivered Windows malware that stole browser passwords, Discord tokens, and crypto wallets.
Overview
A single operator has run a campaign called MALFEX since August 2023 that distributes Windows malware through eight malicious npm packagesA reusable web code library published to the public npm registry for developers to install. These packages delivered Overlord RATMalware disguised as a normal file that gives an attacker remote control over the victim's computer, the movinlike information stealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device, and a separate downloader hidden inside an ASCIIThe table that gives every character a number from 0 to 127-art utility. The largest package, function-flag, recorded 37,419 downloads and has contained malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer since July 2025. By October 1, 2026, the malicious packages had accumulated 40,767 downloads, including 3,017 in the week before that date. The malware uses obfuscatedScrambling or tangling code on purpose so humans and security scanners have a hard time reading it scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application to retrieve executablesA compiled program file that an operating system can load into memory and run directly from image-hosting services and hides them in files served as image/png. It targets eight Discord clients, browser cookiesA small piece of text that a website asks your browser to store and return on later visits, saved passwords, Telegram Desktop sessionsAn active logged-in period of communication between a user or device and a server, and cryptocurrency walletsA software app or hardware device that stores the private keys needed to spend cryptocurrency.
Terms in this story
- RAT
- Malware disguised as a normal file that gives an attacker remote control over the victim's computer. Once installed, a remote access trojan lets the attacker watch the screen, record keystrokes, browse files, and run commands as if sitting at the keyboard. Security+ objective 2.4 lists the term
- npm Packages
- A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
- information stealer
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
- ASCII
- The table that gives every character a number from 0 to 127. When analysts inspect a suspicious file or memory dump, they look for readable ASCII text strings such as domain names, error messages, or shell commands hidden among the raw bytes. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- malicious code
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- Obfuscated
- Scrambling or tangling code on purpose so humans and security scanners have a hard time reading it. Attackers use obfuscation by renaming variables to gibberish, splitting strings, and wrapping scripts in layers of encoding so analysts cannot easily see what the program does. Security+ objective 1.4 lists the term
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- executable
- A compiled program file that an operating system can load into memory and run directly. Most mail servers block attached executable files by default because double-clicking a compiled program lets it run whatever instructions the author wrote.
- cookies
- A small piece of text that a website asks your browser to store and return on later visits. Online stores and portals use a cookie to remember who is logged in or what is in a shopping cart, which is why infostealer malware targets the browser database where cookies are stored.
- sessions
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- cryptocurrency wallets
- A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.
- Tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
MALFEX, a persistent npm supply-chain campaign distributing Windows malware through eight malicious... Found by reading the article; these words are close to its own - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Malicious npm Packages Steal Browser Passwords, Discord Tokens and Crypto..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"MALFEX, a persistent npm supply-chain campaign distributing Windows malware through eight malicious..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......since August 2023, the campaign delivers Overlord RAT, the movinlike information stealer, and a..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"Malicious npm Packages Steal Browser Passwords, Discord Tokens and Crypto Wallets." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"MALFEX, a persistent npm supply-chain campaign distributing Windows malware through eight malicious..." Found in the opening sentences - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"Malicious npm Packages Steal Browser Passwords, Discord Tokens and Crypto Wallets." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"MALFEX, a persistent npm supply-chain campaign distributing Windows malware through eight malicious packages. Linked to..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......since August 2023, the campaign delivers Overlord RAT, the movinlike information stealer, and a..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Perform static malware analysis.
"...process hollowing into TapiUnattend.exe..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- MALFEX npm Malware Hides Executables in PNG Files to Infect Windows Developers
- Eight Malicious npm Packages Downloaded 40,767 Times Deliver Overlord RAT and Stealer