Malicious Code Injection in teagood-lokika72: A Threat to npm Ecosystem
Summary
MAL-2025-166940: Malicious code in teagood-lokika72 (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-lokika72 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 inflating developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with randomized names, potentially leading to pollution of the npm registry and compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokika72 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, which can clutter the npm registry and mislead developers. The malicious payload can lead to unintended consequences for developers who may unknowingly use these compromised packages, exposing their applications to further risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika72
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-lokika72 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in your open-source packages.
Conclusion
The teagood-lokika72 package poses a significant risk due to its malicious behavior aimed at manipulating the npm ecosystem. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for teagood-lokika72 →
FAQ
teagood-lokika72 is an npm package involved in a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the package immediately using npm uninstall teagood-lokika72 and check your package-lock.json for any lingering references.
Yes, you can use Vulert to monitor your open-source dependencies for 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 any signup.