Malicious Code Injection in teagood-lokika73: A Threat to npm Ecosystem
Summary
MAL-2025-166941: Malicious code in teagood-lokika73 (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-lokika73 is an npm package that is part of a broader campaign associated with the tea.xyz token reward initiative. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokika73 stems from its malicious payload 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 leads to the continuous republishing of these variants, effectively polluting the npm registry and compromising the security and reliability of the packages available to developers. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes such malicious practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokika73
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. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The teagood-lokika73 package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their projects by removing affected packages and monitoring for future vulnerabilities.
See every vulnerability recorded for teagood-lokika73 →
FAQ
teagood-lokika73 is an npm package linked to a token reward campaign that manipulates the npm registry.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project's dependencies.
You should uninstall the package immediately using 'npm uninstall teagood-lokika73' and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you should look for alternative packages that provide similar functionality but do not have known vulnerabilities.