Malicious Code Injection in teagood-cuekin23: A Threat to npm Users
Summary
MAL-2025-166787: Malicious code in teagood-cuekin23 (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-cuekin23 is a package within the npm ecosystem, often associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. However, it has been identified as malicious due to its capability to modify package.json files and republish variants that can pollute the npm registry.
Vulnerability Detail
The vulnerability in teagood-cuekin23 originates from its malicious design, which includes scripts that automatically modify the package.json file to remove private flags and change version numbers. This allows the package to continuously republish variants with random names, leading to potential pollution of the npm registry and misuse of developer reputation systems. The malicious payload can compromise the integrity of projects relying on this package, making it a significant threat to developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin23
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 avoid using the teagood-cuekin23 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure no malicious packages are included.
Conclusion
The teagood-cuekin23 package poses a significant risk due to its malicious code that modifies project files and republish variants. It is crucial for developers to remove this package and monitor their dependencies for any vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for teagood-cuekin23 →
FAQ
teagood-cuekin23 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially compromising your project's integrity and leading to the pollution of the npm registry.
You should remove the teagood-cuekin23 package from your project immediately and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.