Malicious Code Injection in teagood-cuekin60: A Threat to npm Packages
Summary
MAL-2025-166827: Malicious code in teagood-cuekin60 (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
teagood-cuekin60 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, potentially inflating developer reputation scores through automated publishing. However, it has been identified as containing malicious code that modifies its own package.json file and publishes harmful variants, posing a significant risk to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that automatically generate and publish derivative packages with randomized names. This malicious behavior modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can lead to pollution of the npm registry and compromise the security of dependent applications. The malicious payload can also affect other packages by creating confusion and potential conflicts in dependency management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin60
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 affected package by replacing it with an alternative that provides similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The discovery of malicious code in the teagood-cuekin60 package highlights the importance of vigilance when using open-source packages. Users are encouraged to remove the affected package and utilize tools like Vulert to monitor their dependencies for vulnerabilities. Staying informed and proactive can help maintain the security of your applications.
See every vulnerability recorded for teagood-cuekin60 →
FAQ
teagood-cuekin60 is an npm package involved in the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies package.json files and repackages itself, potentially leading to dependency conflicts and security vulnerabilities in your application.
You should uninstall the package immediately using 'npm uninstall teagood-cuekin60' and check your application for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.