Discord Users Targeted with NPM Packages
Table of Contents
- By Patrick Ryan
- 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?
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.