Malicious Code Injection in modira-fuhopia-janis: A Threat to npm Packages
Summary
MAL-2025-160581: Malicious code in modira-fuhopia-janis (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
modira-fuhopia-janis is an npm package that appears to be part of a larger malicious campaign targeting the npm ecosystem. It is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior compromises the integrity of the npm registry and can lead to further exploitation.
Vulnerability Detail
The vulnerability in modira-fuhopia-janis originates from its association with the tea.xyz token reward campaign. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This malicious activity leads to the continuous republishing of variants, polluting the npm registry and potentially allowing attackers to execute harmful code in environments that utilize these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modira-fuhopia-janis
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 measure, you can avoid using modira-fuhopia-janis and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The modira-fuhopia-janis package poses a significant security risk due to its malicious code that modifies package configurations and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security.
See every vulnerability recorded for modira-fuhopia-janis →
FAQ
modira-fuhopia-janis is an npm package involved in a malicious campaign that generates and publishes derivative packages to inflate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should remove the modira-fuhopia-janis package from your project and monitor for any updates or patches that may be released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.