Malicious Code Injection in dewi-kentang98-ruro Package
Summary
MAL-2025-101462: Malicious code in dewi-kentang98-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-kentang98-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter package metadata and republish variants to the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the dewi-kentang98-ruro package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names, thereby polluting the npm registry. The malicious payload can lead to unauthorized access and misuse of developer accounts, as well as the potential for further exploitation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewi-kentang98-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 dewi-kentang98-ruro package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The dewi-kentang98-ruro package has been identified as containing malicious code that can compromise the integrity of npm projects. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for dewi-kentang98-ruro →
FAQ
It is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications of your package metadata and potentially compromise your developer account.
You should uninstall the package immediately using 'npm uninstall dewi-kentang98-ruro' and check your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.