MAL-2026-6394

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hs-locale-management/MAL-2026-6394.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6394
Aliases
  • GHSA-rv32-4gr2-5g7w
Published
2026-06-24T14:01:16Z
Modified
2026-07-08T17:16:47.463003144Z
Summary
Malicious code in hs-locale-management (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (2adb7ba5ebcb66930ae574353088696c939ed6e677c12437e78de7166e96b932)

Package self-identifies in package.json as a dependency-confusion proof-of-concept targeting HubSpot's internal hs-locale-management namespace, published at the high-watermark version 99.99.99 to outrank any internal release during npm resolution. The postinstall.js script collects local host fingerprint data (os.hostname(), os.userInfo().username, platform, node version, pid) and prints it to stdout — it does not exfiltrate over the network, drop additional payloads, read credentials, or modify the installer's filesystem outside its own package directory. Installer impact in this version is limited to a harmless console print during npm install. The supply-chain concern is structural: any HubSpot build pipeline (or third party who mistakenly resolves this name from the public registry) executes this package's lifecycle scripts, and the same publishing position can be reused to ship arbitrary code in a future version. Routing to human review per policy on namespace-abuse / squat-name packages — present-version harm does not meet the block bar, but the squat itself warrants maintainer or registry-side action (takedown / namespace reservation).

Source: ghsa-malware (c0c64cbd2dc6ed9daff15a5552b386ab39a761b8a7fb212d3ee60c1c91a2605c)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "99.99.99-poc2"
            ],
            "sha256": "1161606183ced9cba1c4822de7f6a3515230f04ccfadd33ea2937c667cfaf1d2",
            "import_time": "2026-06-24T15:01:17.578177521Z",
            "modified_time": "2026-06-24T14:01:16Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007433"
        },
        {
            "id": "IN-MAL-2026-007449",
            "sha256": "1d717c264a1c338c3b3fee43c13e43eba24cafbdabf34f62108bbd99e05c6b1b",
            "modified_time": "2026-06-25T00:24:46Z",
            "versions": [
                "99.99.99-poc3"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-06-25T00:57:06.982395805Z"
        },
        {
            "import_time": "2026-06-25T03:23:52.156599881Z",
            "sha256": "c0c64cbd2dc6ed9daff15a5552b386ab39a761b8a7fb212d3ee60c1c91a2605c",
            "modified_time": "2026-06-25T02:16:09Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-rv32-4gr2-5g7w",
            "source": "ghsa-malware"
        },
        {
            "source": "amazon-inspector",
            "sha256": "2adb7ba5ebcb66930ae574353088696c939ed6e677c12437e78de7166e96b932",
            "import_time": "2026-07-08T17:01:31.632999793Z",
            "modified_time": "2026-07-08T16:26:54Z",
            "id": "IN-MAL-2026-008114",
            "versions": [
                "99.99.99"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / hs-locale-management

Package

Name
hs-locale-management
View open source insights on deps.dev
Purl
pkg:npm/hs-locale-management

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

99.*
99.99.99-poc2
99.99.99-poc3
99.99.99

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "hs-locale-management-99.99.99-poc2.tgz",
            "hashes": {
                "sha1": "64d371a01c7a55d2976a9e60b9097e5b6640f028",
                "sha512_sri": "sha512-MmoU1GZClUdliirBvG9AaZzCMnyMvZt4hTFw98PZWV4JhqUVT+slJQCxUizLEM4ezCQJohOz9VDItHVpkAdIAg=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "632172d491eca62411f3f7c0a05f121264b7c9299a06aea0406192a33f7a77d12b2cec",
            "sha256": "c2e0be22b69366160b4db0916277c1a4f8732297ab95a4b1e48e78d1f7808b53",
            "path": "preinstall.js"
        },
        {
            "tlsh": "362175a015a8173031f3f684f4d61227627bca18aa02bd546095436b3f1912d02719fd",
            "sha256": "5bc47ee3954ae8a41c667c663a7ab4c66c0d1e23b44c222c1356f04a81bcbd0c",
            "path": "postinstall.js"
        },
        {
            "tlsh": "fce068301406a7337cc897e76923005619ea8c86c7381e6862c3408222aeabe98bf002",
            "sha256": "c9c6e8f1036b2b8f32915ae5e76736a1c6b1c3c3c400f45b5d33f7b9d7764c45",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hs-locale-management/MAL-2026-6394.json"