Malicious Code Injection in ogi-rangi71-ruro Package - npm Vulnerability
Summary
MAL-2025-106589: Malicious code in ogi-rangi71-ruro (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 ogi-rangi71-ruro package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts that generate and publish numerous variants of the original package.
Vulnerability Detail
The vulnerability originates from the ogi-rangi71-ruro package, which contains malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to significant reputational damage for developers and can compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-rangi71-ruro
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 this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include ogi-rangi71-ruro in its dependencies. You can also use the following command to uninstall it if it is already installed: npm uninstall ogi-rangi71-ruro.
Conclusion
The ogi-rangi71-ruro package poses a significant risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to be vigilant and remove any instances of this package from their projects to maintain the integrity of their applications.
See every vulnerability recorded for ogi-rangi71-ruro →
FAQ
The ogi-rangi71-ruro package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The malicious code modifies your package.json, removes private flags, and generates random package names, which can lead to reputational damage and compromise the integrity of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
You should uninstall the ogi-rangi71-ruro package immediately and monitor your dependencies for any other malicious packages.
Currently, there is no specific patch for the ogi-rangi71-ruro package. The best course of action is to remove the package from your project.