Malicious Code Injection in citra-moci8-ruro: A Threat to npm Packages
Summary
MAL-2025-100540: Malicious code in citra-moci8-ruro (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 package 'citra-moci8-ruro' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts. These scripts are designed to manipulate package metadata and inflate developer reputation scores by generating numerous derivative packages with randomized names.
Vulnerability Detail
The vulnerability in 'citra-moci8-ruro' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and creates random package names. This behavior not only compromises the integrity of the affected package but also pollutes the npm registry, potentially leading to security risks for developers who unknowingly use these compromised packages. The malicious payload is executed through autopublish scripts that continuously republish variants of the package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall citra-moci8-ruro
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 'citra-moci8-ruro' and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your dependencies 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 'citra-moci8-ruro' package poses a significant risk due to its malicious code designed to manipulate npm package metadata. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your application.
See every vulnerability recorded for citra-moci8-ruro →
FAQ
'citra-moci8-ruro' is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the injection of malicious code, compromising your application's security and potentially affecting its functionality.
You should remove the package immediately and monitor your application for any unusual behavior. Consider using Vulert to check for other vulnerabilities.
Yes, tools like Vulert can help monitor your dependencies for open-source vulnerabilities in real-time.
Regularly update your packages, use tools like Vulert for monitoring, and review package sources before installation.