Malicious Code Injection in teagood-nalikoli10: A Threat to npm Ecosystem
Summary
MAL-2025-167507: Malicious code in teagood-nalikoli10 (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-nalikoli10 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is used by developers to manage dependencies in their JavaScript applications. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in teagood-nalikoli10 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 for token rewards, leading to the continuous republishing of these variants and polluting the npm registry. The ramifications include potential exposure of sensitive data, dependency confusion, and the risk of executing untrusted code in applications that utilize this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli10
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-nalikoli10 package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The teagood-nalikoli10 package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised versions. It is crucial for developers to remove this package from their projects and monitor their dependencies for similar vulnerabilities.
See every vulnerability recorded for teagood-nalikoli10 →
FAQ
The primary risk is the injection of malicious code that can compromise the security of applications relying on this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
You should uninstall the package immediately using 'npm uninstall teagood-nalikoli10' and review your project for any potential impacts.
Yes, consider looking for other npm packages that offer similar functionality without the associated risks of malicious code.
This vulnerability can lead to a polluted npm registry, making it difficult for developers to trust the integrity of packages and potentially exposing applications to security threats.