Malicious Code Injection in citra-moci70-remi Package - npm Vulnerability
Summary
MAL-2025-100539: Malicious code in citra-moci70-remi (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 citra-moci70-remi package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to the proliferation of harmful code within the ecosystem.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the citra-moci70-remi package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially compromising the integrity of applications that depend on this package. The origin of this issue is linked to a token reward campaign that incentivizes the creation of such malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall citra-moci70-remi
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 citra-moci70-remi package and replace it with a trusted alternative. If you must use it, consider isolating it in a controlled environment where it cannot affect other parts of your application.
Conclusion
The citra-moci70-remi package poses a significant risk due to its malicious code designed to exploit the npm registry. It is essential to remove this package from your projects and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats in your open-source software.
See every vulnerability recorded for citra-moci70-remi →
FAQ
The citra-moci70-remi package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The malicious code can modify your package.json file, remove private flags, and republish harmful variants, potentially compromising your application's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the citra-moci70-remi package immediately using the command npm uninstall citra-moci70-remi and replace it with a secure alternative.
Currently, there are no patches available for the citra-moci70-remi package. The best course of action is to remove the package and avoid using it.