Malicious Code Vulnerability in just_hornet_0xrequest Package
Summary
MAL-2025-104737: Malicious code in just_hornet_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 just_hornet_0xrequest package is part of the npm ecosystem, primarily used for handling requests in JavaScript applications. It is often utilized in various projects for its lightweight and efficient functionality. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts designed to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the just_hornet_0xrequest package, which is linked to the tea.xyz token reward campaign. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants can lead to pollution of the npm registry, posing risks to developers who may unknowingly use these compromised packages. The malicious payload can compromise the integrity of applications relying on this package, leading to potential security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall just_hornet_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 just_hornet_0xrequest package from your project by executing: npm uninstall just_hornet_0xrequest. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The just_hornet_0xrequest package is compromised with malicious code that alters package metadata and can lead to significant security risks. It is crucial to update or remove this package to protect your application from potential threats. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for just_hornet_0xrequest →
FAQ
just_hornet_0xrequest is an npm package used for handling requests in JavaScript applications, but it has been compromised with malicious code.
The malicious code modifies package metadata and can lead to the pollution of the npm registry, potentially compromising the security of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If no patched version is available, consider removing the package and replacing it with a secure alternative to mitigate risks.
The vulnerability was identified by Amazon Inspector, which specializes in detecting malicious packages in the npm ecosystem.