Malicious Code Injection in teagood-cuekin64: npm Package Vulnerability
Summary
MAL-2025-166831: Malicious code in teagood-cuekin64 (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-cuekin64 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 generating and publishing derivative packages. However, it has been identified as malicious due to its functionality that modifies package metadata and floods the npm registry with random package names.
Vulnerability Detail
The vulnerability in teagood-cuekin64 originates from its design to automatically generate and publish derivative packages with randomized names. This is achieved through scripts that modify the package.json file, removing private flags, changing version numbers, and continuously republishing variants. The malicious behavior can lead to pollution of the npm registry, affecting the integrity of the ecosystem and potentially damaging the reputation of developers associated with these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin64
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 this package by using npm's package-lock.json to lock your dependencies. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The teagood-cuekin64 package has been identified as malicious due to its functionality that modifies package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security and integrity of their applications.
See every vulnerability recorded for teagood-cuekin64 →
FAQ
teagood-cuekin64 is an npm package associated with the tea.xyz token reward campaign, which aims to incentivize developers through token rewards.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies, potentially affecting your application's performance and security.
If you have installed teagood-cuekin64, it is advisable to remove it immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.