Malicious Code Injection in tealove-nokire22: A Threat to npm Users
Summary
MAL-2025-168550: Malicious code in tealove-nokire22 (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
tealove-nokire22 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages with randomized names. It is primarily used by developers looking to enhance their reputation scores within the npm ecosystem. However, its functionality has been compromised by malicious code that modifies its configuration files.
Vulnerability Detail
The vulnerability in tealove-nokire22 originates from malicious code that alters the package.json file to remove private flags and change version numbers. This code generates random package names, often themed around Indonesian culture, and continuously republishes these variants to the npm registry. The ramifications include pollution of the npm registry, potential security risks for users who inadvertently install these malicious packages, and damage to the reputation of legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nokire22
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, users can avoid using the tealove-nokire22 package until a fix is confirmed. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The tealove-nokire22 package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry with unwanted packages. Users are advised to update or remove the package and utilize tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for tealove-nokire22 →
FAQ
tealove-nokire22 is an npm package associated with the tea.xyz token reward campaign, aimed at generating and publishing derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the installation of unwanted packages, compromising your project's integrity.
If you have installed tealove-nokire22, you should update it immediately to the latest patched version or remove it from your project.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.