Malicious Code Detected in vida-lapis18-riris: A Threat to npm Ecosystem
Summary
MAL-2025-91808: Malicious code in vida-lapis18-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 vida-lapis18-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 has led to the proliferation of malicious packages. It is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages, which can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in vida-lapis18-riris stems from its association with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This not only affects the reputation of legitimate developers but also poses security risks to users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-lapis18-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 remove the vida-lapis18-riris package from your project by executing: npm uninstall vida-lapis18-riris. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The vida-lapis18-riris package poses a significant risk due to its malicious behavior aimed at manipulating the npm ecosystem. It is crucial for developers to remain vigilant, update their dependencies, and utilize monitoring tools to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for vida-lapis18-riris →
FAQ
vida-lapis18-riris is an npm package that has been linked to a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of malicious packages, which may compromise your project's security and integrity, potentially exposing sensitive data or introducing further vulnerabilities.
If you have installed vida-lapis18-riris, it is recommended to uninstall it immediately and check for any other affected packages in your project.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
To prevent future vulnerabilities, regularly update your packages, utilize tools like Vulert for monitoring, and audit your dependencies for any known issues.