Malicious Code Injection in spicy_harrier_0xrequest Package
Summary
MAL-2025-109007: Malicious code in spicy_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 spicy_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 npm with derivative packages. These packages are designed to inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the spicy_harrier_0xrequest package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The malicious nature of this package can lead to unauthorized access, data breaches, and a compromised development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall spicy_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 remove the package from your project by executing the following command in your terminal: npm uninstall spicy_harrier_0xrequest. This will prevent the execution of any malicious code associated with the package.
Conclusion
The spicy_harrier_0xrequest package poses a significant threat due to its malicious code that alters package configurations and repopulates the npm registry with harmful variants. It is crucial to remove this package and monitor your projects for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for spicy_harrier_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's security and integrity.
You should uninstall the spicy_harrier_0xrequest package immediately to prevent any malicious activity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.