Malicious Code Injection in hollow_trout_0xrequest Package
Summary
MAL-2025-103749: Malicious code in hollow_trout_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 hollow_trout_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is designed to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the hollow_trout_0xrequest package stems from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry and potential exploitation of applications relying on these packages. This poses a risk of code injection and unauthorized access to sensitive data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hollow_trout_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 hollow_trout_0xrequest package from your project by executing the following command: npm uninstall hollow_trout_0xrequest. This will prevent the execution of any malicious code associated with the package until a secure version is available.
Conclusion
The hollow_trout_0xrequest package has been identified as a vector for malicious code injection, posing significant risks to applications that utilize it. Immediate action is required to update or remove the package to safeguard your application from potential exploitation. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for hollow_trout_0xrequest →
FAQ
The hollow_trout_0xrequest package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
This vulnerability can lead to code injection, unauthorized access to sensitive data, and pollution of the npm registry, potentially compromising your application's integrity.
You should immediately update the package to the latest version or uninstall it to mitigate the risk of exploitation.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.