Malicious Code Injection in teagood-cuekin13: A Threat to npm Packages
Summary
MAL-2025-166776: Malicious code in teagood-cuekin13 (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-cuekin13 is an npm package that is part of a broader campaign aimed at exploiting the npm registry for token rewards associated with the tea.xyz protocol. This package is designed to generate and publish derivative packages with randomized names, which can lead to reputation inflation for developers involved in the campaign. The malicious nature of this package poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-cuekin13 stems from its inclusion in the tea.xyz token reward campaign, which has been identified as a source of malicious packages. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the security and trustworthiness of the packages within it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin13
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 measure, you can avoid using the teagood-cuekin13 package and any other packages that are part of the tea.xyz campaign. Regularly audit your npm packages for any malicious or untrusted dependencies.
Conclusion
The discovery of malicious code in the teagood-cuekin13 package highlights the ongoing risks associated with open-source dependencies. It is crucial for developers to remain vigilant, regularly audit their packages, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can help maintain the security and integrity of their applications.
See every vulnerability recorded for teagood-cuekin13 →
FAQ
teagood-cuekin13 is an npm package that is part of a malicious campaign aimed at exploiting the npm registry for token rewards.
The vulnerability can lead to the introduction of malicious code into your application, compromising its security and integrity.
You should uninstall the teagood-cuekin13 package immediately and audit your project for any other potentially malicious dependencies.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.