Malicious Code Injection in straight_galliform_z3n Package
Summary
MAL-2025-96788: Malicious code in straight_galliform_z3n (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 straight_galliform_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign associated with the tea.xyz token reward initiative. This package, like others in the campaign, is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages with randomized names.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the straight_galliform_z3n package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these 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 straight_galliform_z3n
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 straight_galliform_z3n package from your project by executing the following command: npm uninstall straight_galliform_z3n. This will prevent any malicious code from executing in your application until a secure version is available.
Conclusion
The straight_galliform_z3n package has been compromised with malicious code that poses significant risks to developers and their applications. It is crucial to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for straight_galliform_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry with compromised packages.
You should uninstall the straight_galliform_z3n package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly updating your dependencies, using tools like Vulert for monitoring, and auditing your packages can help prevent vulnerabilities from affecting your projects.