Malicious Code Injection in teagood-cuekin81: A Threat to npm Packages
Summary
MAL-2025-166850: Malicious code in teagood-cuekin81 (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-cuekin81 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by publishing derivative packages. However, it has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in teagood-cuekin81 originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names and continuously republishes these variants, leading to pollution of the npm registry. This can inflate developer reputation scores fraudulently and compromise 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-cuekin81
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 prevent the installation of the affected package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The teagood-cuekin81 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor for any vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for teagood-cuekin81 →
FAQ
teagood-cuekin81 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should uninstall the package immediately using 'npm uninstall teagood-cuekin81' and check for any dependencies that may rely on it.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities by analyzing your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.