Malicious Code Injection in additional_coral_z3n Package: npm Vulnerability
Summary
MAL-2025-99122: Malicious code in additional_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 additional_coral_z3n package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that inflate developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with randomized names, posing a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the additional_coral_z3n package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to manipulate package data for malicious purposes. The ramifications include potential security risks for developers who unknowingly use these packages, as well as damage to the reputation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall additional_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 workaround, avoid using the additional_coral_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 address vulnerabilities.
Conclusion
The additional_coral_z3n package poses a significant security risk due to its malicious code that alters package data and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for additional_coral_z3n →
FAQ
The additional_coral_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to manipulate package data for malicious purposes.
This vulnerability can lead to security risks, including the potential for malicious code execution and damage to your project's integrity by polluting 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 if your application is affected without needing to sign up.
If you have installed the additional_coral_z3n package, immediately uninstall it using the command: npm uninstall additional_coral_z3n and check for alternative packages.
Tools like npm audit and Vulert can help you monitor and alert for vulnerabilities in your npm packages, ensuring your project remains secure.