Malicious Code in firozkhan Package: npm Vulnerability Overview
Summary
MAL-2025-171228: Malicious code in firozkhan (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 firozkhan package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. The primary functionality of firozkhan is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the firozkhan package being involved 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 automatic generation and republishing of numerous derivative packages, which can inflate developer reputation scores and pollute the npm registry. The ramifications include potential security risks for users who unknowingly install these compromised packages, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall firozkhan
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 firozkhan package in your project. If you have already installed it, you can remove it using the following command: npm uninstall firozkhan.
Conclusion
The firozkhan package has been identified as a malicious entity within the npm ecosystem, posing significant risks to users and the integrity of the registry. Immediate action is required to remove this package from any projects to prevent potential security breaches. Utilizing tools like Vulert can help monitor for vulnerabilities in your applications effectively.
See every vulnerability recorded for firozkhan →
FAQ
The firozkhan package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall the firozkhan package immediately to mitigate any potential risks associated with its malicious behavior.
Currently, there is no patch available for the firozkhan package. The best course of action is to remove it from your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.