Malicious Code Injection in teagood-lokika33 Package
Summary
MAL-2025-166897: Malicious code in teagood-lokika33 (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-lokika33 package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. This package is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its functionality is primarily centered around creating and publishing random package names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-lokika33 package originates from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly install these malicious packages. The continuous republishing of these variants can lead to a cluttered environment, making it difficult for developers to find legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika33
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-lokika33 package and any other packages that may be part of the tea.xyz token reward campaign. Instead, rely on well-known and trusted packages within the npm ecosystem. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The teagood-lokika33 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with derivative packages. It is crucial for developers to be vigilant about the packages they use and to employ tools like Vulert for real-time monitoring of vulnerabilities.
See every vulnerability recorded for teagood-lokika33 →
FAQ
teagood-lokika33 is a malicious npm package that is part of a campaign to inflate developer reputation scores through automated package publishing.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and clutter in the npm registry.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed the teagood-lokika33 package, you should uninstall it immediately using the command: npm uninstall teagood-lokika33.
Regularly update your dependencies, monitor your package-lock.json with tools like Vulert, and avoid using packages from untrusted sources.