Malicious code in @hrmony/valuenet (npm)
MAL-2026-17281 · GHSA-5958-mpfq-wfrj
Published · Modified
Dependency scanning
Check whether @hrmony/valuenet is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (9a6f054c1d690a418a5d18f7d88883085468cc0bdfab8c604e69a82633d2de72)
On require/import, the main module of @hrmony/valuenet auto-executes and POSTs installer-side secrets to the hardcoded attacker endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_valuenet. It queries the AWS Instance Metadata Service at 169.254.169.254 using IMDSv2, harvesting instance identity, EC2 identity credentials, temporary IAM role security-credentials, network-interface data, and user-data. It enumerates the entire process.env object. It recursively reads /var/run/secrets/, the mount point for Kubernetes-projected service-account tokens and secret volumes. All three payloads are transmitted to the attacker-controlled host. The package name and endpoint path (pkge_hrmony_valuenet) are consistent with a dependency-confusion probe targeting an internal @hrmony/* scope.
Source: ghsa-malware (3acfdc62bae15bf50db3d6b1b614cb2d996b99842e58ad256ee85c7975b75b70)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes