Malicious Code Injection in modirai-igimamafo-jagi Package
Summary
MAL-2025-160649: Malicious code in modirai-igimamafo-jagi (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-igimamafo-jagi package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate npm's package management system for malicious purposes, including inflating developer reputation scores.
Vulnerability Detail
The vulnerability in the modirai-igimamafo-jagi package stems from its inclusion in a malicious campaign that employs autopublish scripts to generate and publish derivative packages with randomized names. This behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to pollution of the npm registry and potential security risks for developers relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igimamafo-jagi
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-igimamafo-jagi package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities.
Conclusion
The modirai-igimamafo-jagi package poses significant risks due to its malicious behavior associated with the tea.xyz token reward campaign. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for modirai-igimamafo-jagi →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for malicious activities.
It can lead to the pollution of the npm registry and may compromise the security of your project by introducing untrusted packages.
You should uninstall the package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without signing up.