Malicious Code Injection in voluminous_weasel_0xrequest: A Threat to npm Packages
Summary
MAL-2025-110627: Malicious code in voluminous_weasel_0xrequest (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 package 'voluminous_weasel_0xrequest' is part of a series of npm packages that have been linked to the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, but it also poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'voluminous_weasel_0xrequest' originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and create random package names, leading to the continuous republishing of variants that pollute the npm registry. This can result in developers inadvertently using compromised packages, exposing their applications to potential security risks and instability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall voluminous_weasel_0xrequest
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 'voluminous_weasel_0xrequest' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The 'voluminous_weasel_0xrequest' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant, remove this package, and utilize monitoring tools like Vulert to safeguard their applications from potential vulnerabilities.
See every vulnerability recorded for voluminous_weasel_0xrequest →
FAQ
It is an npm package involved in a malicious campaign that generates and publishes derivative packages to inflate developer reputation scores.
Using this package can expose your application to security risks, as it modifies package.json and can lead to the use of compromised packages.
You should remove the 'voluminous_weasel_0xrequest' package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.