Malicious Code Injection in teagood-nalikami20: A Threat to npm Users
Summary
MAL-2025-167418: Malicious code in teagood-nalikami20 (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-nalikami20 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-nalikami20 stems from its malicious payload that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant compromise of the npm ecosystem, allowing for potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami20
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-nalikami20 package and monitor your project for any dependencies that may have been inadvertently installed. Regularly audit your npm packages using npm audit to identify any vulnerabilities.
Conclusion
The teagood-nalikami20 package poses a significant risk to the npm ecosystem due to its malicious behavior. Users are advised to uninstall the package and monitor their dependencies closely. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects.
See every vulnerability recorded for teagood-nalikami20 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republishes variants to pollute the npm registry.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the package immediately using the command: npm uninstall teagood-nalikami20.
Yes, the vulnerability can lead to the pollution of the npm registry and potential exploitation by malicious actors.
Currently, there is no specific patch for teagood-nalikami20, but you should monitor for updates and remove the package.