Malicious Code Injection in modirai-igno-jimagif Package
Summary
MAL-2025-160678: Malicious code in modirai-igno-jimagif (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-igno-jimagif package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the modirai-igno-jimagif package stems from its inclusion in a malicious campaign that deploys autopublish scripts. These scripts are designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages. The origin of this vulnerability is linked to the exploitation of npm's publishing features, allowing attackers to create derivative packages that can mislead developers and users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igno-jimagif
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 prevent the installation of this package by using npm's package-lock.json to monitor dependencies. Ensure that your package-lock.json file does not include modirai-igno-jimagif. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The modirai-igno-jimagif package is compromised with malicious code that can affect your project's integrity. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities using tools like Vulert. Staying informed and proactive can help safeguard your applications from such threats.
See every vulnerability recorded for modirai-igno-jimagif →
FAQ
The modirai-igno-jimagif package is an npm package associated with a token reward campaign that has been compromised to include malicious code.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further attacks and pollution of the npm registry.
You should uninstall the modirai-igno-jimagif package immediately using the command npm uninstall modirai-igno-jimagif.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.