Malicious Code Injection in thoughtless_galliform_z3n Package
Summary
MAL-2025-109645: Malicious code in thoughtless_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 thoughtless_galliform_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry by continuously republishing variants, making it difficult for developers to manage their dependencies and potentially leading to the installation of compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall thoughtless_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 manually remove the thoughtless_galliform_z3n package from your project by running the command: npm uninstall thoughtless_galliform_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The thoughtless_galliform_z3n package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your project and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for thoughtless_galliform_z3n →
FAQ
It is an npm package that is part of a token reward campaign but has been identified as malicious due to its harmful payload.
The vulnerability can lead to the installation of compromised packages, potentially compromising your project's security and integrity.
You should uninstall the thoughtless_galliform_z3n package immediately and monitor your project for any other vulnerabilities.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.