Malicious Code Injection in middle_chipmunk_z3n Package - npm Vulnerability
Summary
MAL-2025-88425: Malicious code in middle_chipmunk_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 middle_chipmunk_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 floods the npm registry with derivative packages. These packages are designed to inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the middle_chipmunk_z3n package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall middle_chipmunk_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, avoid using the middle_chipmunk_z3n package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The middle_chipmunk_z3n package poses a significant risk due to its malicious code that alters project files and inflates developer reputation scores. It is essential to remove this package from your project and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for middle_chipmunk_z3n →
FAQ
middle_chipmunk_z3n is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your project's package.json file, potentially compromising your application's integrity and security.
If you have installed the middle_chipmunk_z3n package, you should uninstall it immediately and check your package-lock.json file for any references to it.
You can use Vulert, which monitors your package-lock.json for vulnerabilities and alerts you 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 needing to sign up.