Malicious Code Injection in teagood-cuekin38: A Threat to npm Users
Summary
MAL-2025-166803: Malicious code in teagood-cuekin38 (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-cuekin38 is an npm package that is part of a broader campaign aimed at exploiting the npm registry. This package, like others in the tea.xyz token reward initiative, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to alter package metadata and proliferate harmful variants across the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-cuekin38 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file, removing private flags and changing version numbers. The scripts generate random package names, often themed around Indonesian culture, and continuously republish these variants, leading to pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-cuekin38
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 affected package by removing it from your dependencies and replacing it with a secure alternative. Always verify the integrity of packages before adding them to your project.
Conclusion
The discovery of malicious code in teagood-cuekin38 highlights the importance of vigilance when managing npm packages. By understanding the nature of this vulnerability and taking proactive steps to mitigate risks, developers can protect their projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for teagood-cuekin38 →
FAQ
teagood-cuekin38 is an npm package involved in a malicious campaign that aims to manipulate developer reputation scores through the automatic generation of harmful derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security vulnerabilities and leading to the use of compromised packages.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed teagood-cuekin38, you should uninstall it immediately using the command npm uninstall teagood-cuekin38 and replace it with a secure alternative.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and monitor for updates and security advisories.