Malicious Code Injection in sexual_fly_0xrequest Package
Summary
MAL-2025-108578: Malicious code in sexual_fly_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 sexual_fly_0xrequest package is part of the npm ecosystem, often used in various JavaScript applications. It has been identified as part of a broader campaign that aims to inflate developer reputation scores through the creation and publication of numerous derivative packages. This package, like others in the campaign, is designed to automatically generate and publish variants with altered metadata, which can lead to significant issues in the npm registry.
Vulnerability Detail
The vulnerability in the sexual_fly_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. This allows the package to continuously republish itself under randomized names, polluting the npm registry and potentially compromising other applications that depend on it. The malicious payload can lead to unauthorized access, data leakage, and a compromised development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sexual_fly_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 sexual_fly_0xrequest package and replace it with a trusted alternative that provides similar functionality. Additionally, regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The sexual_fly_0xrequest package poses a significant risk due to its malicious nature, which can compromise your application and the npm ecosystem. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for sexual_fly_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by generating and publishing numerous derivative packages.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application and its dependencies.
You should uninstall the sexual_fly_0xrequest package immediately and audit your project for any other potentially malicious packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.