Malicious Code Injection in teagood-lokika90 Package - npm Vulnerability
Summary
MAL-2025-166960: Malicious code in teagood-lokika90 (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
The teagood-lokika90 package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards associated with the tea protocol.
Vulnerability Detail
The vulnerability in the teagood-lokika90 package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The result is a polluted npm registry, which can compromise the integrity of the ecosystem and potentially expose users to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika90
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 package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include teagood-lokika90 in its dependencies. You can also use Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The teagood-lokika90 package contains malicious code that poses a significant risk to the npm ecosystem. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for teagood-lokika90 →
FAQ
teagood-lokika90 is an npm package associated with a token reward campaign that manipulates the npm registry.
The vulnerability can lead to the pollution of the npm registry and may expose your project to further security risks.
You should remove the teagood-lokika90 package from your project and monitor for any updates or patches.
Yes, you can use Vulert to monitor your project for open-source 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 signing up.