Malicious Code Injection in hadianto-menjes89-ruro Package
Summary
MAL-2025-103497: Malicious code in hadianto-menjes89-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 hadianto-menjes89-ruro package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the hadianto-menjes89-ruro package stems from its malicious code, which modifies the package.json file to remove private flags and alter version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, inflated reputation scores, and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hadianto-menjes89-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 prevent the installation of this malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include hadianto-menjes89-ruro or any of its derivatives. You can also use the following command to uninstall the package: npm uninstall hadianto-menjes89-ruro.
Conclusion
The hadianto-menjes89-ruro package contains malicious code that poses significant risks to developers and their projects. It is crucial to take immediate action by updating or removing the package to safeguard your development environment. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for hadianto-menjes89-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating and publishing malicious derivative packages.
The vulnerability can compromise your development environment by introducing malicious code that modifies your package.json and inflates reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If no patched version is available, consider removing the package from your project and replacing it with a safer alternative.
Regularly audit your dependencies, use tools like Vulert to monitor vulnerabilities, and only install packages from trusted sources.