Malicious Code Injection in mathematical_whitefish_0xrequest Package
Summary
MAL-2025-105662: Malicious code in mathematical_whitefish_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 mathematical_whitefish_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code components. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can harm developers' reputations and the integrity of the registry itself.
Vulnerability Detail
The vulnerability in the mathematical_whitefish_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes variants, leading to pollution of the npm registry. This behavior can compromise the security of applications relying on this package, potentially allowing attackers to execute unauthorized code or manipulate application behavior.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mathematical_whitefish_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 workaround, you can avoid using the mathematical_whitefish_0xrequest package altogether. If it is already included in your project, you can remove it by executing the following command: npm uninstall mathematical_whitefish_0xrequest.
Conclusion
The mathematical_whitefish_0xrequest package poses a significant security risk due to its malicious behavior. It is crucial for developers to be vigilant and remove any affected packages from their projects to maintain the integrity and security of their applications.
See every vulnerability recorded for mathematical_whitefish_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to unauthorized code execution and manipulation of your application, compromising its security.
You should uninstall the mathematical_whitefish_0xrequest package immediately and check for any updates or patches.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.