Malicious Code Injection in existing_galliform_0xrequest Package
Summary
MAL-2025-102358: Malicious code in existing_galliform_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 existing_galliform_0xrequest package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This functionality, while intended for legitimate purposes, has been exploited to introduce malicious code.
Vulnerability Detail
The vulnerability in the existing_galliform_0xrequest package originates from its association with a malicious campaign that floods the npm registry. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall existing_galliform_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 existing_galliform_0xrequest package by using the following command: npm uninstall existing_galliform_0xrequest. Additionally, you can use Vulert to monitor your project for vulnerabilities by checking your package-lock.json file. Visit the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability without needing to sign up.
Conclusion
The existing_galliform_0xrequest package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for existing_galliform_0xrequest →
FAQ
It is an npm package that is part of a campaign to automate the generation of derivative packages for token rewards, but it has been identified as containing malicious code.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the existing_galliform_0xrequest package immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application at Vulert Scanner.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review the packages you use for any known issues.