Malicious Code Injection in consistent_whippet_z3n Package
Summary
MAL-2025-93747: Malicious code in consistent_whippet_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 consistent_whippet_z3n package is part of the npm ecosystem and is typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability originates from the consistent_whippet_z3n package being involved in a malicious campaign that modifies its own package.json file. The malicious code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall consistent_whippet_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 measure, avoid using the consistent_whippet_z3n package and consider using alternative packages that provide similar functionality without the associated risks. You can also monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The consistent_whippet_z3n package poses a significant security risk due to its involvement in a malicious campaign that alters its own metadata and floods the npm registry. It is essential for developers to remove this package and monitor their dependencies to maintain the security of their applications.
See every vulnerability recorded for consistent_whippet_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the consistent_whippet_z3n package immediately and check your project for any other affected packages.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.