Malicious Code Injection in dewi-liwet52-ruro Package
Summary
MAL-2025-101471: Malicious code in dewi-liwet52-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-liwet52-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 this package is to facilitate the automatic generation and publication of derivative packages, often with randomized names, to manipulate developer reputation scores for token rewards. This behavior poses significant risks to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the dewi-liwet52-ruro package stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to a compromised development environment, where developers inadvertently install malicious packages, risking their applications and data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewi-liwet52-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 manually check your package-lock.json file for any references to dewi-liwet52-ruro and remove it. You can also use the following command to uninstall the package: npm uninstall dewi-liwet52-ruro.
Conclusion
The dewi-liwet52-ruro package contains malicious code that poses a significant risk to developers and their applications. It is crucial to remove this package from your project and monitor for any similar vulnerabilities in the future. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for dewi-liwet52-ruro →
FAQ
The dewi-liwet52-ruro package is an npm package associated with a token reward campaign that has been found to contain malicious code.
This vulnerability can lead to the installation of malicious packages, potentially compromising your application's security and integrity.
You should uninstall the dewi-liwet52-ruro package immediately to mitigate any risks associated with its malicious code.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.