Malicious Code Injection in usual_fly_requirement Package
Summary
MAL-2025-97213: Malicious code in usual_fly_requirement (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 usual_fly_requirement package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is suspected to be involved in a token reward campaign that aims to manipulate developer reputation scores. It is designed to automatically generate and publish derivative packages, which can lead to a polluted npm registry and potential security risks for developers using these packages.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the usual_fly_requirement package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. It continuously republishes these variants, which can lead to a significant increase in the number of malicious packages in the npm registry. This poses a risk to developers who may unknowingly install these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall usual_fly_requirement
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 remove the usual_fly_requirement package from your project by executing the command: 'npm uninstall usual_fly_requirement'. This will help mitigate the risk until a patched version is available.
Conclusion
The usual_fly_requirement package contains malicious code that poses a significant risk to developers using it. It is essential to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help maintain the security of your projects by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for usual_fly_requirement →
FAQ
The usual_fly_requirement package is an npm package that is part of a token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the proliferation of unwanted packages in the npm registry.
If you have installed the usual_fly_requirement package, it is crucial to uninstall it immediately and check for any updates or patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground.
To prevent future vulnerabilities, regularly update your packages, monitor your dependencies, and utilize tools like Vulert for real-time alerts on open-source vulnerabilities.