Malicious Code Injection in teagood-lokika53 Package
Summary
MAL-2025-166919: Malicious code in teagood-lokika53 (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-lokika53 package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to facilitate the automatic generation and publication of derivative packages, which are intended to inflate developer reputation scores in exchange for tea protocol token rewards. This package, like others in the campaign, employs scripts that automate the publishing process, making it a potential vector for malicious activities.
Vulnerability Detail
The vulnerability in the teagood-lokika53 package originates from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant ramifications, including the compromise of developer accounts and the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika53
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-lokika53 package 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.
Conclusion
The teagood-lokika53 package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to maintain the security of your applications.
See every vulnerability recorded for teagood-lokika53 →
FAQ
teagood-lokika53 is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can compromise your project's integrity by introducing malicious code that modifies your package.json and floods the npm registry with unwanted packages.
You should uninstall the teagood-lokika53 package immediately using 'npm uninstall teagood-lokika53' and monitor your project for any further vulnerabilities.
Yes, you can prevent similar vulnerabilities by using tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.