Malicious Code Injection in modirai-igimamfo-jai Package
Summary
MAL-2025-160652: Malicious code in modirai-igimamfo-jai (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 modirai-igimamfo-jai package is part of the npm ecosystem, often used for various JavaScript applications. It has been identified as part of a campaign that floods npm with malicious packages aimed at inflating developer reputation scores through automated publishing of derivative packages. This package, like others in the campaign, is designed to manipulate its own metadata and publish variants that can clutter the npm registry.
Vulnerability Detail
The vulnerability in the modirai-igimamfo-jai package stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igimamfo-jai
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 measure, avoid using the modirai-igimamfo-jai package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The modirai-igimamfo-jai package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with harmful variants. It is essential for developers to remove this package and monitor their dependencies to maintain application security.
See every vulnerability recorded for modirai-igimamfo-jai →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should immediately remove the modirai-igimamfo-jai package from your project and replace it with a safer alternative.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to access the code or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.