Malicious Code Injection in tealove-nokire8: A Threat to npm Packages
Summary
MAL-2025-168583: Malicious code in tealove-nokire8 (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-nokire8 is part of a broader campaign associated with the tea.xyz token reward system. It is designed to manipulate the npm ecosystem by automatically generating and publishing derivative packages. This package, like others in the campaign, aims to inflate developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in tealove-nokire8 arises from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to distribute harmful packages. The ramifications include potential security risks for applications using these packages, as they may inadvertently incorporate malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nokire8
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 use the following command to prevent the installation of the affected package: npm install --no-save tealove-nokire8. However, the best approach is to remove the package entirely from your project.
Conclusion
The tealove-nokire8 package poses a significant threat to developers using npm due to its malicious code that alters package configurations and publishes harmful variants. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for tealove-nokire8 →
FAQ
Tealove-nokire8 is an npm package associated with a token reward campaign that generates and publishes malicious packages to inflate developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the package immediately using the command npm uninstall tealove-nokire8 and review your project for any other potentially harmful packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Given the nature of this package, it is advisable to remove it rather than seek updates, as it is part of a malicious campaign.