Malicious Code Vulnerability in nitrotea Package
Summary
MAL-2025-180030: Malicious code in nitrotea (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 nitrotea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate npm's publishing system, often containing scripts that automatically generate and publish derivative packages. This behavior can lead to a significant pollution of the npm registry and can affect developers' reputation scores.
Vulnerability Detail
The vulnerability in the nitrotea package arises from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This not only clutters the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nitrotea
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 measure, you can avoid using the nitrotea package altogether until a secure version is released. Additionally, you can use npm audit to identify and mitigate vulnerabilities in your project.
Conclusion
The nitrotea package has been identified as part of a malicious campaign that poses significant risks to developers and their projects. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for nitrotea →
FAQ
The nitrotea package is part of a token reward campaign that has been associated with malicious activities in the npm ecosystem.
This vulnerability can lead to the installation of malicious packages that may compromise your project's integrity and security.
If you have installed nitrotea, it is crucial to remove it and update your dependencies to eliminate any potential risks.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.