Malicious Code Injection in deliberate_galliform_z3n Package
Summary
MAL-2025-101293: Malicious code in deliberate_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 deliberate_galliform_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the deliberate_galliform_z3n package, which contains malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to reputation damage for developers and potential security risks for users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall deliberate_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 avoid using the deliberate_galliform_z3n package and monitor your dependencies for any malicious activity. Consider using tools like Vulert to scan your package-lock.json file for vulnerabilities.
Conclusion
The deliberate_galliform_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unwanted variants. It is crucial to remove this package and utilize tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for deliberate_galliform_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the creation of derivative packages.
The malicious code modifies your package.json file and can lead to the publication of unwanted packages, potentially harming your project's reputation.
You should remove the deliberate_galliform_z3n package from your project and monitor your dependencies for any signs of malicious activity.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just your package-lock.json file.
Regularly scan your dependencies with tools like Vulert and stay updated on security advisories related to the packages you use.