Malicious Code Injection in selective_clam_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-96499: Malicious code in selective_clam_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 package 'selective_clam_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of reusable code. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in 'selective_clam_z3n' originates from its association with a malicious campaign that floods the npm registry with spammy packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names. This not only inflates developer reputation scores for token rewards but also pollutes the npm registry, potentially leading to security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall selective_clam_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 'selective_clam_z3n' and replace it with a trusted alternative package that serves the same purpose. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The 'selective_clam_z3n' package poses a significant risk due to its malicious code that manipulates the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for selective_clam_z3n →
FAQ
'selective_clam_z3n' is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
Using 'selective_clam_z3n' can lead to your project being associated with spammy packages, which may compromise its integrity and security.
You should immediately uninstall 'selective_clam_z3n' using 'npm uninstall selective_clam_z3n' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for 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.