Malicious Code Injection in gigantic_alligator_z3n Package
Summary
MAL-2025-94683: Malicious code in gigantic_alligator_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 gigantic_alligator_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through the creation of numerous derivative packages.
Vulnerability Detail
The vulnerability in the gigantic_alligator_z3n package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses security risks to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gigantic_alligator_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 gigantic_alligator_z3n package and any packages that depend on it. Regularly audit your package-lock.json file to identify and remove any potentially malicious packages.
Conclusion
The gigantic_alligator_z3n package poses a significant security risk due to its malicious behavior of modifying package metadata and republishing itself under various names. It is essential for developers to remain vigilant and regularly audit their dependencies to maintain the integrity of their applications.
See every vulnerability recorded for gigantic_alligator_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores by publishing numerous derivative packages.
Using this package can lead to security risks, including the potential for your application to be compromised or to inadvertently contribute to the pollution of the npm registry.
You should uninstall the gigantic_alligator_z3n package immediately and review your project for any dependencies that may be affected.
There is no patch for the gigantic_alligator_z3n package since it is a malicious package. The best course of action is to remove it from your project.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without needing to sign up.