Malicious Code Injection in teagood-lokika76: A Threat to npm Users
Summary
MAL-2025-166944: Malicious code in teagood-lokika76 (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-lokika76 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 containing malicious code that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokika76 stems from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages, making it difficult for users to trust legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika76
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-lokika76 package and monitor your project for any unintended dependencies that may have been introduced. You can also utilize tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The discovery of malicious code in the teagood-lokika76 package highlights the importance of vigilance when using open-source packages. Users are encouraged to regularly audit their dependencies and utilize tools like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for teagood-lokika76 →
FAQ
teagood-lokika76 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and trust issues within the npm ecosystem.
You should uninstall the package immediately using the command npm uninstall teagood-lokika76 and check your project for any other affected dependencies.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation. You can also check your application using the Vulert playground at Vulert Scanner.
There are no patches available for teagood-lokika76 as it is recommended to remove the package entirely from your project.