Malicious Code Injection in tealove-nokire4: A Threat to npm Users
Summary
MAL-2025-168568: Malicious code in tealove-nokire4 (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 package tealove-nokire4 is part of a broader campaign associated with the tea.xyz token reward initiative. This package is designed to manipulate the npm ecosystem by creating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this leads to significant pollution of the npm registry and poses security risks to users.
Vulnerability Detail
The vulnerability in tealove-nokire4 stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, which can lead to the proliferation of potentially harmful packages in the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes such malicious practices to manipulate the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nokire4
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 remove the tealove-nokire4 package from your project by executing the command: npm uninstall tealove-nokire4. This will prevent any malicious activity associated with this package until a fix is implemented.
Conclusion
The tealove-nokire4 package poses a significant risk due to its malicious code that manipulates the npm registry. It is crucial for developers to be aware of this vulnerability, take immediate action to remove the package, and utilize tools like Vulert to monitor their projects for potential threats.
See every vulnerability recorded for tealove-nokire4 →
FAQ
Tealove-nokire4 is an npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry by publishing numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry with malicious packages, potentially compromising the security and integrity of your project.
You should uninstall the package immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your packages to their latest versions, monitor for vulnerabilities using tools like Vulert, and review your dependencies for any known issues.