Malicious Code Injection in dewi-rujak97-ruro Package - npm Vulnerability Overview
Summary
MAL-2025-101485: Malicious code in dewi-rujak97-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 dewi-rujak97-ruro package is part of the npm ecosystem, primarily used for JavaScript development. It has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the dewi-rujak97-ruro package. It modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of data integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewi-rujak97-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 workaround, you can uninstall the affected package using the command: npm uninstall dewi-rujak97-ruro. Additionally, you can monitor your project for vulnerabilities using Vulert, which analyzes your package-lock.json to alert you in real-time for open-source vulnerabilities.
Conclusion
The dewi-rujak97-ruro package poses a significant risk due to its malicious code that alters project files and inflates npm registry entries. It is crucial for developers to remove this package and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for dewi-rujak97-ruro →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The malicious code modifies your package.json, potentially leading to security vulnerabilities and the pollution of the npm registry.
You should uninstall the package immediately and check for any potential security issues in your project.
Yes, you can use Vulert to monitor your package-lock.json for real-time alerts on open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.