Malicious Code Injection in hadi-oncom23-ruro Package: A Threat to npm Ecosystem
Summary
MAL-2025-103462: Malicious code in hadi-oncom23-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 hadi-oncom23-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to a token reward campaign that has been associated with malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised by the presence of malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability in the hadi-oncom23-ruro package originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hadi-oncom23-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, avoid using the hadi-oncom23-ruro package and monitor your project for any dependencies that may have inadvertently included it. Regularly check your package-lock.json file for any suspicious packages.
Conclusion
The hadi-oncom23-ruro package presents a significant risk due to its malicious code injection capabilities. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help in monitoring and ensuring the security of your applications.
See every vulnerability recorded for hadi-oncom23-ruro →
FAQ
The hadi-oncom23-ruro package is an npm package associated with a token reward campaign that has been linked to malicious activities.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and affecting your reputation as a developer.
You should uninstall the hadi-oncom23-ruro package immediately and check for any other dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file 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 any signup.