Malicious code in @hrmony/kit-1 (npm)
Exact source revision recorded 24 Oct 2026 13:17:17 UTC. It does not establish the source's current position. Latest evidence.
osv · MAL-2026-17264
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0a4084c44ab6554d66c474338de2cb482a25b31e6822d470e08b2b2ef5b1735a) The package executes credential-harvesting code both from its postinstall script (scripts/check-setup.mjs) and from its main entry (index.js), so theft fires on npm install and again on require/import even when lifecycle scripts are skipped. Both code paths query the EC2 Instance Metadata Service at 169.254.169.254 (IMDSv2 token flow) to retrieve instance identity, IAM role names, and the role's temporary security credentials; enumerate all of process.env; and recursively read /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets). The collected data is POSTed to https://hrmnmn.dd.h4x.tv/save_instance_info_hook and https://hrmnmn.dd.h4x.tv/save_instance_info_index. An additional unconditional beacon POST ({"c53":"hello"}) to the same host provides install/import telemetry. The h4x.tv destination has no relation to any declared publisher or purpose.
- Source published
- 29 Sep 2026 16:35:04 UTC
- Source modified
- 29 Sep 2026 17:00:07 UTC
- Observed 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
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · OSV · upstream source license applies. Source text is retained; field grouping and change labels are provided by ChangeIntel.