Malicious Code Injection in dynamic_moose-teagooddev Package
Summary
MAL-2025-101836: Malicious code in dynamic_moose-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 dynamic_moose-teagooddev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate automated publishing of derivative packages, which can inflate developer reputation scores for token rewards. 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 originates from the package's malicious payload, which modifies the package.json file by removing private flags and altering version numbers. It generates random Indonesian-themed package names and continuously republishes variants to pollute the npm registry. This behavior can lead to the unintended exposure of sensitive information and the potential for further exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dynamic_moose-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 dynamic_moose-teagooddev package from your project by executing the following command: npm uninstall dynamic_moose-teagooddev. This will prevent any malicious code from executing in your application.
Conclusion
The dynamic_moose-teagooddev package has been identified as containing malicious code that poses a significant risk to applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your project from potential exploitation.
See every vulnerability recorded for dynamic_moose-teagooddev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The vulnerability can lead to the exposure of sensitive information and may allow malicious actors to exploit your application.
Yes, you can use Vulert, which monitors and alerts 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 for vulnerabilities without requiring any signup.
If no patched version is available, it is advisable to remove the package from your project to mitigate the risk.