Malicious Code Injection in teagood-cuekin70: A Threat to npm Ecosystem
Summary
MAL-2025-166838: Malicious code in teagood-cuekin70 (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-cuekin70 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, potentially inflating developer reputation scores through the automatic generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-cuekin70 originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the pollution of the npm registry with potentially harmful packages. The malicious payload can significantly impact developers by inflating reputation scores fraudulently and compromising the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin70
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, you can remove the affected package from your project by executing: npm uninstall teagood-cuekin70. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The teagood-cuekin70 package poses a significant risk due to its malicious code that modifies package.json and publishes harmful variants. It is crucial for developers to take immediate action by uninstalling the package and monitoring their projects for vulnerabilities.
See every vulnerability recorded for teagood-cuekin70 →
FAQ
teagood-cuekin70 is an npm package associated with the tea.xyz token reward campaign, designed to publish derivative packages automatically.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.