Malicious Code Injection in practical_fox_0xrequest Package
Summary
MAL-2025-107176: Malicious code in practical_fox_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 practical_fox_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript development. This package is suspected to be linked to a token reward campaign that has been flooding the npm registry with malicious packages. Its primary function is to facilitate requests, but it has been compromised to include harmful scripts that can manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the practical_fox_0xrequest package, which has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in security risks for developers who unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall practical_fox_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 practical_fox_0xrequest package until a fix is released. Additionally, you can monitor your package-lock.json file for any changes that might indicate the presence of malicious code.
Conclusion
The practical_fox_0xrequest package has been identified as containing malicious code that can compromise the integrity of applications using it. Developers are advised to update or remove the package to protect their projects from potential risks. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities effectively.
See every vulnerability recorded for practical_fox_0xrequest →
FAQ
It is an npm package used for making requests in JavaScript applications, but it has been compromised with malicious code.
You can use Vulert to monitor your package-lock.json file for vulnerabilities. Visit Vulert Scanner to check if your application is affected.
You should update the package to the latest version or remove it from your project to mitigate the risk.
Using compromised packages can lead to security vulnerabilities, data breaches, and potential exploitation of your application.
Vulert monitors your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.