MAL-2026-13451

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nms-dashboard-js/MAL-2026-13451.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13451
Aliases
  • GHSA-c9w9-2cw6-865g
Published
2026-08-06T16:23:25Z
Modified
2026-08-20T22:01:46Z
Summary
Malicious code in nms-dashboard-js (npm)
Details

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

Source: amazon-inspector (ab87107c47e765b4214ccd31eac720d9d082b0cb5040d8acf90c8af00db5a601)

nms-dashboard-js@9.9.11 declares an npm install lifecycle hook (scripts.install: "node index.js") that unconditionally requires ./lib/core inside a swallow-all try/catch. The loaded code reads os.userInfo().username, os.hostname(), and the basename of process.cwd(), concatenates them with a timestamp into a subdomain of oob.sl4x0.xyz, and issues a dns.resolve4 lookup, exfiltrating installer host identifiers via DNS out-of-band. The destination domain and the API/property names (os, dns, userInfo, hostname, cwd, resolve4, oob.sl4x0.xyz) are reconstructed at runtime from hex char-code arrays in lib/b02e30.js and lib/6ad264.js to conceal the sink. The beacon also fires on any require() of the package, not only on install. The advertised purpose ("enterprise utilities") does not require any such network activity.

Source: ghsa-malware (f2134e0ebb992231ac259bbad998fd42174b0c70a2b7c6c8d7c4adc5da5d0726)

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": [
        {
            "id": "IN-MAL-2026-016685",
            "import_time": "2026-08-06T18:09:05.974114066Z",
            "modified_time": "2026-08-06T16:23:25Z",
            "sha256": "ab87107c47e765b4214ccd31eac720d9d082b0cb5040d8acf90c8af00db5a601",
            "source": "amazon-inspector",
            "versions": [
                "9.9.11"
            ]
        },
        {
            "id": "GHSA-c9w9-2cw6-865g",
            "import_time": "2026-08-20T16:25:42.689953794Z",
            "modified_time": "2026-08-20T16:14:12Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "f2134e0ebb992231ac259bbad998fd42174b0c70a2b7c6c8d7c4adc5da5d0726",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-018489",
            "import_time": "2026-08-20T21:43:27.457113932Z",
            "modified_time": "2026-08-20T21:18:20Z",
            "sha256": "272f3803105d2075198e8daa1805fc4a85e316ef17b8aa1f43fd3ab255db23c8",
            "source": "amazon-inspector",
            "versions": [
                "9.9.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / nms-dashboard-js

Package

Name
nms-dashboard-js
View open source insights on deps.dev
Purl
pkg:npm/nms-dashboard-js

Affected ranges

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

Affected versions

9.*
9.9.0
9.9.11

Database specific

cwes
[
    {
        "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.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/core.js",
            "sha256": "397d1435e7291ed6b02b8627033a110124d250a54290b3a8f9f248573fd6a2d4",
            "tlsh": "38014929a393c08f97e096d0361a03d18499c380e7ce80a5fa7c4a87904e7d1cac5a96"
        },
        {
            "path": "lib/b02e30.js",
            "sha256": "2de3b284eb8a271d2d90ccdf475822e831f424a71b4cc4813e15ac86b2300249",
            "tlsh": "41e068173313c94fa1980bf77a0050e0aa0d8b58a21dc0d6b518678600af447c0c0232"
        },
        {
            "path": "package.json",
            "sha256": "9473c9393cef6fdfedbb93e01982a684f2aada843a1ca78912e677e0ca1a4f76",
            "tlsh": "72215b35ce244c336ec86aa49c692a42f5a24c175d407c1933c7a12c8faf26f12ff65d"
        }
    ],
    "package_integrity": [
        {
            "filename": "nms-dashboard-js-9.9.11.tgz",
            "hashes": {
                "sha1": "70a51cddf17ddae33679b527ceb065fa6326837c",
                "sha512_sri": "sha512-BvwU0rTZzDX3a+tNo8UpJgg3vVuT1AxRpcGtjG/qbGNr46ffnwF0uVGXqGfUwPnsJY/GY1nMKrQ68zHM/z6qfA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nms-dashboard-js/MAL-2026-13451.json"