Malicious Code Injection in modirai-iginono-jaimagi Package
Summary
MAL-2025-160656: Malicious code in modirai-iginono-jaimagi (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-iginono-jaimagi package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package, like others in the campaign, is designed to manipulate npm's publishing system by generating derivative packages with randomized names. It aims to inflate developer reputation scores for token rewards, making it a target for malicious activities.
Vulnerability Detail
The vulnerability in the modirai-iginono-jaimagi package is rooted in its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly integrate malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-iginono-jaimagi
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 workaround, consider using alternative packages that provide similar functionality without the risk of malicious code. Always verify the integrity and reputation of packages before integrating them into your project.
Conclusion
The modirai-iginono-jaimagi package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for modirai-iginono-jaimagi →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating malicious derivatives.
It can lead to the introduction of malicious code, compromising the security and integrity of your application.
You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing your package-lock.json file. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using the command: npm uninstall modirai-iginono-jaimagi.
Yes, consider researching and using alternative packages that offer similar functionality without the associated risks.