Malicious Code Injection in teagood-nakamala12: A Threat to npm Ecosystem
Summary
MAL-2025-167274: Malicious code in teagood-nakamala12 (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-nakamala12 is a package that 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. This behavior not only affects the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in teagood-nakamala12 stems from its inclusion in a malicious campaign that modifies package.json files to remove private flags, alters version numbers, and generates random package names. This malicious payload continuously republishes variants, polluting the npm registry and potentially leading to security risks for developers who rely on these packages. The origin of this vulnerability is linked to the tea.xyz token reward scheme, which incentivizes the creation of such harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala12
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-nakamala12 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The teagood-nakamala12 package poses a significant risk due to its malicious code designed to manipulate npm registry integrity. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for teagood-nakamala12 →
FAQ
teagood-nakamala12 is an npm package that is part of a malicious campaign aimed at manipulating developer reputation scores through the creation of derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially introducing security risks and instability in your project if the compromised package is used.
You should remove the teagood-nakamala12 package from your project immediately and check for any alternative packages that do not carry the same risks.
You can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor and manage vulnerabilities in your open-source dependencies effectively.