Malicious Code Injection in important_wolverine-tool: A Threat to npm Users
Summary
MAL-2025-104008: Malicious code in important_wolverine-tool (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 important_wolverine-tool is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the npm ecosystem, but it has been compromised. The vulnerability stems from malicious scripts that manipulate package metadata, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in important_wolverine-tool originates from malicious code embedded within the package. This code is part of a broader scheme to inflate developer reputation scores through the automatic generation and publication of derivative packages with randomized names. The payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to registry pollution and misuse of the npm ecosystem. This poses significant risks, including the potential for dependency confusion and the introduction of untrusted code into projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall important_wolverine-tool
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, consider removing the important_wolverine-tool package from your project until a secure version is released. You can do this by executing: npm uninstall important_wolverine-tool. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The important_wolverine-tool package has been compromised with malicious code that poses significant risks to npm users. It is essential to stay vigilant, update packages promptly, and utilize tools like Vulert to monitor for vulnerabilities. By taking these precautions, developers can help safeguard their projects from potential threats.
See every vulnerability recorded for important_wolverine-tool →
FAQ
The malicious code can lead to the automatic generation of untrusted packages, potentially compromising the security of your application.
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.
Immediately uninstall the package and monitor your project for any unauthorized changes. Update to a patched version as soon as it is available.
The payload modifies your package.json by removing private flags and changing version numbers, which can lead to unintended consequences in your project.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.