Malicious code in @hrmony/hyper-json-builder (npm)
MAL-2026-17282 · GHSA-r476-wfgx-8rc7
Published · Modified
Dependency scanning
Check whether @hrmony/hyper-json-builder 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 (d8139053048172994cadd0251ef74e5104c489dcb4f0448153ea9342b3feb707)
On module load, index.js performs top-level fetch to a hardcoded attacker-controlled endpoint at https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_hyper-json-builder and triggers two credential-harvest routines. The first enumerates all entries of process.env and recursively reads /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets), then POSTs the combined payload to that endpoint. The second obtains an IMDSv2 token against 169.254.169.254, queries EC2 instance metadata paths including identity-credentials/ec2/security-credentials and iam/security-credentials/
Source: ghsa-malware (08fe204e5637fe696905f683edb7cba0c44df4ca14cbd809b3884f149d5dd90a)
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