Malicious Code Injection in nearby_harrier_0xrequest Package
Summary
MAL-2025-106225: Malicious code in nearby_harrier_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 nearby_harrier_0xrequest package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores through automated publishing of derivative packages, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the nearby_harrier_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, polluting the npm registry. This can lead to unauthorized access, data breaches, and a compromised development environment, as developers may unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nearby_harrier_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 nearby_harrier_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to audit your npm packages for vulnerabilities: 'npm audit'.
Conclusion
The nearby_harrier_0xrequest package poses significant security risks due to its malicious code that modifies essential files and repopulates the npm registry. It is crucial to remove this package from your project and monitor for any vulnerabilities using tools like Vulert.
See every vulnerability recorded for nearby_harrier_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to unauthorized access and data breaches, as the package modifies critical files and repopulates the npm registry with malicious variants.
You should uninstall the nearby_harrier_0xrequest package immediately and check your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Yes, you should look for alternative npm packages that provide similar functionalities without the associated risks.