Skip to content
Heist/ feed
Unrated

Malicious code in @hrmony/account-management (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (67b699bc4a206505ba0cf224888996e37fe00dff5ffb737e3b95b9fd139b910f) The main module executes on require/import via a top-level await. It queries the AWS IMDSv2 metadata service at 169.254.169.254 to retrieve instance identity, IAM role temporary credentials, user-data, and network information; enumerates all of process.env; and recursively reads Kubernetes-mounted secrets from /var/run/secrets/. The collected data is POSTed to the hardcoded attacker-controlled endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_account-management. The package name uses a private-looking scope (@hrmony) and declares an unpinned dependency on @hrmony/kit-5, consistent with a dependency-confusion / scope-squat attack targeting an internal npm scope. ## Source: ghsa-malware (be95ecea395adda8813554a4b3a394a191e3d0b98ee5667e30dc85b59d17854c) 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.

Announced Group revision 1
Original source ↗

MAL-2026-17249

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-17249

@hrmony/account-management

Source reference: /affected/0/package/name

Affected versions
1.99.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "@hrmony/account-management",
      "purl": "pkg:npm/%40hrmony/account-management",
      "ecosystem": "npm"
    },
    "versions": [
      "1.99.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/account-management/MAL-2026-17249.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "92b1878542fb0411159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd",
            "sha256": "9899a2285cc3936138f5cd7efbcc81233bcf3488b5d15afac1cac8f9f7a7649f"
          },
          {
            "path": "package.json",
            "tlsh": "a1e08610956495334dc611621c6e8467bb628e5b544c7c0c73eb641c815eef325f976a",
            "sha256": "725fc8c93c4858a1a2ebc04ab01f3c5697dd7bcaa5ff016959c46f68ea1b31a6"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "97beda9f9a33a86ce9dd6998cb35a992fe3ff5b2",
              "sha512_sri": "sha512-09cCf3LZwW5QJL+8T9SW8DA/f2Y0Ro9bINnS4dXxlDkcCOF7jK3V+FPrmnJ3w1GxYK/P4hMNMn0ulSjhYlD82g=="
            },
            "filename": "account-management-1.99.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#29741 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement