Malicious Code Injection in teagood-nalikami123: A Threat to npm Packages
Summary
MAL-2025-167397: Malicious code in teagood-nalikami123 (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-nalikami123 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm ecosystem, but it has been identified as malicious due to its functionality that includes autopublishing scripts. These scripts are intended to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The presence of such malicious behavior poses significant risks to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in teagood-nalikami123 originates from its malicious code that modifies the package.json file by removing private flags and changing version numbers. This code generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. The ramifications include the potential for developers to unknowingly install compromised packages, leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami123
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, avoid using the teagood-nalikami123 package and consider using alternative packages that provide similar functionality without the associated risks. You can also monitor your package dependencies using tools like Vulert, which allows you to check for vulnerabilities in your package-lock.json file.
Conclusion
The teagood-nalikami123 package poses a significant security threat due to its malicious code that modifies package metadata and repopulates the npm registry with compromised packages. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity and security of their applications.
See every vulnerability recorded for teagood-nalikami123 →
FAQ
teagood-nalikami123 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through autopublishing scripts.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall the package immediately using 'npm uninstall teagood-nalikami123' and check your project for any other affected dependencies.
You can use tools like Vulert to monitor your package-lock.json file 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.