Malicious Code Injection in teagood-lokina15: A Threat to npm Packages
Summary
MAL-2025-166977: Malicious code in teagood-lokina15 (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-lokina15 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to incentivize developers through token rewards by manipulating the npm registry. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokina15 stems from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages. The origin of this vulnerability is linked to the automated scripts (auto.js, autopublish.js, etc.) that are part of the package, which continuously republish variants to the registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokina15
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 malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include teagood-lokina15 in its dependencies. You can also use tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The teagood-lokina15 package poses a significant risk due to its malicious code that manipulates the npm registry. It is essential to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for teagood-lokina15 →
FAQ
teagood-lokina15 is an npm package associated with a token reward campaign that has been identified to contain malicious code.
The malicious code can modify your package.json file, remove private flags, and publish harmful variants to the npm registry, potentially compromising your project's integrity.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
You should uninstall the package immediately using 'npm uninstall teagood-lokina15' and monitor your project for any further vulnerabilities.
Yes, Vulert provides a way to monitor and alert for open-source vulnerabilities in real-time using just your package-lock.json.