MAL-2026-12290

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-data-services-customer-api-v2-customer-vip-status/MAL-2026-12290.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12290
Published
2026-08-05T09:13:18Z
Modified
2026-08-05T10:07:02.572078416Z
Summary
Malicious code in twork-data-services-customer-api-v2-customer-vip-status (npm)
Details

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

Source: amazon-inspector (bd6182daf75450f1e553f81c3979a275c481690e27d04712285b85a25ebadc3b)

On require of this package, index.js loads platform.js which selects a platform-specific payload (linuxx64/linuxarm64/darwin/win32), downloads an opaque binary over HTTPS from a pool of *.workers.dev hosts, writes it to /var/tmp/.cache<hex> or %TEMP%/dotnetdiag<hex>.exe, chmods it 0755, and spawns it detached via /bin/sh or cmd with unref, so execution survives the parent process. Destination hostnames are not stored as plain literals — they are assembled at runtime from split fragments (e.g. ['oob-worker.cf101-a','df.worke','rs.d','ev'].join('')) to evade string scans. If HTTPS retrieval fails, the code falls back to DNS TXT lookups against numbered subdomains of dl.well1.site and reassembles a base64-encoded binary from the concatenated TXT records, bypassing HTTPS egress inspection. The disguised on-disk filenames (dotnetdiag,.cache_), the anonymous Workers hosting, the absence of any hash or signature verification, and the covert DNS delivery channel are inconsistent with the package's advertised 'API client bindings' purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T09:13:18Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014595",
            "import_time": "2026-08-05T09:28:28.817626752Z",
            "sha256": "bd6182daf75450f1e553f81c3979a275c481690e27d04712285b85a25ebadc3b",
            "versions": [
                "20.9.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / twork-data-services-customer-api-v2-customer-vip-status

Package

Name
twork-data-services-customer-api-v2-customer-vip-status
View open source insights on deps.dev
Purl
pkg:npm/twork-data-services-customer-api-v2-customer-vip-status

Affected ranges

Affected versions

20.*
20.9.7

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "twork-data-services-customer-api-v2-customer-vip-status-20.9.7.tgz",
            "hashes": {
                "sha512_sri": "sha512-OAZMCyNwDuQs8u7h2+2p45PQnDMpMFI5IM0roEnD/a+ejaBcVLAK0AVB4aPZ27GJeEOuqFTbnpkxwVvSdfPNbQ==",
                "sha1": "e0f3a7e987ab2cd615b5a90b84162c711457a876"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "f5a1955a16a9701c8bb0abe087174415f65bf2533391c294fb5ca9945fb312483b2efc",
            "sha256": "f37ca6ece7f85dc15a9ac7e71e808cc7c5d56391fcb2627af61a91b4d565a0c3",
            "path": "_platform.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-data-services-customer-api-v2-customer-vip-status/MAL-2026-12290.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]