Malicious Code Injection in umi-lapis95-riris: A Threat to npm Ecosystem
Summary
MAL-2025-91458: Malicious code in umi-lapis95-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 umi-lapis95-riris is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that exploits npm's publishing capabilities. It is designed to automatically generate and publish derivative packages, which can lead to a polluted registry and inflated developer reputation scores.
Vulnerability Detail
The vulnerability in umi-lapis95-riris originates from its association with the tea.xyz token reward campaign. The package contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the proliferation of unauthorized packages in the npm registry, potentially compromising the integrity of the ecosystem and affecting developers who rely on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall umi-lapis95-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 this package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The umi-lapis95-riris package poses a significant threat due to its malicious code that can compromise the npm ecosystem. It is crucial for developers to remove this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for umi-lapis95-riris →
FAQ
umi-lapis95-riris is an npm package that has been identified as containing malicious code aimed at exploiting the npm registry.
This vulnerability can lead to unauthorized package proliferation, potentially compromising your application's dependencies and security.
If you have installed umi-lapis95-riris, it is advisable to remove it immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application at Vulert Scanner.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about vulnerabilities in the packages you use.