Malicious Code Injection in informal_kangaroo-teagooddev Package
Summary
MAL-2025-104192: Malicious code in informal_kangaroo-teagooddev (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
The informal_kangaroo-teagooddev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the informal_kangaroo-teagooddev package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall informal_kangaroo-teagooddev
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 remove the informal_kangaroo-teagooddev package from your project by executing the following command: npm uninstall informal_kangaroo-teagooddev. This will prevent any malicious code from executing in your environment.
Conclusion
The informal_kangaroo-teagooddev package contains malicious code that poses significant risks to developers and their applications. It is crucial to take immediate action by updating or removing the package to safeguard your projects. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for informal_kangaroo-teagooddev →
FAQ
The malicious code can lead to the pollution of the npm registry and may compromise the security of applications that depend on this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
If no patched version is available, consider removing the package from your project to mitigate the risk.
The malicious code modifies the package.json file to remove private flags and changes version numbers, which can lead to unintended consequences in your project.