Malicious Code Injection in adorable_snail_z3n: A Threat to npm Packages
Summary
MAL-2025-99202: Malicious code in adorable_snail_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
adorable_snail_z3n is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. Its functionality is compromised due to the presence of malicious scripts that can lead to significant security risks.
Vulnerability Detail
The vulnerability in adorable_snail_z3n 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, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional exposure of sensitive information and potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall adorable_snail_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 temporarily avoid using the adorable_snail_z3n package and replace it with a trusted alternative. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Conclusion
The adorable_snail_z3n package poses a significant security risk due to its malicious code designed to manipulate npm registry behaviors. It is crucial for developers to remove this package and monitor their dependencies to ensure the security of their applications.
See every vulnerability recorded for adorable_snail_z3n →
FAQ
adorable_snail_z3n is an npm package that has been linked to a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the exposure of sensitive information, pollution of the npm registry, and potential exploitation by malicious actors if the package is used in your application.
You should immediately remove the adorable_snail_z3n package from your project and monitor for any updates or patches that may be released.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software without needing to access the code or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.