Malicious Code Injection in modirai-igno-jinagu Package
Summary
MAL-2025-160683: Malicious code in modirai-igno-jinagu (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-jinagu package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The package's primary function is to facilitate this process, but it has been compromised to include malicious code.
Vulnerability Detail
The vulnerability in the modirai-igno-jinagu package stems from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igno-jinagu
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, you can monitor your project's dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without needing to sign up. This allows you to stay informed about potential risks in your open-source dependencies.
Conclusion
The modirai-igno-jinagu package contains malicious code that poses a significant risk to developers and their applications. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for modirai-igno-jinagu →
FAQ
It is an npm package that is part of a campaign to inflate developer reputation scores by flooding the npm registry with malicious packages.
The vulnerability can lead to the installation of malicious code that modifies your package.json file and can compromise your application's security.
You should uninstall the modirai-igno-jinagu package immediately and check your project for any other potentially compromised packages.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.