Malicious Code Injection in teagood-nalikoli101: A Threat to npm Packages
Summary
MAL-2025-167509: Malicious code in teagood-nalikoli101 (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-nalikoli101 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 generating and publishing derivative packages. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-nalikoli101 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 numerous derivative packages. The scripts involved include autopublish scripts that automate the process of creating and publishing these packages, leading to potential security risks for users relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli101
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 remove the affected package from your project by executing the command: npm uninstall teagood-nalikoli101. This will prevent any malicious code from executing in your application.
Conclusion
The teagood-nalikoli101 package poses a significant risk due to its malicious code that alters package metadata and publishes unwanted derivatives. It is crucial for developers to take immediate action by uninstalling the package and monitoring their applications for vulnerabilities.
See every vulnerability recorded for teagood-nalikoli101 →
FAQ
teagood-nalikoli101 is an npm package associated with the tea.xyz token reward campaign, which has been identified to contain malicious code.
The malicious code modifies your package.json file and can lead to the publication of numerous unwanted packages, potentially compromising your application's security.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.