Malicious Code Injection in fancy_dormouse_z3n Package
Summary
MAL-2025-94434: Malicious code in fancy_dormouse_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 fancy_dormouse_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. It is often utilized for various functionalities within applications. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts designed to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the fancy_dormouse_z3n package stems from its involvement in a token reward campaign that deploys malicious scripts. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This not only compromises the integrity of the npm registry but also poses a risk 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 fancy_dormouse_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 fancy_dormouse_z3n package and replace it with a trusted alternative. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The fancy_dormouse_z3n package poses a significant security risk due to its malicious code injection. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Regular monitoring and updating of dependencies can help mitigate such vulnerabilities.
See every vulnerability recorded for fancy_dormouse_z3n →
FAQ
fancy_dormouse_z3n is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
If you have installed the fancy_dormouse_z3n package, you should uninstall it immediately using the command: npm uninstall fancy_dormouse_z3n.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.