Malicious Code Injection in teagood-lokika92: npm Package Vulnerability
Summary
MAL-2025-166962: Malicious code in teagood-lokika92 (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-lokika92 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokika92 originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika92
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 workaround, you can avoid using the teagood-lokika92 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The teagood-lokika92 npm package has been identified as containing malicious code that compromises the integrity of the npm ecosystem. It is crucial for developers to uninstall this package and monitor their projects for vulnerabilities to maintain security.
See every vulnerability recorded for teagood-lokika92 →
FAQ
teagood-lokika92 is an npm package involved in the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The package modifies package.json files to remove private flags, changes version numbers, and generates random package names, leading to pollution of the npm registry.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed teagood-lokika92, you should uninstall it immediately using 'npm uninstall teagood-lokika92' and look for alternative packages.
To prevent future vulnerabilities, regularly monitor your dependencies using tools like Vulert, and keep your packages updated to their latest secure versions.