Malicious Code Injection in correct_galliform_z3n Package
Summary
MAL-2025-101015: Malicious code in correct_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 correct_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 for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the correct_galliform_z3n package originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the pollution of the npm registry and can potentially harm developers by affecting their projects with untrusted code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall correct_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 correct_galliform_z3n package from your project by executing: npm uninstall correct_galliform_z3n. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The correct_galliform_z3n package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to update or remove this package to protect your application from potential threats. Monitoring tools like Vulert can assist in identifying such vulnerabilities in real-time.
See every vulnerability recorded for correct_galliform_z3n →
FAQ
The correct_galliform_z3n package is an npm package that is part of a token reward campaign, designed to automatically publish derivative packages.
The vulnerability can lead to the injection of malicious code into your project, potentially compromising its security and stability.
You should check the npm registry for any updated versions of the correct_galliform_z3n package that may contain patches for this vulnerability.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application against vulnerabilities using the Vulert playground without any signup.
If you cannot update the package, it is advisable to remove it from your project until a secure version is released.