Malicious Code Injection in light_galliform_0xrequest Package
Summary
MAL-2025-105125: Malicious code in light_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 light_galliform_0xrequest package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that inflate developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages, which can lead to significant issues in the npm registry and for developers relying on these packages.
Vulnerability Detail
The vulnerability in the light_galliform_0xrequest package originates from its malicious intent to modify package.json files by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, polluting the npm registry. This can lead to a compromised development environment, where developers may unknowingly use malicious packages, potentially exposing their applications to security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall light_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 use the following command to prevent the installation of this malicious package: npm install --no-save light_galliform_0xrequest. However, this does not eliminate the risk entirely, and it is recommended to remove the package completely.
Conclusion
The light_galliform_0xrequest package poses a significant risk due to its malicious code designed to manipulate package metadata and flood the npm registry. It is crucial for developers to be aware of such vulnerabilities and take immediate action to protect their projects. Regular monitoring and using tools like Vulert can help in identifying and mitigating these risks effectively.
See every vulnerability recorded for light_galliform_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating and publishing malicious derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and functionality.
You should uninstall the package immediately using npm uninstall light_galliform_0xrequest and check your project for any related vulnerabilities.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.