Malicious Code Injection in modirai-igono-jimaagi: A Threat to npm Packages
Summary
MAL-2025-160712: Malicious code in modirai-igono-jimaagi (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-igono-jimaagi is an npm package that appears to be part of a larger scheme 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 integrity of the npm registry.
Vulnerability Detail
The vulnerability in modirai-igono-jimaagi stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, effectively polluting the npm registry. The origin of this issue is linked to the broader exploitation of npm packages for fraudulent activities, particularly in the context of the tea protocol token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igono-jimaagi
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 modirai-igono-jimaagi in your project until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The modirai-igono-jimaagi package poses a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for modirai-igono-jimaagi →
FAQ
modirai-igono-jimaagi is an npm package involved in the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to the modification of your package.json file and the introduction of unwanted packages, potentially compromising your project's integrity.
You should uninstall the package immediately using 'npm uninstall modirai-igono-jimaagi' to mitigate any risks.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.