Malicious Code Injection in vicious_pony_z3n Package - npm Vulnerability
Summary
MAL-2025-91766: Malicious code in vicious_pony_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 vicious_pony_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 npm's publishing capabilities. Its primary function is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the vicious_pony_z3n package stems from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk of reputation damage to developers and potential security threats to users who inadvertently install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vicious_pony_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 vicious_pony_z3n package altogether. If it is already in use, consider removing it from your package.json and running npm install to clean your dependencies.
Conclusion
The vicious_pony_z3n package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and users alike. It is crucial to remove this package and stay informed about potential updates or patches to safeguard your projects.
See every vulnerability recorded for vicious_pony_z3n →
FAQ
The vicious_pony_z3n package is a JavaScript package in the npm ecosystem that has been identified as part of a malicious campaign to exploit npm's publishing features.
This vulnerability can lead to the pollution of the npm registry and may compromise your project's integrity by introducing malicious code.
You should remove the vicious_pony_z3n package from your project and monitor for any updates or patches that may be released.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for any open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.