Malicious Code Injection in citra-donat18-ruro Package
Summary
MAL-2025-100512: Malicious code in citra-donat18-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 citra-donat18-ruro package is part of the npm ecosystem, often used for various JavaScript applications. It has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate package metadata and publish numerous variants to inflate developer reputation scores.
Vulnerability Detail
The vulnerability stems from the package being involved in a token reward campaign that utilizes malicious 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 implications include potential security risks for developers who unknowingly use these compromised packages, as they may inadvertently expose their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall citra-donat18-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 the citra-donat18-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall citra-donat18-ruro.
Conclusion
The citra-donat18-ruro package poses significant risks due to its malicious nature, which alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for citra-donat18-ruro →
FAQ
citra-donat18-ruro is an npm package that has been identified as part of a malicious campaign to manipulate package metadata.
Using this package can lead to security risks, including exposure to further vulnerabilities and pollution of the npm registry.
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.
It is advisable to remove the package immediately and look for alternatives. Ensure to audit your application for any other potential vulnerabilities.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.