Malicious Code Injection in hadi-mangut96-ruro Package
Summary
MAL-2025-103454: Malicious code in hadi-mangut96-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-mangut96-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 identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the hadi-mangut96-ruro package originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hadi-mangut96-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 hadi-mangut96-ruro package and replace it with a trusted alternative. Regularly monitor your package-lock.json file for any unauthorized changes or additions.
Conclusion
The hadi-mangut96-ruro package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package and monitor your dependencies for any vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for hadi-mangut96-ruro →
FAQ
The hadi-mangut96-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can compromise your project's integrity by introducing malicious code that modifies your package.json and pollutes the npm registry.
You should uninstall the hadi-mangut96-ruro package immediately and check your project for any unauthorized changes.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.