Malicious Code Injection in tealove-coki15 Package
Summary
MAL-2025-168170: Malicious code in tealove-coki15 (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-coki15 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with various packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The functionality of tealove-coki15 is compromised due to its malicious intent, which aims to exploit the npm registry.
Vulnerability Detail
The vulnerability in the tealove-coki15 package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to 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-coki15
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, you can monitor your project's dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without requiring any installation or signup.
Conclusion
The tealove-coki15 package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant about their dependencies and utilize tools like Vulert to monitor for vulnerabilities. Removing compromised packages and staying informed can help maintain the integrity of your projects.
See every vulnerability recorded for tealove-coki15 →
FAQ
Tealove-coki15 is an npm package that is part of a token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to security risks and affecting your reputation as a developer.
You should immediately uninstall the package using the command 'npm uninstall tealove-coki15' and review your project's dependencies for any other malicious packages.
Yes, regularly monitor your dependencies using tools like Vulert to receive real-time alerts for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.