MAL-2026-17251
Dashboard / Malicious Package / MAL-2026-17251
MAL-2026-17251
Summary: Malicious code in @hrmony/app-gateway-templates (npm)
Details: Source: amazon-inspector (c7d3f05113dd7daa9fac2da8187afecc751fafcf96449e7f4eb4a5d9a4878844) On require/import of @hrmony/app-gateway-templates, index.js (the package main) executes an exfiltration routine against a hardcoded attacker endpoint at https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_app-gateway-templates. The routine performs an AWS IMDSv2 token PUT against 169.254.169.254, then uses that token to read instance identity, IAM role security-credentials (temporary AWS access key, secret key, and session token), and network metadata. It also enumerates process.env in full and recursively reads /var/run/secrets/, which on Kubernetes pods contains mounted service-account tokens and application secrets. All collected data is POSTed to the same attacker endpoint. The package name is a one-character drop from `harmony` and declares a runtime dependency on `@hrmony/kit-5` in the same typosquat scope, so installing this package also pulls additional attacker-controlled code under the same scope. Source: ghsa-malware (492e67d0f61f5bb0ccbc153fd4ea19331d3122010eed723829aeeaeb5ebd262e) 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.
References: https://www.npmjs.com/package/@hrmony/app-gateway-templates/v/0.0.51, https://github.com/advisories/GHSA-52pw-jwv9-q65v
Affected packages
Package
Name: @hrmony/app-gateway-templates
Purl: pkg:npm/%40hrmony/app-gateway-templates
Affected ranges
Type: SEMVER
Events:
