Malicious Code Injection in teagood-nakamala18: Exploiting npm Packages
Summary
MAL-2025-167280: Malicious code in teagood-nakamala18 (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-nakamala18 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-nakamala18 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala18
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-nakamala18 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The discovery of malicious code in the teagood-nakamala18 npm package highlights the importance of vigilance when using open-source packages. By understanding the nature of this vulnerability and taking proactive steps to mitigate risks, developers can protect their applications from potential threats.
See every vulnerability recorded for teagood-nakamala18 →
FAQ
teagood-nakamala18 is an npm package involved in a token reward campaign that has been identified as containing malicious code.
The malicious code can modify your package.json, remove private flags, and republish variants, potentially leading to security vulnerabilities in your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
If you have used teagood-nakamala18, it is recommended to uninstall it immediately and replace it with a trusted alternative.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only include packages from reputable sources.