Malicious Code Injection in ocha-kue12-riris Package - npm Vulnerability
Summary
MAL-2025-88991: Malicious code in ocha-kue12-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 ocha-kue12-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through the creation of derivative packages.
Vulnerability Detail
The vulnerability originates from the ocha-kue12-riris package being involved in a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can compromise the integrity of applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-kue12-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 prevent the installation of the ocha-kue12-riris package by using npm's package-lock.json file to lock the dependencies. Additionally, consider using Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The ocha-kue12-riris package has been identified as a malicious package that poses a significant risk to applications using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for ocha-kue12-riris →
FAQ
The ocha-kue12-riris package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing malicious code.
You should remove the ocha-kue12-riris package from your project and monitor for any updates or patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.