Malicious Code Injection in flat_halibut_0xrequest Package
Summary
MAL-2025-102813: Malicious code in flat_halibut_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 flat_halibut_0xrequest package is part of the npm ecosystem, primarily used for JavaScript applications. It is designed to facilitate various functionalities within projects. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the flat_halibut_0xrequest package originates from its association with the tea.xyz token reward campaign. This campaign has led to the creation of numerous malicious packages that contain scripts designed to automatically publish derivative packages with altered metadata. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names, which can lead to pollution of the npm registry and compromise developer reputation scores. The ramifications include exposure to malicious code and potential security breaches in applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall flat_halibut_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 flat_halibut_0xrequest package and replace it with a trusted alternative. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access or installation. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The flat_halibut_0xrequest package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for flat_halibut_0xrequest →
FAQ
It is an npm package used in JavaScript applications, but it has been identified as part of a malicious campaign.
The vulnerability can lead to the injection of malicious code, compromising the security of your application and potentially affecting its functionality.
You should remove the flat_halibut_0xrequest package from your project and monitor for any updates or patches.
You can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.