Malicious Code Injection in tealove-coki24: A Threat to npm Packages
Summary
MAL-2025-168180: Malicious code in tealove-coki24 (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-coki24 is part of a broader campaign associated with the tea.xyz token reward system. It is designed to manipulate the npm ecosystem by flooding it with derivative packages that are generated automatically. This package, like others in the campaign, aims to inflate developer reputation scores through the publication of numerous variants with randomized names.
Vulnerability Detail
The vulnerability in tealove-coki24 originates from its malicious intent to modify package.json files by removing private flags and altering version numbers. It generates random package names, predominantly themed around Indonesian culture, and continuously republishes these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly incorporate these compromised packages into their projects, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-coki24
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 avoid using the tealove-coki24 package altogether and monitor your dependencies for any malicious packages. Additionally, consider using tools like Vulert to check your package-lock.json for vulnerabilities. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected without needing to sign up.
Conclusion
The tealove-coki24 package poses a significant risk to developers by injecting malicious code and polluting the npm registry. It is crucial to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive is key to maintaining the security of your applications.
See every vulnerability recorded for tealove-coki24 →
FAQ
Tealove-coki24 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising security and integrity.
You should uninstall the package immediately using the command npm uninstall tealove-coki24.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without needing to sign up.