Malicious Code Injection in citra-naget21-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-100543: Malicious code in citra-naget21-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-naget21-ruro' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to a token reward campaign that has been identified as malicious. Its primary function is to facilitate the distribution of JavaScript libraries, but it has been compromised to include harmful scripts that manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in 'citra-naget21-ruro' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The ramifications include reputational damage to developers and the risk of introducing further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall citra-naget21-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 prevent the installation of this malicious package by using npm's audit feature to identify and remove vulnerable packages. Run 'npm audit' to check for vulnerabilities and follow the recommended actions to mitigate risks.
Conclusion
The 'citra-naget21-ruro' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for citra-naget21-ruro →
FAQ
The main issue is that it contains malicious code that modifies package metadata and floods the npm registry with derivative packages.
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 package immediately using 'npm uninstall citra-naget21-ruro' and check for any other affected packages.
Yes, using this package can lead to reputational damage, potential data breaches, and the introduction of further vulnerabilities into your project.
Regularly audit your dependencies using 'npm audit', keep your packages updated, and monitor for vulnerabilities using tools like Vulert.