MAL-2026-17265 Malicious code in @hrmony/kit-4 (npm)
Malicious package
Published
MAL-2026-17265 is a malicious package: @hrmony/kit-4 (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-17265/ (Markdown: https://insights.sbomify.com/MAL-2026-17265/index.md)
- Package
- @hrmony/kit-4
- Registry
- npm
What is MAL-2026-17265?
MAL-2026-17265 is a malicious package in @hrmony/kit-4, published on 29 Sep 2026.
Official description
The 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.
What should I do about MAL-2026-17265?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.