Malicious Code Injection in teagood-nakamala57: A Threat to npm Users
Summary
MAL-2025-167323: Malicious code in teagood-nakamala57 (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-nakamala57 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. These packages are designed to inflate developer reputation scores through automated scripts that generate and publish derivative packages with randomized names. The malicious nature of this package poses significant risks to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-nakamala57 originates from its inclusion in a campaign that utilizes autopublish scripts to create and publish numerous derivative packages. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also compromises the security of applications relying on these packages, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala57
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, you can avoid using the affected package by checking your package-lock.json file for any dependencies that may include teagood-nakamala57 and removing them. You can also use the following command to check for vulnerabilities in your project: npm audit.
Conclusion
The discovery of malicious code in teagood-nakamala57 highlights the importance of vigilance when using open-source packages. Users are advised to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for teagood-nakamala57 →
FAQ
teagood-nakamala57 is an npm package associated with a token reward campaign that has been identified as malicious due to its automated publishing behavior.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of your application by introducing untrusted packages.
You should uninstall the package immediately using the command npm uninstall teagood-nakamala57 and check your project for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
There are no patches available for teagood-nakamala57 as it is recommended to remove the package entirely from your project.