Malicious Code Injection in secure_cicada_z3n Package
Summary
MAL-2025-96487: Malicious code in secure_cicada_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 secure_cicada_z3n package is part of the npm ecosystem, primarily used for JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to the proliferation of malicious packages on npm. This package is designed to inflate developer reputation scores through automated publishing of derivative packages, making it a target for vulnerabilities that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the secure_cicada_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, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses significant risks 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 secure_cicada_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 secure_cicada_z3n package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The secure_cicada_z3n package poses a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for secure_cicada_z3n →
FAQ
The secure_cicada_z3n package is an npm package linked to a token reward campaign that has been found to contain malicious code.
The malicious code modifies your package.json, potentially leading to security vulnerabilities and the pollution of the npm registry.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the secure_cicada_z3n package, you should uninstall it immediately and check your project for any dependencies that may have been affected.
Yes, tools like npm audit can help you identify vulnerabilities in your dependencies, and Vulert can provide real-time monitoring for open-source vulnerabilities.