Malicious Code Injection in teagood-nalikoli21: A Threat to npm Ecosystem
Summary
MAL-2025-167574: Malicious code in teagood-nalikoli21 (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-nalikoli21 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with a series of malicious activities aimed at manipulating developer reputation scores. The package is designed to automatically generate and publish derivative packages with randomized names, which can lead to pollution of the npm registry and compromise the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in teagood-nalikoli21 originates from its malicious payload that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only inflates developer reputation scores but also poses a risk of introducing untrusted code into applications that depend on these packages, potentially leading to security breaches and data leaks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli21
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 workaround, you can avoid using the teagood-nalikoli21 package altogether. If you have already installed it, you can uninstall it using the command: npm uninstall teagood-nalikoli21. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The teagood-nalikoli21 package poses a significant threat to the npm ecosystem due to its malicious behavior of generating and publishing untrusted packages. It is crucial for developers to remove this package and monitor their applications for vulnerabilities to ensure security and integrity.
See every vulnerability recorded for teagood-nalikoli21 →
FAQ
teagood-nalikoli21 is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm ecosystem.
The vulnerability can lead to the introduction of untrusted code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately and monitor your application for any signs of compromise. Use the command npm uninstall teagood-nalikoli21.
As of now, there is no specific patch for the teagood-nalikoli21 package. It is advisable to remove the package until a safe version is released.
You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in real-time using just your package-lock.json file.