Malicious Code Injection in teagood-lokina76: A Threat to npm Packages
Summary
MAL-2025-167044: Malicious code in teagood-lokina76 (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-lokina76 is an npm package that is part of a token reward campaign associated with the tea.xyz protocol. It is designed to facilitate the distribution of rewards through various packages. However, this package has been identified as malicious, containing scripts that manipulate its own metadata and publish numerous derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in teagood-lokina76 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-lokina76
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 workaround, consider using a package-lock.json file to lock your dependencies and prevent the installation of malicious packages. You can also monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access or installation. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The teagood-lokina76 package poses a significant risk due to its malicious behavior of manipulating package metadata and flooding the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for teagood-lokina76 →
FAQ
teagood-lokina76 is an npm package associated with the tea.xyz token reward campaign, designed to facilitate reward distribution.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising application integrity.
You should uninstall the package immediately using 'npm uninstall teagood-lokina76' and check for any dependencies that may rely on it.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.