Malicious Code Injection in partial_urial_z3n Package
Summary
MAL-2025-122446: Malicious code in partial_urial_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 partial_urial_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, which can inflate developer reputation scores for token rewards. However, its functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the partial_urial_z3n package stems from malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are then continuously republished to pollute the npm registry. The origin of this vulnerability is linked to a campaign that aims to exploit npm's publishing mechanisms, potentially leading to reputational damage for developers and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall partial_urial_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 partial_urial_z3n package in your projects. Regularly audit your dependencies to ensure no malicious packages are included. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The partial_urial_z3n package contains malicious code that poses a significant risk to developers and the npm ecosystem. Immediate action is required to remove the package and prevent further exploitation. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities in your projects.
See every vulnerability recorded for partial_urial_z3n →
FAQ
The partial_urial_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the publication of unwanted packages, potentially harming your project's reputation.
You should uninstall the partial_urial_z3n package immediately using 'npm uninstall partial_urial_z3n' and check for any other affected packages.
Regularly audit your dependencies and use tools like Vulert to monitor your package-lock.json for vulnerabilities without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.