# MAL-2026-17266: Malicious code in @hrmony/kit-5 (npm)


- **Type:** Malicious package
- **Package:** `@hrmony/kit-5` (npm)
- **Published:** 29 Sep 2026
- **Also known as:** GHSA-96c4-q73c-c32q

## What is MAL-2026-17266?

MAL-2026-17266 is a malicious package in @hrmony/kit-5, published on 29 Sep 2026. 

### Official description

The package's preinstall script and its main entry (index.js) both perform identical credential-harvesting: they query the EC2 Instance Metadata Service (IMDSv2) at 169.254.169.254 for the identity document and IAM role security credentials, enumerate the entire process.env, and recursively read /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets). The collected data is POSTed to a hardcoded attacker-controlled host at hrnmn.dd.h4x.tv (paths /save_instance_info_hook from preinstall and /save_instance_info_index from index.js). The destination is unrelated to any legitimate package purpose, there is no user configuration, and the behavior fires automatically on `npm install` via the preinstall lifecycle hook as well as on any `require()`/`import` of the package. The harvested material — temporary AWS IAM credentials, cloud instance identity, arbitrary environment variables (which routinely contain API keys, tokens, and database credentials in CI/build environments), and Kubernetes service-account tokens — grants immediate cross-service access to the installer's cloud and cluster resources.

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.

## What should I do about MAL-2026-17266?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-17266 is a malicious package: @hrmony/kit-5 (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-17266/ (Markdown: https://insights.sbomify.com/MAL-2026-17266/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-17266

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-17266/
Summaries are generated and may contain mistakes; the official description above is the record.
