Malicious Code Vulnerability in zul-rangi6-riris Package
Summary
MAL-2025-93027: Malicious code in zul-rangi6-riris (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 zul-rangi6-riris 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. However, it has been identified as containing malicious code that compromises its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and their projects. The malicious scripts included in the package are designed to automate these processes, making it difficult for developers to detect the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall zul-rangi6-riris
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 manually delete the zul-rangi6-riris package from your project by running: npm uninstall zul-rangi6-riris. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The zul-rangi6-riris package contains a serious vulnerability due to its malicious code that modifies package files and repopulates the npm registry with compromised packages. It is crucial to remove this package from your project and monitor for any further vulnerabilities using tools like Vulert.
See every vulnerability recorded for zul-rangi6-riris →
FAQ
The zul-rangi6-riris package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
If you have installed the zul-rangi6-riris package, you should uninstall it immediately and monitor your project for any further vulnerabilities.
Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using your package-lock.json file, alerting you to any issues.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.