Malicious Code Injection in yuni-lodeh2-riris: A Threat to npm Ecosystem
Summary
MAL-2025-92711: Malicious code in yuni-lodeh2-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 yuni-lodeh2-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 designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in yuni-lodeh2-riris originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This can result in compromised developer accounts, loss of trust in the npm ecosystem, and potential exploitation of users who unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yuni-lodeh2-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 measure, you can avoid using the yuni-lodeh2-riris package until a patched version is released. Additionally, consider using the following command to audit your npm packages for vulnerabilities: 'npm audit'. This will help identify any other potential risks in your project.
Conclusion
The yuni-lodeh2-riris package poses a significant threat due to its malicious code designed to manipulate the npm registry. Users are advised to update their packages promptly and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive is key to maintaining a secure development environment.
See every vulnerability recorded for yuni-lodeh2-riris →
FAQ
yuni-lodeh2-riris is an npm package that has been identified as containing malicious code aimed at manipulating the npm registry.
The vulnerability can lead to the installation of malicious packages, compromising your project's integrity and potentially exposing sensitive data.
If you have installed yuni-lodeh2-riris, it is crucial to remove it from your project and update to a secure version if available.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.