Malicious Code Injection in teagood-cuekin82: A Threat to npm Users
Summary
MAL-2025-166851: Malicious code in teagood-cuekin82 (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 package teagood-cuekin82 is part of the tea.xyz token reward campaign, which has been associated with a series of malicious npm packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The core functionality of this package is compromised due to its malicious intent, leading to potential pollution of the npm registry and manipulation of package metadata.
Vulnerability Detail
The vulnerability in teagood-cuekin82 originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, which can lead to the proliferation of malicious packages in the npm registry. The ramifications include the risk of developers unintentionally using compromised packages, which can lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin82
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-cuekin82 package and monitor your project for any dependencies that may have been affected by this malicious package. You can also utilize tools like Vulert to check for vulnerabilities in your package-lock.json file.
Conclusion
The teagood-cuekin82 package poses a significant threat due to its malicious code designed to manipulate npm package metadata. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for teagood-cuekin82 →
FAQ
teagood-cuekin82 is an npm package that is part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and functionality.
You should uninstall the package immediately using 'npm uninstall teagood-cuekin82' and check your project for any other affected dependencies.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.