Malicious Code Injection in teagood-nakamala39: A Threat to npm Users
Summary
MAL-2025-167303: Malicious code in teagood-nakamala39 (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-nakamala39 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by automatically generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-nakamala39 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with derivative packages. The implications of this vulnerability include potential misuse of developer credentials, reputation damage, and the risk of introducing further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala39
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-nakamala39 package and monitor your project for any unauthorized changes. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities and receive real-time alerts.
Conclusion
The discovery of malicious code in the teagood-nakamala39 package poses a significant risk to npm users. It is crucial to remove this package from your projects and monitor for any unauthorized changes. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for teagood-nakamala39 →
FAQ
teagood-nakamala39 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and damaging your developer reputation.
You should uninstall the package immediately using the command 'npm uninstall teagood-nakamala39' and check for any unauthorized changes in your project.
You can use Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time. You can check your application using the Vulert playground without signing up.
There are no patches for teagood-nakamala39 as it is recommended to remove the package entirely from your project.