Malicious Code Injection in double_ox_z3n Package - npm Vulnerability
Summary
MAL-2025-94101: Malicious code in double_ox_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 double_ox_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but it has been compromised to include malicious code.
Vulnerability Detail
The vulnerability in the double_ox_z3n package originates from its association with malicious autopublish scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This can result in a compromised development environment, potential data leaks, and a tarnished reputation for developers using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall double_ox_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 prevent the installation of the double_ox_z3n package by using the following command: npm uninstall double_ox_z3n. Additionally, consider using npm audit to identify other vulnerable packages in your project.
Conclusion
The double_ox_z3n package has been identified as containing malicious code that can compromise your project's integrity. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for double_ox_z3n →
FAQ
The double_ox_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further risks and polluting the npm registry.
You should uninstall the double_ox_z3n package immediately and check for any other vulnerabilities in your project using npm audit.
Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Absolutely! You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.