Malicious Code Injection in teagood-nalikoli17: A Threat to npm Users
Summary
MAL-2025-167569: Malicious code in teagood-nalikoli17 (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-nalikoli17 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as malicious due to its functionality that modifies package metadata and floods the npm registry with spammy packages.
Vulnerability Detail
The vulnerability in teagood-nalikoli17 stems from its malicious code that alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to pollution of the npm registry. The package can introduce security risks by allowing unauthorized access to sensitive information and creating a chaotic environment in the package ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli17
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 use the following command to prevent the installation of the malicious package: 'npm install --no-optional teagood-nalikoli17'. However, the best practice is to remove the package entirely.
Conclusion
The teagood-nalikoli17 package poses a significant threat due to its malicious code that modifies package metadata and floods the npm registry. Users are advised to uninstall the package immediately and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for teagood-nalikoli17 →
FAQ
teagood-nalikoli17 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 exposing sensitive information and cluttering the npm registry.
You should uninstall the package immediately using 'npm uninstall teagood-nalikoli17' to mitigate any risks.
There is no patch available for teagood-nalikoli17; the recommended action is to remove the package entirely.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground.