MAL-2026-13179

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dolyame-ui-react-version-switch/MAL-2026-13179.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13179
Published
2026-08-05T15:11:54Z
Modified
2026-08-05T15:53:00.413670807Z
Summary
Malicious code in dolyame-ui-react-version-switch (npm)
Details

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

Source: amazon-inspector (1ee4e207fd01bae956d7fe084377ecea438f81774ea01ca6b02a50c1962c6cca)

Package advertises itself as a React UI helper but its index.js unconditionally require()s./vendor at load time. vendor.js selects a platform-specific asset path, fetches bytes over HTTPS from a randomly-ordered pool of string-split-obfuscated hosts assembled via.join('') (oob-worker.cf*.workers.dev and sdk/ext/pkg/net.dl.wel1.ru), with a DNS-TXT chunked-base64 fallback to bypass HTTPS filtering. The downloaded bytes are written to /tmp or %TEMP% under disguised names such as dotnetdiag<hex>.exe or.cache_<hex>, chmod 0755'd on POSIX, and spawned detached via /bin/sh or cmd.exe. No hash verification is performed despite a cover-story comment claiming a SHA-256 integrity check. The package's declared 'interface elements' purpose is a cover story: index.js is a trivial no-op class stub, and the dropper is the only functional behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T15:19:59.942523668Z",
            "source": "amazon-inspector",
            "versions": [
                "35.6.1"
            ],
            "sha256": "1ee4e207fd01bae956d7fe084377ecea438f81774ea01ca6b02a50c1962c6cca",
            "id": "IN-MAL-2026-015604",
            "modified_time": "2026-08-05T15:11:54Z"
        }
    ]
}
References
Credits

Affected packages

npm / dolyame-ui-react-version-switch

Package

Name
dolyame-ui-react-version-switch
View open source insights on deps.dev
Purl
pkg:npm/dolyame-ui-react-version-switch

Affected ranges

Affected versions

35.*
35.6.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "7ab1a85a16aa71094bb0abe4c7174415f65ff6633381c198fb9c69981f7212483f2efc",
            "sha256": "8055a93e18a4d8a7e49dab9b5df62526cc69c80fc79e00c0f3c6a2e7af29a9fc",
            "path": "_vendor.js"
        },
        {
            "tlsh": "e6f04c9520dba42386b177e2ca720052f66387350a4f01a87ed940fe0ff0c584298fbe",
            "sha256": "2ce23f4adf54a4693a4be8e02ac1edd1e2278e2298e05726f0b2d2e57e0d3fb8",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "dolyame-ui-react-version-switch-35.6.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-Qss/q/dhQbnVUyM38X3cr2+rgWhwBtQ08P292lFAPoPLh1S6AC5jPzxNxe52+mafopL5ruAkdjasSE+20mmhKQ==",
                "sha1": "b4375a75689a4b7af88b661ebf565840d28ff056"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dolyame-ui-react-version-switch/MAL-2026-13179.json"