Malicious Code Injection in teagood-lokina2 Package
Summary
MAL-2025-166982: Malicious code in teagood-lokina2 (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-lokina2 package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. Its functionality is primarily focused on incentivizing developers through token rewards, but it has been compromised to include malicious behavior.
Vulnerability Detail
The vulnerability in the teagood-lokina2 package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokina2
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 measure, avoid using the teagood-lokina2 package and monitor your project's dependencies for any signs of malicious activity. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities. For example, you can check your application using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The teagood-lokina2 package has been identified as part of a malicious campaign that compromises the npm ecosystem. Developers are advised to remove this package from their projects and monitor for any signs of malicious activity. Utilizing tools like Vulert can help in identifying vulnerabilities in your dependencies.
See every vulnerability recorded for teagood-lokina2 →
FAQ
teagood-lokina2 is a package associated with the tea.xyz token reward campaign, designed to incentivize developers through token rewards.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and integrity.
You should uninstall the teagood-lokina2 package immediately using 'npm uninstall teagood-lokina2' and monitor your project for any unusual behavior.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
Currently, there is no patch available for the teagood-lokina2 package. It is recommended to remove the package and monitor for updates.