Malicious Code Injection in teagood-cuekin29: A Threat to npm Ecosystem
Summary
MAL-2025-166793: Malicious code in teagood-cuekin29 (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-cuekin29 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted packages.
Vulnerability Detail
The vulnerability in teagood-cuekin29 originates from its inclusion in a campaign that aims to inflate developer reputation scores for token rewards. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin29
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-cuekin29 package and monitor your dependencies for any instances of this package. You can also use the following command to uninstall it: npm uninstall teagood-cuekin29.
Conclusion
The teagood-cuekin29 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and floods the registry. It is crucial for developers to remove this package and monitor their dependencies for any vulnerabilities. Utilizing tools like Vulert can help in identifying and managing such risks effectively.
See every vulnerability recorded for teagood-cuekin29 →
FAQ
teagood-cuekin29 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The malicious code modifies your package.json file and floods the npm registry with unwanted packages, potentially compromising your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed teagood-cuekin29, it is advisable to uninstall it immediately using the command: npm uninstall teagood-cuekin29.
Currently, there are no patches available for teagood-cuekin29. It is best to remove the package until a safe version is released.