Malicious Code Injection in teagood-nalikami56 Package - npm Vulnerability
Summary
MAL-2025-167457: Malicious code in teagood-nalikami56 (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-nalikami56 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages typically include scripts designed to automatically generate and publish derivative packages with randomized names. This behavior is aimed at inflating developer reputation scores for rewards associated with the tea protocol.
Vulnerability Detail
The vulnerability in the teagood-nalikami56 package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also poses risks 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-nalikami56
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-nalikami56 package altogether. If you must use it, consider implementing strict package validation and monitoring to detect any unauthorized changes to your package.json file.
Conclusion
The teagood-nalikami56 package presents a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to be vigilant and take immediate action to mitigate this vulnerability by updating or removing the affected package.
See every vulnerability recorded for teagood-nalikami56 →
FAQ
teagood-nalikami56 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's integrity and security.
If you have installed teagood-nalikami56, it is crucial to update it to a patched version or remove it from your project immediately.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.