@hrmony/api-gateway-service-config (npm) · Malicious Code
Affects @hrmony/api-gateway-service-configSource GCVE Database
Malicious package : remove @hrmony/api-gateway-service-config and rotate any secrets on hosts that installed it.
Data as of 29 Sep 2026, 21:26 UTC
Malicious package
Published to npm · OSV MAL-2026-17250
What to do
Remove @hrmony/api-gateway-service-config from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@hrmony/api-gateway-service-config | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package @hrmony/api-gateway-service-config (version 0.99.0) contains malicious code that, upon import, steals cloud IAM credentials and Kubernetes secrets from the host. It fetches AWS IMDSv2 tokens, instance metadata, environment variables, and secrets, then exfiltrates this data to a hardcoded attacker endpoint. The package also depends on an unpublished scoped package, indicating a dependency confusion attack. Installing or running this package compromises the host, requiring immediate secret rotation and package removal.