Malicious Code Injection in teagood-cuekin48: A Threat to npm Packages
Summary
MAL-2025-166814: Malicious code in teagood-cuekin48 (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-cuekin48 is an npm package that is part of a broader campaign aimed at exploiting the npm ecosystem for token rewards. This package, like others in the tea.xyz token reward campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior not only inflates developer reputation scores but also poses significant risks to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-cuekin48 originates from its malicious design, which includes scripts that automatically modify the package.json file. These modifications remove private flags, alter version numbers, and create random package names, leading to the continuous republishing of these variants. This behavior can pollute the npm registry, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin48
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 measure, you can avoid using the teagood-cuekin48 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The teagood-cuekin48 package poses a significant threat to the integrity of the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for teagood-cuekin48 →
FAQ
teagood-cuekin48 is an npm package that is part of a malicious campaign aimed at exploiting the npm ecosystem for token rewards.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially introducing security risks into your application.
You should uninstall the package immediately using 'npm uninstall teagood-cuekin48' and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source 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 needing to sign up.