Malicious Code Injection in dewi-menjes47-ruro Package: A Threat to npm Ecosystem
Summary
MAL-2025-101474: Malicious code in dewi-menjes47-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-menjes47-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to inflate developer reputation scores through automated publishing of derivative packages, often leading to a polluted npm registry.
Vulnerability Detail
The vulnerability in the dewi-menjes47-ruro package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to the proliferation of harmful packages in the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages. The ramifications include potential security risks for developers who unknowingly install these packages, as they may inadvertently introduce vulnerabilities into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewi-menjes47-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 avoid using the dewi-menjes47-ruro package altogether. If you need similar functionality, consider using well-known and trusted packages that do not have a history of malicious behavior. Always review package dependencies and their source before installation.
Conclusion
The dewi-menjes47-ruro package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and proliferates harmful variants. It is essential for developers to be vigilant, remove such packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for dewi-menjes47-ruro →
FAQ
The dewi-menjes47-ruro package is an npm package associated with a token reward campaign that has been identified as malicious.
The malicious code modifies your package.json file, potentially leading to the installation of harmful packages and security vulnerabilities.
You should uninstall the dewi-menjes47-ruro package immediately and update your project dependencies.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.