Malicious Code Injection in citra-miemee27-ruro: A Threat to npm Packages
Summary
MAL-2025-100538: Malicious code in citra-miemee27-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-miemee27-ruro' is part of a malicious campaign targeting npm, primarily associated with the tea.xyz token reward initiative. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. The intent behind this is to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'citra-miemee27-ruro' stems from its inclusion in a malicious package set that modifies the package.json file to remove private flags, alters version numbers, and creates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the security and reliability of dependent applications. The malicious payload can also facilitate further exploitation by allowing unauthorized access to sensitive data or enabling the execution of harmful scripts.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall citra-miemee27-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 measure, you can avoid using the 'citra-miemee27-ruro' package and monitor your project for any dependencies that may inadvertently include it. Additionally, consider using tools like Vulert to monitor your package-lock.json 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-miemee27-ruro' package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is essential to remove this package and monitor your dependencies to maintain the security of your applications. Utilizing tools like Vulert can help you stay informed about potential vulnerabilities in your project.
See every vulnerability recorded for citra-miemee27-ruro →
FAQ
It is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
The vulnerability can lead to the injection of malicious code, compromising the security and integrity of your application.
You should remove the 'citra-miemee27-ruro' package and monitor your dependencies for any potential vulnerabilities.
Yes, regularly update your dependencies, use tools like Vulert for monitoring, and stay informed about security advisories.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.