Malicious Code Injection in teagood-cuekin51 Package
Summary
MAL-2025-166818: Malicious code in teagood-cuekin51 (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
The teagood-cuekin51 package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only affects the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in the teagood-cuekin51 package originates from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This malicious payload continuously republishes variants to pollute the npm registry, potentially leading to security risks for developers who rely on these packages for their projects. The impact includes the risk of using compromised packages that may contain further vulnerabilities or malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin51
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-cuekin51 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The teagood-cuekin51 package contains malicious code that poses significant risks to developers using it. It is essential to remove this package from your projects and monitor for vulnerabilities to maintain the integrity and security of your applications.
See every vulnerability recorded for teagood-cuekin51 →
FAQ
teagood-cuekin51 is a package associated with the tea.xyz token reward campaign, designed to manipulate npm registry reputation scores.
The malicious code modifies your package.json file, potentially leading to the installation of compromised packages that can introduce further vulnerabilities.
You should uninstall the teagood-cuekin51 package immediately using the command: npm uninstall teagood-cuekin51.
Yes, you can use Vulert's playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure to review package sources before installation.