Malicious Code Injection in teagood-lokika84: A Threat to npm Ecosystem
Summary
MAL-2025-166953: Malicious code in teagood-lokika84 (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-lokika84 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is intended for developers looking to enhance their reputation scores through token rewards. However, it has been identified as malicious, containing scripts that manipulate package metadata and publish numerous derivative packages, thereby polluting the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokika84 originates from its inclusion in a campaign that floods the npm registry with malicious packages. It contains scripts that automatically modify the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these malicious packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika84
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The discovery of malicious code in the teagood-lokika84 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove affected packages and utilize tools like Vulert to monitor for vulnerabilities. By staying informed and proactive, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-lokika84 →
FAQ
teagood-lokika84 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the injection of malicious code into your project, potentially compromising security and integrity.
You should uninstall the package immediately using the command npm uninstall teagood-lokika84.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.