Malicious Code Injection in teagood-cuekin45: A Threat to npm Ecosystem
Summary
MAL-2025-166811: Malicious code in teagood-cuekin45 (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-cuekin45 is an npm package that emerged as part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages with randomized names. Its functionality, while seemingly innocuous, is compromised by malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability in teagood-cuekin45 originates from its inclusion in a broader campaign that floods the npm registry with malicious packages. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these malicious variants, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin45
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, avoid using the teagood-cuekin45 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which alerts you to vulnerabilities in real-time.
Conclusion
The presence of malicious code in the teagood-cuekin45 package poses a significant threat to the npm ecosystem. Developers should take immediate action to remove the package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for teagood-cuekin45 →
FAQ
teagood-cuekin45 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of malicious packages that modify your project's metadata and potentially introduce security risks.
You should uninstall the package immediately using npm uninstall teagood-cuekin45 and monitor your project for any further vulnerabilities.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Regularly monitor your dependencies using tools like Vulert and stay updated on security advisories related to the packages you use.