Malicious Code Injection in modirai-igo-jai Package
Summary
MAL-2025-160701: Malicious code in modirai-igo-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-igo-jai package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability in the modirai-igo-jai package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of control over their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igo-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 workaround, you can remove the modirai-igo-jai package from your project by executing 'npm uninstall modirai-igo-jai'. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The modirai-igo-jai package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to take immediate action by updating or uninstalling the package to safeguard your projects. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for modirai-igo-jai →
FAQ
The modirai-igo-jai package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your application to security risks and affecting its integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.
If an immediate update is not possible, consider uninstalling the package as a temporary measure to mitigate risks until a secure version is available.
You can visit the Vulert website for real-time monitoring and alerts regarding open-source vulnerabilities in your software.