Malicious Code Injection in dewi-gembus62-ruro: A Threat to npm Users
Summary
MAL-2025-101459: Malicious code in dewi-gembus62-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 'dewi-gembus62-ruro' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards related to the tea protocol, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'dewi-gembus62-ruro' originates from its inclusion in a malicious campaign that floods the npm registry with spammy packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewi-gembus62-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 affected package by checking your dependencies and ensuring that 'dewi-gembus62-ruro' is not included. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities. For example, you can check your application for vulnerabilities using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'dewi-gembus62-ruro' package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for dewi-gembus62-ruro →
FAQ
'dewi-gembus62-ruro' is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising security and functionality.
You should uninstall the package immediately using 'npm uninstall dewi-gembus62-ruro' and check your project for any other affected packages.
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 for vulnerabilities in your application without any signup.