Malicious Code Injection in teagood-cuekin9: A Threat to npm Ecosystem
Summary
MAL-2025-166859: Malicious code in teagood-cuekin9 (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-cuekin9 is a package within the npm ecosystem that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-cuekin9 originates from its design to automatically generate and publish derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and creating numerous Indonesian-themed package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially affecting developers' reputations and the overall trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin9
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 remove the teagood-cuekin9 package from your project by executing the command: 'npm uninstall teagood-cuekin9'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The teagood-cuekin9 package poses a significant risk to the npm ecosystem due to its malicious code that modifies package metadata and floods the registry with derivative packages. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for teagood-cuekin9 →
FAQ
teagood-cuekin9 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 pollution of the npm registry, affecting your project's integrity and potentially damaging your developer reputation.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use 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.