Malicious code in @hrmony/devtool-configuration (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-17260
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f83cb569df9c47639ee0fd16c34a4ac1b97b89733b1b468389d8032087ab233b) On import, index.js performs an unconditional POST beacon to https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_devtool-configuration, then queries the AWS EC2 IMDSv2 endpoint (169.254.169.254) to collect the instance identity document, user-data, network/instance metadata, and IAM security-credentials (including access key, secret key, and session token) for every attached role, and POSTs the collected JSON to the same attacker host. It additionally enumerates process.env in full and recursively reads /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets), sending both to the same endpoint. The destination host is unrelated to any AWS, Kubernetes, or npm publisher domain, and collection fires at module load with no caller opt-in. ## Source: ghsa-malware (7ed4ffc5156a0dbadb808bbee9d2de33232ef0814021affaf7dcecf347025caf) 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.
- Source published
- 29 Sep 2026 16:29:48 UTC
- Source modified
- 29 Sep 2026 17:30:14 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.