Malicious Code Injection in teagood-nalikami89 Package - npm Vulnerability
Summary
MAL-2025-167493: Malicious code in teagood-nalikami89 (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
The teagood-nalikami89 package is part of the tea.xyz token reward campaign that has been flooding the npm registry. This package is designed to generate and publish derivative packages with randomized names, aiming to inflate developer reputation scores for rewards associated with the tea protocol. Its functionality is compromised due to the presence of malicious code that modifies package metadata and continuously republishes variants, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-nalikami89 package stems from its malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these malicious 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-nalikami89
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 workaround, you can avoid using the teagood-nalikami89 package entirely and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The teagood-nalikami89 package contains malicious code that compromises the integrity of the npm registry and poses significant risks to developers. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert. Staying informed and proactive about package security is essential for maintaining the safety of your applications.
See every vulnerability recorded for teagood-nalikami89 →
FAQ
teagood-nalikami89 is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores by generating and publishing derivative packages.
The malicious code modifies your package.json, removes private flags, and republishes variants, which can lead to security vulnerabilities and pollution of the npm registry.
You should remove the teagood-nalikami89 package from your project immediately and monitor for any updates or patches that may address this vulnerability.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation. You can also check your application using the Vulert playground.
Yes, you should look for alternative packages that provide similar functionality without the risks associated with the teagood-nalikami89 package.