MAL-2026-11071

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/whs4_eud/MAL-2026-11071.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11071
Aliases
  • GHSA-w67p-3hvj-8rq9
Published
2026-07-25T15:55:34Z
Modified
2026-11-17T17:30:16Z
Summary
Malicious code in whs4_eud (npm)
Details

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

Source: amazon-inspector (6be47b29c887fd54b5cffc8789278f3ea7987b12d618e89c540e5670edea12b5)

whs4_eud@1.0.1 declares a postinstall lifecycle script (node index.js) that fires unconditionally on npm install. On execution, index.js POSTs installer-side host information — the absolute path of the install location (which embeds the user's home directory), Node.js version, and platform/architecture — to a hardcoded Discord webhook under discord.com/api/webhooks/1530599209269465319/. The webhook URL is assembled by concatenating two string literals at runtime rather than appearing as a single literal, a light obfuscation of the exfiltration destination. The package name and layout are consistent with a dependency-confusion / typosquat beacon whose only functional behavior is to notify the author when an install occurs and to disclose where.

Source: ghsa-malware (b799318380a9a9d4a665811c8526afb02ca7a846ccf2af514df603ccceff0510)

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.

Source: ossf-package-analysis (d906ecaf9f2ede0a31c6966b9d8402f4c80e57fb72eae7f9dfa1b3a7c583b8d4)

The OpenSSF Package Analysis project identified 'whs4_eud' @ 1.0.1 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-27T01:42:44.1209829Z",
            "modified_time": "2026-07-25T15:55:34Z",
            "sha256": "d906ecaf9f2ede0a31c6966b9d8402f4c80e57fb72eae7f9dfa1b3a7c583b8d4",
            "source": "ossf-package-analysis",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-011261",
            "import_time": "2026-08-04T22:30:07.961552055Z",
            "modified_time": "2026-08-04T21:55:43Z",
            "sha256": "6be47b29c887fd54b5cffc8789278f3ea7987b12d618e89c540e5670edea12b5",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-017376",
            "import_time": "2026-08-11T17:51:59.251904999Z",
            "modified_time": "2026-08-11T17:24:19Z",
            "sha256": "f8dcbecbaf2392f7cd7720244800fde67c971fa7fa34fb8cf21d61c580dd4713",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-w67p-3hvj-8rq9",
            "import_time": "2026-11-17T17:17:22.94674548Z",
            "modified_time": "2026-11-17T16:28:07Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "b799318380a9a9d4a665811c8526afb02ca7a846ccf2af514df603ccceff0510",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / whs4_eud

Package

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1

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": "index.js",
            "sha256": "5cc9cd2e5a872d5b641b6a1c4bf5e201468b693e6eb9cc4053e4f9296ab52f20",
            "tlsh": "0761518a96f022210ba3f3d4204bc12bbb2985132a0ecd45f64c47b41fce67dd4e52e8"
        }
    ],
    "package_integrity": [
        {
            "filename": "whs4_eud-1.0.1.tgz",
            "hashes": {
                "sha1": "8553c23b13668bdb44198b8b0fc6d836b7856c5f",
                "sha512_sri": "sha512-m+Ga9ZEpPNwJbjyxLQtk2xzdtNrNPoyPw+cZSa8jXd8qPr46mD5UIg9pQFq9rRZfSdwEcPA28mmvB1/ZJ1lk/w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/whs4_eud/MAL-2026-11071.json"