Skip to main content
MalwarePublished

@hrmony/middlewares (npm) · Malicious Code

Affects @hrmony/middlewaresSource GCVE Database

0

Malicious package : remove @hrmony/middlewares and rotate any secrets on hosts that installed it.

Data as of 29 Sep 2026, 21:25 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17269

What to do

Remove @hrmony/middlewares 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

ProductAffectedFixed in
npm@hrmony/middlewaresAffected
  • =3.99.0
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/middlewares' is a malicious package designed to exfiltrate AWS instance metadata, IAM credentials, environment variables, and Kubernetes secrets to a hardcoded external server. It impersonates the legitimate '@harmony/middlewares' package by using a similar name. Installing or running this package compromises the host, potentially exposing all stored secrets and keys.

References

Community reviews

Loading reviews…