Malicious Code Injection in modirai-igono-jiagi Package: A Threat to npm Users
Summary
MAL-2025-160708: Malicious code in modirai-igono-jiagi (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-igono-jiagi 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through the creation of derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the modirai-igono-jiagi package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to pollute the npm registry by continuously republishing variants of the package, which can lead to confusion among developers and potential security risks as users may unknowingly install compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igono-jiagi
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 avoid using the modirai-igono-jiagi package and any packages that may have been published as part of this malicious campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The modirai-igono-jiagi package poses a significant threat to npm users due to its malicious behavior aimed at manipulating the npm registry. It is essential to remove this package from your projects and to remain vigilant about the packages you use. Regular audits and the use of monitoring tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for modirai-igono-jiagi →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and instability in your application.
You should uninstall the modirai-igono-jiagi package immediately and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access 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.