Malicious Code Injection in teagood-lokina70 Package
Summary
MAL-2025-167038: Malicious code in teagood-lokina70 (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-lokina70 package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and continuously republish variants, thereby polluting the npm ecosystem.
Vulnerability Detail
The vulnerability in the teagood-lokina70 package stems from its malicious code that alters the package.json file by removing private flags and changing version numbers. This code generates random package names, often themed around Indonesian culture, and continuously republishes these variants to the npm registry. The ramifications include potential security risks for developers who inadvertently use these packages, as they can lead to reputation inflation and the spread of further malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokina70
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-lokina70 package and any other packages associated with the tea.xyz token reward campaign. Monitor your project's dependencies closely and consider using tools like Vulert to identify any vulnerabilities in your package-lock.json file.
Conclusion
The teagood-lokina70 package poses a significant risk due to its malicious code that alters package files and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies closely to maintain the security of their projects.
See every vulnerability recorded for teagood-lokina70 →
FAQ
teagood-lokina70 is a malicious npm package associated with the tea.xyz token reward campaign, designed to manipulate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the teagood-lokina70 package immediately and check your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.