Malicious Code Injection in negative_halibut_0xrequest Package
Summary
MAL-2025-106247: Malicious code in negative_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 negative_halibut_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate interactions with the tea protocol, but it has been compromised to include malicious scripts that can manipulate package metadata and publish unauthorized derivatives.
Vulnerability Detail
This vulnerability originates from the malicious code embedded within the negative_halibut_0xrequest package. The code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry and can inflate developer reputation scores fraudulently. The malicious payload can also create security risks for applications relying on this package, as it may introduce unverified and potentially harmful dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall negative_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 prevent the installation of the negative_halibut_0xrequest package by using npm's package-lock.json to monitor your dependencies. You can also use the following command to uninstall the package if it is already installed: npm uninstall negative_halibut_0xrequest.
Conclusion
The negative_halibut_0xrequest package contains a serious vulnerability that can compromise the integrity of your application. It is crucial to remove this package and monitor your dependencies for any malicious activity. Utilizing tools like Vulert can help maintain the security of your open-source projects.
See every vulnerability recorded for negative_halibut_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate interactions with the tea protocol.
The vulnerability can lead to unauthorized modifications of your package metadata and the introduction of malicious dependencies, compromising your application's security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the negative_halibut_0xrequest package immediately using the command: npm uninstall negative_halibut_0xrequest.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.