Malicious Code Injection in riana-jus64-riris Package - npm Vulnerability
Summary
MAL-2025-89983: Malicious code in riana-jus64-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 riana-jus64-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 are often used to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that modify package metadata and republish variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the riana-jus64-riris package. This code is designed to alter the package.json file by removing private flags, changing version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riana-jus64-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 riana-jus64-riris package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file is regularly audited for any unauthorized changes.
Conclusion
The riana-jus64-riris package contains malicious code that poses a significant risk to developers using it. Immediate action is required to remove this package and prevent further issues. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities in your projects effectively.
See every vulnerability recorded for riana-jus64-riris →
FAQ
The riana-jus64-riris package is an npm package involved in a token reward campaign that automates the generation of derivative packages.
The malicious code modifies your package.json file and can lead to the publication of unauthorized package variants, potentially compromising your project's integrity.
You should uninstall the riana-jus64-riris package immediately and check your project for any unauthorized changes.
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.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories for the packages you use.