Malicious Code Injection in Nuclear Coral Z3N Package
Summary
MAL-2025-88874: Malicious code in nuclear_coral_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 nuclear_coral_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the nuclear_coral_z3n package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses 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 nuclear_coral_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 nuclear_coral_z3n package and any other packages associated with the tea.xyz campaign. Regularly audit your package dependencies using tools like npm audit to identify and remove any potentially harmful packages.
Conclusion
The nuclear_coral_z3n package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive steps, developers can protect their applications from potential threats.
See every vulnerability recorded for nuclear_coral_z3n →
FAQ
The nuclear_coral_z3n package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
You can use tools like Vulert to monitor your project for open-source vulnerabilities. By analyzing your package-lock.json file, Vulert can alert you in real-time if your application is affected by this vulnerability.
Using compromised packages can lead to security vulnerabilities in your application, including unauthorized access, data breaches, and the potential for your application to be used for malicious purposes.
To prevent future vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider employing automated tools like Vulert for real-time monitoring.
If you have already used the nuclear_coral_z3n package, uninstall it immediately and check your project for any other malicious dependencies. Ensure to update your project to remove any vulnerabilities.