Malicious Code Injection in exceptional_mandrill_z3n Package
Summary
MAL-2025-102319: Malicious code in exceptional_mandrill_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 exceptional_mandrill_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish derivative versions to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the exceptional_mandrill_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 these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install 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 exceptional_mandrill_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 exceptional_mandrill_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The exceptional_mandrill_z3n package contains malicious code that poses significant risks to developers and their projects. It is essential to remove this package and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for exceptional_mandrill_z3n →
FAQ
The exceptional_mandrill_z3n package is an npm package that has been identified as malicious, associated with the tea.xyz token reward campaign.
The vulnerability can lead to the installation of compromised packages, which may alter your project's metadata and introduce security risks.
You should uninstall the exceptional_mandrill_z3n package immediately and monitor your project for any unusual behavior.
Yes, tools like Vulert can help monitor your project for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.