Malicious Code Injection in net_mammal_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-106272: Malicious code in net_mammal_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 package net_mammal_z3n is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality and streamline development processes. However, this package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages, thereby compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in net_mammal_z3n stems from its association with a malicious campaign linked to the tea.xyz token reward initiative. This package contains scripts designed to automatically publish numerous derivative packages with altered names and modified package.json files. These modifications include the removal of private flags and the generation of random package names, which can lead to reputation inflation for developers and pollution of the npm registry. The malicious payload poses a significant risk as it can compromise the security and reliability of applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall net_mammal_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 measure, you can avoid using the net_mammal_z3n package until a patched version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The net_mammal_z3n package poses a significant security risk due to its association with malicious activities aimed at the npm ecosystem. It is crucial for developers to remain vigilant, update their packages regularly, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for net_mammal_z3n →
FAQ
net_mammal_z3n is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should update the package to the latest version or remove it from your project until a fix is available.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.