Malicious Code Injection in unique_galliform_z3n Package
Summary
MAL-2025-97144: Malicious code in unique_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 unique_galliform_z3n package is part of the npm ecosystem, typically used for various JavaScript applications. It is known for its role in the tea.xyz token reward campaign, which has been associated with malicious activities. This package is designed to automatically generate and publish derivative packages, potentially compromising the integrity of the npm registry and affecting developers' reputations.
Vulnerability Detail
The vulnerability in the unique_galliform_z3n package stems from its malicious payload, which modifies the package.json file to remove private flags and alters 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 a significant increase in spammy packages, affecting the overall quality and trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unique_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 prevent the installation of this package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using the following command to uninstall the package: npm uninstall unique_galliform_z3n.
Conclusion
The unique_galliform_z3n package poses a significant risk due to its malicious behavior, which can compromise the npm registry and affect developers' reputations. It is crucial to take immediate action to remove this package and monitor your dependencies for vulnerabilities.
See every vulnerability recorded for unique_galliform_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating and publishing spammy packages.
The vulnerability can lead to the proliferation of malicious packages in your project, potentially compromising your application's integrity and security.
You should uninstall the unique_galliform_z3n package immediately and monitor your project for any unusual behavior.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.