Malicious Code Injection in qori-empal91-riris Package
Summary
MAL-2025-89816: Malicious code in qori-empal91-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 qori-empal91-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security 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 is intended to inflate developer reputation scores through the automatic generation and republishing of numerous derivative packages. The ramifications include potential pollution of the npm registry and exploitation of developer accounts, leading to reputational damage and security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall qori-empal91-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 qori-empal91-riris package from your node_modules directory and package-lock.json file. This can be done using the following commands:
npm uninstall qori-empal91-riris
After uninstalling, ensure to run npm install to refresh your dependencies.
Conclusion
The qori-empal91-riris package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. Immediate action is required to remove this package and safeguard your projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for qori-empal91-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, affecting the integrity of your project.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the qori-empal91-riris package immediately and monitor your project for any unusual behavior.
It is advisable to keep an eye on the npm registry for any updates or patches for the qori-empal91-riris package.