Malicious Code Injection in teagood-lokina17: A Threat to npm Users
Summary
MAL-2025-166979: Malicious code in teagood-lokina17 (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-lokina17 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. Its functionality is primarily tied to the tea protocol token rewards, making it attractive for malicious actors looking to exploit npm's ecosystem.
Vulnerability Detail
The vulnerability in teagood-lokina17 stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often 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 the npm ecosystem's integrity, potential security risks for developers using these packages, and the inflation of developer reputation scores based on fraudulent activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokina17
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-lokina17 package and monitor your project's dependencies for any malicious activity. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities without requiring code access or installation.
Conclusion
The teagood-lokina17 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for teagood-lokina17 →
FAQ
teagood-lokina17 is an npm package linked to the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json and pollutes the npm registry.
You should uninstall the package immediately using npm uninstall teagood-lokina17 and monitor your dependencies for any further issues.
Yes, you can use Vulert to monitor your package-lock.json for open-source vulnerabilities in real-time without needing to access the code or install anything.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.