Malicious Code Injection in marvellous_hawk_requirement Package
Summary
MAL-2025-95400: Malicious code in marvellous_hawk_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 marvellous_hawk_requirement package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This package's vulnerability allows attackers to manipulate its contents, leading to potential exploitation.
Vulnerability Detail
The vulnerability stems from the package being associated with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This can lead to unauthorized access to sensitive data, reputation damage for developers, and a compromised npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall marvellous_hawk_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 marvellous_hawk_requirement package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall marvellous_hawk_requirement.
Conclusion
The marvellous_hawk_requirement package has been compromised, posing significant risks to developers and their projects. It is crucial to take immediate action by updating or removing the package and monitoring for any further vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for marvellous_hawk_requirement →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive data and damaging your project's reputation.
You should check the package's repository for any updates or patches that address this vulnerability. If a patched version is available, update the package using npm update.
It is recommended to uninstall the package immediately and monitor for any updates or patches that may be released.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.