Malicious Code Injection in tealove-coki30 Package - npm Vulnerability
Summary
MAL-2025-168187: Malicious code in tealove-coki30 (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-coki30 package is part of a larger campaign associated with the tea.xyz token reward system, which has been flooding the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The primary functionality of these packages is to inflate the visibility and reputation of the tea protocol, but they come with significant security risks.
Vulnerability Detail
The vulnerability in the tealove-coki30 package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of applications relying on these packages. The malicious payload is designed to exploit the npm ecosystem, making it a significant threat to developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-coki30
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-coki30 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies to ensure that no malicious packages are included in your project.
Conclusion
The tealove-coki30 package poses a significant security risk due to its malicious code designed to manipulate npm's ecosystem. It is crucial for developers to remove this package and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the integrity of your applications.
See every vulnerability recorded for tealove-coki30 →
FAQ
The tealove-coki30 package is part of a malicious campaign that aims to inflate developer reputation scores in the npm ecosystem.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the tealove-coki30 package immediately and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.