Malicious Code Injection in teagood-cuekin16: A Threat to npm Ecosystem
Summary
MAL-2025-166779: Malicious code in teagood-cuekin16 (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-cuekin16 is an npm package that is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in teagood-cuekin16 originates from its design to include autopublish scripts that alter the package.json file by removing private flags and changing version numbers. This allows the package to generate random names, often themed around Indonesian culture, and continuously republish these variants. The ramifications include potential security risks for developers who unknowingly install these packages, as they can lead to reputation inflation and the spread of malicious code within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin16
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 and look for alternative packages that provide similar functionality without the associated risks. Always validate the integrity of packages before installation.
Conclusion
The teagood-cuekin16 package poses a significant threat to the npm ecosystem due to its malicious code and ability to republish variants. It is essential to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for teagood-cuekin16 →
FAQ
teagood-cuekin16 is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and inflate developer reputation scores fraudulently.
You should immediately uninstall the package using 'npm uninstall teagood-cuekin16' and check your project for any other potentially malicious packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, look for alternative npm packages that provide similar functionality but are verified and do not have a history of malicious behavior.