Malicious Code Injection in qori-rangi57-ruro Package: A Threat to npm Users
Summary
MAL-2025-107601: Malicious code in qori-rangi57-ruro (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 qori-rangi57-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate developer reputation scores through the automatic generation and publication of derivative packages, often with randomized names.
Vulnerability Detail
The vulnerability in the qori-rangi57-ruro package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly install these malicious 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 qori-rangi57-ruro
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
Currently, there are no specific workarounds to mitigate the effects of this vulnerability other than removing the affected package. It is advisable to monitor your package dependencies closely and avoid installing packages from untrusted sources.
Conclusion
The qori-rangi57-ruro package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata. It is essential for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Immediate action is required to uninstall any affected packages to safeguard your applications.
See every vulnerability recorded for qori-rangi57-ruro →
FAQ
The qori-rangi57-ruro package is an npm package linked to a token reward campaign that has been identified as malicious.
This vulnerability can lead to the installation of malicious code that alters your package.json file, potentially compromising your application's security.
If you have installed the qori-rangi57-ruro package, you should uninstall it immediately using the command npm uninstall qori-rangi57-ruro.
To prevent similar vulnerabilities, always review package sources, avoid installing unverified packages, and regularly update your dependencies.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.