Malicious Code Injection in ocha-lupis64-riris: npm Package Vulnerability
Summary
MAL-2025-89003: Malicious code in ocha-lupis64-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-lupis64-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is designed to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in ocha-lupis64-riris stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been identified as a source of numerous malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-lupis64-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 ocha-lupis64-riris package from your project by executing the command: 'npm uninstall ocha-lupis64-riris'. This will prevent any malicious scripts from executing until a patch is available.
Conclusion
The ocha-lupis64-riris package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications. Regularly updating packages and utilizing monitoring tools like Vulert can help mitigate these risks.
See every vulnerability recorded for ocha-lupis64-riris →
FAQ
The ocha-lupis64-riris package is an npm package that is part of a malicious campaign to flood the npm registry with derivative packages.
This vulnerability can lead to the injection of malicious code into your project, potentially compromising its security and integrity.
If you have installed the ocha-lupis64-riris package, it is recommended to uninstall it immediately and monitor your project for any unusual behavior.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.