Critical Malicious Code Vulnerability in @hrmony/valuenet Package
Summary
MAL-2026-17281: Malicious code in @hrmony/valuenet (npm). Affects @hrmony/valuenet versions 1.99.0. 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 @hrmony/valuenet package is an npm library designed for various functionalities within JavaScript applications. However, it has been found to contain malicious code that compromises the security of systems where it is installed. This vulnerability allows attackers to harvest sensitive information from the environment and send it to a remote server.
Vulnerability Detail
The vulnerability originates from the package's main module, which auto-executes upon being required or imported. It sends sensitive installer-side secrets to a hardcoded attacker endpoint. The malicious code queries the AWS Instance Metadata Service, harvesting critical information such as instance identity, EC2 credentials, and user data. It also enumerates the entire process environment and reads Kubernetes secrets, transmitting all collected data to the attacker's server. This poses a severe risk as any system running this package is considered fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @hrmony/valuenet
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 measure, you can isolate your application from the network to prevent data exfiltration while you remove the package. Additionally, rotate all secrets and keys stored on the affected system from a secure environment.
Conclusion
The @hrmony/valuenet package contains a critical vulnerability that allows attackers to exfiltrate sensitive information. Immediate action is required to remove the package and secure your environment. Regular monitoring for vulnerabilities using tools like Vulert is recommended to maintain security.
See every vulnerability recorded for @hrmony/valuenet →
FAQ
You should immediately remove the package and rotate any secrets or keys stored on your system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
Currently, the best course of action is to remove the package. Check for any updates from the package maintainers for a patched version.
Failure to address this vulnerability can lead to unauthorized access to sensitive information, complete system compromise, and potential data breaches.
Exercise caution with other packages from the same author until they have been reviewed for security vulnerabilities.