Malicious Code Injection in mixed_alligator_z3n Package
Summary
MAL-2025-95512: Malicious code in mixed_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 mixed_alligator_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, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in the mixed_alligator_z3n package stems from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to pollution of the npm registry and can potentially harm developers by affecting their reputation and the integrity of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mixed_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 mixed_alligator_z3n package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies to ensure that no malicious packages are included in your project.
Conclusion
The mixed_alligator_z3n package poses a significant 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 regularly audit your dependencies to maintain the integrity of your software.
See every vulnerability recorded for mixed_alligator_z3n →
FAQ
The mixed_alligator_z3n package is an npm package associated with a token reward campaign that generates and publishes derivative packages to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, potentially harming your project's integrity and reputation by introducing malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.
If you have installed the mixed_alligator_z3n package, you should uninstall it immediately using the command npm uninstall mixed_alligator_z3n.
There are no patches available for the mixed_alligator_z3n package as it is recommended to remove the package entirely from your project.