Malicious Code Injection in tealove-coki49: A Threat to npm Packages
Summary
MAL-2025-168207: Malicious code in tealove-coki49 (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-coki49 is part of a broader campaign associated with the tea.xyz token reward system. This npm package is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but it poses significant risks due to its malicious payload.
Vulnerability Detail
The vulnerability in tealove-coki49 stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the integrity of the packages within it. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-coki49
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 prevent the installation of tealove-coki49 by using npm's package-lock.json to monitor dependencies. If you are using Vulert, you can check your application for vulnerabilities without any installation by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The tealove-coki49 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant and remove this package from their projects to maintain the integrity of their applications.
See every vulnerability recorded for tealove-coki49 →
FAQ
Tealove-coki49 is an npm package associated with a token reward campaign that aims to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
You should uninstall the package immediately using the command npm uninstall tealove-coki49.
Yes, you can use Vulert to monitor your package-lock.json for vulnerabilities in real-time without any installation.
You can check your application for vulnerabilities by using the Vulert playground at Vulert Scanner.