Malicious Code Injection in tealove-coki44 Package: npm Vulnerability Overview
Summary
MAL-2025-168202: Malicious code in tealove-coki44 (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 tealove-coki44 package is part of a broader campaign associated with the tea.xyz token reward system, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names, ultimately aimed at inflating developer reputation scores for token rewards. The package's functionality is compromised due to its malicious intent, making it a significant risk for developers using it.
Vulnerability Detail
The vulnerability in the tealove-coki44 package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to reputational damage for developers and can compromise 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 tealove-coki44
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 workaround, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert, which analyzes your package-lock.json file to detect vulnerabilities in real-time.
Conclusion
The tealove-coki44 package presents a significant security risk due to its malicious behavior aimed at manipulating the npm registry. Developers should take immediate action to remove this package and consider using alternative solutions. Utilizing tools like Vulert can help in monitoring for vulnerabilities and ensuring the security of your projects.
See every vulnerability recorded for tealove-coki44 →
FAQ
Tealove-coki44 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the tealove-coki44 package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities by analyzing your package-lock.json file.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the packages you use.