Malicious Code Injection in hendra-sego58-ruro Package
Summary
MAL-2025-103696: Malicious code in hendra-sego58-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-sego58-ruro package is part of the npm ecosystem and appears to be associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised by malicious code that alters its configuration and behavior.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the hendra-sego58-ruro package. This payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. It continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers' reputation scores. The ramifications include unauthorized access to sensitive information and the risk of further malicious activities within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-sego58-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 hendra-sego58-ruro package and consider using alternative packages that provide similar functionality without the associated risks. Regularly monitor your package dependencies for any updates or vulnerabilities.
Conclusion
The hendra-sego58-ruro package contains malicious code that poses significant risks to developers and their projects. Immediate action is required to remove the package and prevent further exploitation. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for hendra-sego58-ruro →
FAQ
The hendra-sego58-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, removes private flags, and can lead to unauthorized package republishing, potentially compromising your project's integrity.
You should uninstall the hendra-sego58-ruro package immediately and monitor your project for any other vulnerabilities.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, keep them updated, and use tools like Vulert to monitor for vulnerabilities in your open-source packages.