Malicious Code Injection in modirai-igo-jaii: A Threat to npm Users
Summary
MAL-2025-160703: Malicious code in modirai-igo-jaii (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
modirai-igo-jaii is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores by flooding the npm registry with derivative packages. The malicious behavior of this package includes the automatic generation and publication of variants with altered metadata, which can lead to significant pollution of the npm registry and potential security risks for users.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file. These modifications remove private flags, change version numbers, and generate random package names, which can lead to the proliferation of malicious packages in the npm registry. The ramifications include the potential for developers to unknowingly install compromised packages, leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igo-jaii
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 modirai-igo-jaii package from your project by executing: npm uninstall modirai-igo-jaii. This will prevent any potential malicious behavior associated with the package until a fix is applied.
Conclusion
The modirai-igo-jaii package poses a significant security risk due to its malicious code designed to manipulate package metadata and flood the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for modirai-igo-jaii →
FAQ
modirai-igo-jaii is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
If you have installed modirai-igo-jaii, it is recommended to uninstall it immediately and update your dependencies to ensure your project is secure.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly updating your dependencies, using tools to monitor for vulnerabilities, and reviewing package sources can help prevent similar issues in the future.