MAL-2026-12784

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-testing/MAL-2026-12784.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12784
Published
2026-08-05T13:40:32Z
Modified
2026-08-05T14:37:09.488290779Z
Summary
Malicious code in devplatform-spa-testing (npm)
Details

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

Source: amazon-inspector (d43b8f8982db0f563db0d728dbc9ecdd9907e29dd45f2d9bf42e0c8416fc80fa)

On require('devplatform-spa-testing'), index.js loads _platform.js which selects a platform-specific endpoint, retrieves a payload over HTTPS from string-concatenated oob-worker.cf*.workers.dev hostnames (with a DNS-TXT-chunked base64 fallback via sdk.dl.wel1.ru), writes it to /tmp or %TEMP% under a disguised name (.cache_<rand> on POSIX or dotnet_diag_<rand>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd. The C2 hostnames are assembled by joining fragments (e.g. ['oob-w','orker.cf102-','baf.worke','rs.d','ev'].join('')) to defeat plain string scanning, and the dropper filenames plus cover-story comments about telemetry opt-out mask the behavior. The fetched bytes are attacker-controlled and executed on the installer's machine at import time.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T13:40:32Z",
            "source": "amazon-inspector",
            "sha256": "d43b8f8982db0f563db0d728dbc9ecdd9907e29dd45f2d9bf42e0c8416fc80fa",
            "import_time": "2026-08-05T14:19:50.29474657Z",
            "id": "IN-MAL-2026-014992",
            "versions": [
                "35.8.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-spa-testing

Package

Name
devplatform-spa-testing
View open source insights on deps.dev
Purl
pkg:npm/devplatform-spa-testing

Affected ranges

Affected versions

35.*
35.8.6

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-testing/MAL-2026-12784.json"
indicators
{
    "package_integrity": [
        {
            "filename": "devplatform-spa-testing-35.8.6.tgz",
            "hashes": {
                "sha512_sri": "sha512-MvE2nH/RnvuvEJ01pzaHL2V32l2sKstXafvJk0TkUqvYn3/7WUkymnWrIIgiyIkszpr8XxvRJjVooKaeAjcaVQ==",
                "sha1": "d910ea3fb388b03f3747dd0b2b95cc3def343945"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "3cb1969a16aa700c4bb0ebe4c61b4826f55bf6633781d194fb9c69984f7342483b1dfc",
            "sha256": "4a42deb4bf1ca439d9606e4eed8b71d839d51e526e3bf5aeceb9b05f06f33323",
            "path": "_platform.js"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]