{"id":"MAL-2026-17265","revision":"129092661cba4c46860c9fef54d4bde3","records":[{"revision":"129092661cba4c46860c9fef54d4bde3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17265","aliases":[],"title":"Malicious code in @hrmony/kit-4 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cb6ac778d35433101385eb57755b6079e76c7bb3dc40306218cf5b1295d5a853)\nThe package runs credential-harvesting code both at install time and at import time. The declared preinstall hook scripts/check-setup.mjs queries the AWS EC2 instance metadata service (IMDSv2 at 169.254.169.254) to retrieve the host's IAM role credentials, enumerates the full process.env, and recursively reads /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets), then POSTs the collected data to https://hrnmn.dd.h4x.tv/save_instance_info_hook. The package main (index.js) contains the same collector and executes it via top-level await on require/import, POSTing to https://hrnmn.dd.h4x.tv/save_instance_info_index. Both entrypoints unconditionally beacon to hrnmn.dd.h4x.tv before credential collection. The destination is a hardcoded non-first-party host on the h4x.tv TLD, unrelated to any declared publisher domain. Installing or importing this package on an EC2 host or in a Kubernetes pod yields AWS IAM role credentials and cluster service-account tokens to the operator of hrnmn.dd.h4x.tv.\n","state":0,"publishedAt":"2026-09-29T16:34:43+00:00","modifiedAt":"2026-09-29T17:00:08.1485682+00:00","affected":[{"ecosystem":"npm","name":"@hrmony/kit-4","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@hrmony/kit-4/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17265","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17265","identifiers":["MAL-2026-17265"]},"retained":false,"historicalAffected":[]}],"coverage":[]}