Malicious Code Injection in teagood-cuekin71: A Threat to npm Packages
Summary
MAL-2025-166839: Malicious code in teagood-cuekin71 (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-cuekin71 is an npm package that is part of the tea.xyz token reward campaign. It is designed to interact with the npm registry and is typically used for publishing packages. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in teagood-cuekin71 stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is linked to the tea.xyz token reward campaign, which has flooded the npm ecosystem with similar malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin71
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 avoid using the affected package by replacing it with a similar, trusted package that does not exhibit malicious behavior. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The discovery of malicious code in teagood-cuekin71 highlights the importance of vigilance when managing npm packages. By understanding the nature of this vulnerability and taking proactive steps to mitigate risks, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-cuekin71 →
FAQ
teagood-cuekin71 is an npm package associated with the tea.xyz token reward campaign, known for its malicious behavior.
The malicious code can modify your package.json, remove private flags, and republish variants, leading to potential security risks and pollution of the npm registry.
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 any signup.
If you have installed teagood-cuekin71, you should uninstall it immediately using npm uninstall teagood-cuekin71 and replace it with a trusted alternative.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from reputable sources.