Malicious Code Injection in qori-kue8-riris: A Threat to npm Ecosystem
Summary
MAL-2025-89837: Malicious code in qori-kue8-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 package qori-kue8-riris is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish numerous derivative packages to inflate developer reputation scores. The presence of such malicious packages poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in qori-kue8-riris originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security breaches, loss of trust in the npm ecosystem, and the risk of developers inadvertently using compromised packages in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall qori-kue8-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 avoid using the qori-kue8-riris package and monitor your dependencies for any malicious activity. Regularly audit your npm packages using the command: npm audit to identify vulnerabilities.
Conclusion
The qori-kue8-riris package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and repopulates the registry with compromised versions. It is crucial for developers to take immediate action to remove this package and monitor their dependencies for any vulnerabilities.
See every vulnerability recorded for qori-kue8-riris →
FAQ
qori-kue8-riris is an npm package associated with a token reward campaign that has been identified as malicious due to its scripts that manipulate package metadata.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the qori-kue8-riris package immediately and check your project for any other potentially compromised packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.