The npm Security team has recently removed a malicious package from its official repository. The malicious npm package attempted to steal users’ data including Discord account information and browsing history.
Malicious npm Package Flooded NPM Portal
Explaining the details in an advisory, they stated that a malicious npm package appeared in their repo. Labeled as ‘fallguys’, the package offering interface for the API of ‘Fall Guys: Ultimate Knockout’ game.
However, the package actually included malicious code meant for stealing users’ data. As stated in the advisory,
fallguyscontained malicious code that attempted to read local sensitive files and exfiltrate information through a Discord webhook.
Specifically, the code attempted to access the following paths on the victim’s device.
These target paths clearly show that the code strived to steal data from Google Chrome, Opera, Yandex, and Brave browsers. Accessing database files for these browsers would land the entire browsing history of the victim at the hands of the attackers.
Also, the code targeted Discord data as well, specifically, the Discord channel-specific content.
The malware would execute right after a developer would download the package and integrate it inside a project to run.
NPM Removed The Malicious Library
Upon noticing the malicious library, npm security team quickly removed it from the repository. The current package page clearly mentions the same.
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
However, the package, before removal, existed in the repository for about two weeks. It currently shows around 300 downloads during this period.
Hence, though the package no more exists in the repo, the users who have downloaded it must ensure the removal of the package from their systems. Team npm also advises the victims to update their login credentials as a precaution.
Let us know your thoughts in the comments.
Latest posts by Abeerah Hashim (see all)
- Microsoft Released Out-of-Band Fixes For Two Remote Code Execution Bugs - October 21, 2020
- Multiple Vulnerabilities In Discord Desktop App Could Allow RCE Attacks - October 21, 2020
- Review Of KeepSolid Passwarden – Your Ultimate Password Manager - October 20, 2020