Malicious Code Injection in quick_whale_z3n: npm Package Vulnerability
Summary
MAL-2025-96156: Malicious code in quick_whale_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 quick_whale_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 scripts that generate and publish numerous variants of the package, often with altered metadata.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the quick_whale_z3n package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The primary risk associated with this vulnerability is the pollution of the npm registry, which can lead to confusion among developers and potential security risks if these malicious packages are inadvertently used in production environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall quick_whale_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 quick_whale_z3n package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The quick_whale_z3n package poses a significant risk due to its malicious code designed to manipulate package metadata and flood the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for quick_whale_z3n →
FAQ
quick_whale_z3n is an npm package that has been identified as part of a malicious campaign aimed at flooding the npm registry with derivative packages.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, potentially causing confusion and security risks.
You should uninstall the package immediately using 'npm uninstall quick_whale_z3n' and check your project for any unintended consequences.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies using tools like npm audit and consider using services like Vulert to monitor for vulnerabilities in real-time.