Malicious Code Injection in modirai-igno-jnagu Package
Summary
MAL-2025-160697: Malicious code in modirai-igno-jnagu (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-jnagu package is part of the npm ecosystem and is 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. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the modirai-igno-jnagu package stems from its inclusion in a malicious campaign that employs scripts to alter package.json files. These scripts remove private flags, change version numbers, and generate random package names, leading to pollution of the npm registry. The malicious payload can potentially harm developers by affecting their reputation and the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modirai-igno-jnagu
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-igno-jnagu package altogether. If it is already in use, consider replacing it with a trusted alternative that does not exhibit malicious behavior. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The modirai-igno-jnagu package poses a significant risk due to its malicious code that alters package metadata. It is crucial to remove this package and monitor your dependencies to maintain the integrity of your projects. Utilizing tools like Vulert can help you stay informed about potential vulnerabilities.
See every vulnerability recorded for modirai-igno-jnagu →
FAQ
The modirai-igno-jnagu package is an npm package associated with a token reward campaign that has been identified as malicious.
The malicious code modifies your package.json file, potentially removing important flags and altering version numbers, which can lead to issues in your project and affect your reputation.
You should uninstall the modirai-igno-jnagu package immediately using the command: npm uninstall modirai-igno-jnagu.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just your package-lock.json file. You can check for vulnerabilities in your application using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and ensure you only install packages from trusted sources.