Malicious Code Injection in hendra-sate50-ruro: A Threat to npm Packages
Summary
MAL-2025-103695: Malicious code in hendra-sate50-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-sate50-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate developer reputation scores by generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the hendra-sate50-ruro package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-sate50-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, consider removing the hendra-sate50-ruro package from your project until a secure version is released. You can do this by executing: npm uninstall hendra-sate50-ruro. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The hendra-sate50-ruro package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to stay vigilant, update their packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for hendra-sate50-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating malicious derivatives.
The code modifies your package.json, potentially leading to security vulnerabilities and reputation damage.
You should uninstall the package immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without signing up.