Malicious Code Injection in horizontal_raven_0xrequest Package
Summary
MAL-2025-103789: Malicious code in horizontal_raven_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 horizontal_raven_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities. It is designed to automate the creation and publication of derivative packages, potentially compromising the integrity of the npm registry and affecting developers' reputations.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a broader scheme to inflate developer reputation scores for token rewards associated with the tea.xyz protocol. The continuous republishing of these variants can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall horizontal_raven_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 horizontal_raven_0xrequest package and consider alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall horizontal_raven_0xrequest.
Conclusion
The horizontal_raven_0xrequest package poses a significant security risk due to its malicious behavior aimed at manipulating the npm registry. Developers are advised to remove this package and monitor their applications for any signs of compromise. Utilizing tools like Vulert can enhance your ability to detect and respond to such vulnerabilities effectively.
See every vulnerability recorded for horizontal_raven_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the horizontal_raven_0xrequest package immediately and monitor your application for any unusual behavior.
Yes, tools like Vulert can monitor 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.