Advisory

MAL-2026-17282

Also known as: GHSA-r476-wfgx-8rc7

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @hrmony/hyper-json-builder (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

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/<role>, and POSTs the retrieved IAM role credentials to the same endpoint. The destination path embeds this package's own name, indicating targeted exfiltration keyed to installations of this package. The package.json also declares an unpinned dependency @hrmony/kit-5 ^1.0.0 under the same scope that is not imported by the shipped code.

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.

Severity

Not rated by the source.

Dates

Published
2026-09-29 17:22 UTC
Modified
2026-11-17 05:15 UTC

Affected packages and fixes

@hrmony/hyper-json-builder

npm · All systems

Affected

  • Versions: 1.99.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences