Malicious Code Detected in worthwhile_wolverine-teagooddev Package - npm Vulnerability
Summary
MAL-2025-111028: Malicious code in worthwhile_wolverine-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 worthwhile_wolverine-teagooddev package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only affects the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded in the worthwhile_wolverine-teagooddev package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, thereby polluting the npm registry and potentially compromising the security of applications that rely on these packages. The malicious code is part of a broader scheme to inflate developer reputation scores for token rewards, making it a significant concern for the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall worthwhile_wolverine-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 measure, avoid using the worthwhile_wolverine-teagooddev package and consider using alternative packages that provide similar functionality without the associated risks. Always review the dependencies in your project for any potential vulnerabilities.
Conclusion
The worthwhile_wolverine-teagooddev package has been identified as containing malicious code that can compromise the integrity of the npm ecosystem. It is essential for developers to be vigilant, regularly monitor their dependencies, and take immediate action to remove any affected packages to safeguard their applications.
See every vulnerability recorded for worthwhile_wolverine-teagooddev →
FAQ
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of other packages and potentially compromising applications that depend on them.
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 immediately uninstall the package and review your project's dependencies for any other vulnerabilities. Consider using alternative packages.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest stable versions to minimize risks.
Look for packages with unusual names, high frequency of updates, or those that modify critical files like package.json without clear documentation.