Malicious Code Injection in teagood-lokina11: A Threat to npm Ecosystem
Summary
MAL-2025-166973: Malicious code in teagood-lokina11 (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-lokina11 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 is designed to automatically generate and publish derivative packages with randomized names, which can lead to pollution of the npm registry and potential security risks for developers using these packages.
Vulnerability Detail
The vulnerability in teagood-lokina11 originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can confuse developers and lead to the inadvertent use of compromised packages. This behavior not only affects the integrity of the npm registry but also poses a risk to applications that may unknowingly depend on these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokina11
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 teagood-lokina11 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies to ensure that no malicious packages are included in your project.
Conclusion
The teagood-lokina11 package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is essential for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for teagood-lokina11 →
FAQ
teagood-lokina11 is an npm package linked to the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially leading to the use of compromised packages and pollution of the npm registry.
You can use Vulert, which monitors open-source vulnerabilities in your software using just package-lock.json. Visit Vulert Scanner to check your application without signup.
If you have installed teagood-lokina11, you should uninstall it immediately using npm uninstall teagood-lokina11 and audit your dependencies.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities, helping you maintain the security of your software.