Malicious Code Vulnerability in hidden_python_z3n Package - Exploitation of npm Registry
Summary
MAL-2025-94818: Malicious code in hidden_python_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 hidden_python_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to a polluted registry and potential security risks for users.
Vulnerability Detail
The vulnerability in the hidden_python_z3n package originates from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants, which can lead to the pollution of the npm registry. This behavior can compromise the integrity of the npm ecosystem, making it difficult for developers to trust the packages they are using.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hidden_python_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 workaround, you can avoid using the hidden_python_z3n package altogether. If it is already in your project, you can remove it by running the command: npm uninstall hidden_python_z3n.
Conclusion
The hidden_python_z3n package poses a significant risk due to its malicious behavior aimed at exploiting the npm registry. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their projects by removing affected packages and monitoring for future vulnerabilities.
See every vulnerability recorded for hidden_python_z3n →
FAQ
The hidden_python_z3n package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
This vulnerability can lead to the pollution of the npm registry, making it difficult to trust the packages you are using and potentially exposing your project to security risks.
If you have installed the hidden_python_z3n package, it is recommended to uninstall it immediately using the command: npm uninstall hidden_python_z3n.
Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review the packages you are using to ensure they are from trusted sources.