Malicious Code Injection in teagood-cuekin28: A Threat to npm Users
Summary
MAL-2025-166792: Malicious code in teagood-cuekin28 (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-cuekin28 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-cuekin28 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin28
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 workaround, you can monitor your package dependencies using tools like Vulert, which allows you to check for vulnerabilities in your application without requiring access to the code or installation. You can use the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability.
Conclusion
The discovery of malicious code in the teagood-cuekin28 package highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking proactive steps to mitigate risks, developers can protect their projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for teagood-cuekin28 →
FAQ
teagood-cuekin28 is an npm package associated with a token reward campaign that generates and publishes derivative packages to inflate developer reputation scores.
The package modifies package.json files, removes private flags, changes version numbers, and generates random package names, leading to pollution of the npm registry.
You can use tools like Vulert to monitor your package-lock.json for vulnerabilities and receive real-time alerts about any issues.
You should uninstall the package immediately using the command 'npm uninstall teagood-cuekin28' and review your other dependencies for potential vulnerabilities.
Regularly update your dependencies, use trusted packages, and employ monitoring tools like Vulert to stay informed about vulnerabilities in your software.