Malicious Code Injection in farooqrasheed Package - npm Vulnerability
Summary
MAL-2025-171205: Malicious code in farooqrasheed (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The farooqrasheed package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can inflate developer reputation scores for token rewards. This vulnerability poses a significant risk to developers and users relying on the integrity of npm packages.
Vulnerability Detail
The vulnerability in the farooqrasheed package originates from its involvement in the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the security and reliability of applications that depend on these packages. The malicious payload is designed to execute without user consent, making it a severe threat to the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall farooqrasheed
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can avoid using the farooqrasheed package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The farooqrasheed package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and applications. It is crucial to take immediate action to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for farooqrasheed →
FAQ
The farooqrasheed package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and functionality.
You should uninstall the farooqrasheed package immediately using the command npm uninstall farooqrasheed.
Yes, tools like Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.