Discord Users Targeted with NPM Packages

  • By Steven
  • Published: Aug 02, 2022
  • Last Updated: Aug 02, 2022

Harmful NPM packages are stealing usernames, passwords, and financial information from Discord users. The campaign, dubbed "LofyLife", plucks tokens from users, infects files for monitoring activity, and can even change a Discord user's password in mere seconds.

What is NPM all About?

NPM is an acronym short for node package manager. The NPM repository is used to conceal malware that pilfers Discord tokens to observe Discord sessions and steal information from the chat service.

Who Identified the Threat?

Kaspersky’s team deserves credit for identifying the threat. The campaign highlighted by digital security specialists with Kaspersky conceals open-source token loggers in addition to the JavaScript novel malware within NPM packages. The campaign even records details about users' computers, including IP addresses from compromised computers.

The Kaspersky digital security specialists pinpointed nefarious activity within four packages with concealed JavaScript and Python code designed to compromise target machines. The Python code is an altered form of the Volt Stealer token vlogger. LofyStealer was designed for compromising client files within the Discord chat service, setting the stage for observing, tracking, and compromising user activity.

To What Extent Can Hackers Monitor Discord User Activity?

The threat is advanced to the point that it determines when users log in, change their passwords, alter registered email addresses, activate/deactivate multi-factor authentication, and more. Even alterations to financial information such as stored data about credit cards and other forms of payment are monitored for data collection purposes. The collected data is transferred to the remote endpoint.

Why are Digital Miscreants Interested in Open-Source Repositories?

In plain terms, aggressions toward repositories that are of the open-source variety are a covert means of digital aggressors zeroing in on a multitude of users and apps with the utmost efficiency. Open-source repositories are essentially used as vessels to conceal malware that waits until the opportune moment to strike.

Discord is an especially attractive target as it has millions of users, meaning repository packages are downloaded billions of times. However, open source has an upside: it allows community members to make improvements to code without requiring financial compensation, ultimately benefiting the greater good.

Why are NPM Repositories Such a Significant Threat?

There is a concern that hackers will use NPM repositories for nefarious purposes such as digital aggressions against the supply chain. The repository functions as an open-source base for developers. On this base, they can trade and utilize specific code blocks that have applications across a litany of online applications. However, if there is even a slight corruption, there is the potential for issues with the supply chain. The harmful code can be propagated within apps and subsequently used to target the app's users.

How can Businesses and Websites Defend Against Malicious Packages?

Discord is becoming that much more popular with each passing day, meaning more businesses and everyday people will begin to incorporate the chat service into work and life. However, as noted above, all open-source repositories including but not limited to Discord, can potentially be used for harmful purposes. Update your digital security protections today, and you'll be able to confidently transition toward an uncertain tomorrow.

About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

What You Need to Know about the Episource Data Breach

What You Need to Know about the Episource Data Breach

Episource is a California-based healthcare services and technology company that provides risk adjustment and medical coding services to healthcare plans, doctors, and several other types of healthcare organizations.

What you need to know about the Krispy Kreme Data Breach

What you need to know about the Krispy Kreme Data Breach

The popular doughnut and coffeehouse chain Krispy Kreme was established in 1937 in Winston-Salem, North Carolina. It has grown over the years and currently operates 1,500 shops and 17,900 points of access in 40 nations.

What You Need to Know about the Ocuco Data Breach

What You Need to Know about the Ocuco Data Breach

Ocuco is a Dublin-based organization that specializes in optical software solutions. Established in 1993 by Leo Mac Canna, the company initially developed software for independent optometrists.

What You Need to Know about the TxDOT Data Breach

What You Need to Know about the TxDOT Data Breach

The Texas Department of Transportation (TxDOT) is responsible for designing, planning, operating, building, and maintaining the state's transportation system to deliver a reliable and safe transportation system.

What You Need to Know about the AT&T Data Breach

What You Need to Know about the AT&T Data Breach

AT&T, one of the largest telecommunications providers in the United States and the fourth-largest telecommunications company in the world by revenue, experienced a significant data leak, which became public in June 2025.

What You Need to Know about the Mainstreet Bank Data Breach

What You Need to Know about the Mainstreet Bank Data Breach

MainStreet is a community-oriented bank in Fairfax, Virginia. Established in 2004, it is under the MainStreet Bancshares Incorporated, a small-cap financial holding organization.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close