Malicious Code Injection in teagood-cuekin32: A Threat to npm Packages
Summary
MAL-2025-166797: Malicious code in teagood-cuekin32 (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-cuekin32 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 containing malicious code that compromises the integrity of the npm registry by creating numerous variants of itself with altered metadata.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the teagood-cuekin32 package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are often themed around Indonesian culture. The primary risk is that it floods the npm registry with these derivative packages, potentially harming developers' reputations and the overall ecosystem by polluting the registry with low-quality or harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin32
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, avoid using the teagood-cuekin32 package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The teagood-cuekin32 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and utilize secure alternatives to maintain the integrity of your software environment.
See every vulnerability recorded for teagood-cuekin32 →
FAQ
The primary risk is that it injects malicious code that alters package metadata and floods the npm registry with low-quality packages, potentially harming developer reputations.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed teagood-cuekin32, you should uninstall it immediately using 'npm uninstall teagood-cuekin32' and look for secure alternatives.
No patches are available for teagood-cuekin32 as it is a malicious package. The best course of action is to remove it from your project.
Regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.