Malicious Code Injection in hendra-mie31-ruro Package
Summary
MAL-2025-103677: Malicious code in hendra-mie31-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 hendra-mie31-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, its malicious nature poses significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in the hendra-mie31-ruro package originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, contributing to the pollution of the npm registry. This behavior can lead to unauthorized access and manipulation of projects that depend on this package, potentially compromising the integrity of applications and exposing them to further attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-mie31-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 hendra-mie31-ruro package and replace it with a trusted alternative. Ensure that your package-lock.json file is monitored for any vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities without requiring code access or installation. You can also check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The hendra-mie31-ruro package poses a significant security risk due to its malicious code that modifies project files and publishes unauthorized packages. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive is key to maintaining the security of your applications.
See every vulnerability recorded for hendra-mie31-ruro →
FAQ
The hendra-mie31-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the hendra-mie31-ruro package immediately and check for any other affected packages in your project.
You can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to install any software.
There is no patch for the hendra-mie31-ruro package itself; the best course of action is to remove it and replace it with a secure alternative.