Malicious Code Injection in teagood-nakamala59: A Threat to npm Users
Summary
MAL-2025-167325: Malicious code in teagood-nakamala59 (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-nakamala59 is a package that is part of 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 through the automatic generation and publication of derivative packages. The functionality of this package is compromised due to its malicious intent, which includes altering package metadata and publishing harmful variants.
Vulnerability Detail
The vulnerability in teagood-nakamala59 originates from its design to include autopublish scripts that modify the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior leads to the pollution of the npm registry, potentially affecting developers who rely on the integrity of the packages they use. The malicious payload can result in unauthorized access to sensitive information and can compromise the security of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala59
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-nakamala59 package and monitor your project for any unauthorized changes. Regularly audit your dependencies to ensure no malicious packages are included.
Conclusion
The teagood-nakamala59 package poses a significant threat due to its malicious code designed to manipulate npm registry integrity. It is essential for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for teagood-nakamala59 →
FAQ
teagood-nakamala59 is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's security and integrity.
If you have installed teagood-nakamala59, you should uninstall it immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, stay updated on security advisories, and use tools like Vulert to monitor your projects for vulnerabilities.