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
Aliases
  • GHSA-w476-3rpv-vw8r
Published
2026-08-05T13:40:32Z
Modified
2026-08-20T01:15:11Z
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.

Source: ghsa-malware (94d0aab60461539f1d9e4e5025f28d7fa38653699dd1bc05009d46bae9a90a4c)

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-014992",
            "import_time": "2026-08-05T14:19:50.29474657Z",
            "modified_time": "2026-08-05T13:40:32Z",
            "sha256": "d43b8f8982db0f563db0d728dbc9ecdd9907e29dd45f2d9bf42e0c8416fc80fa",
            "source": "amazon-inspector",
            "versions": [
                "35.8.6"
            ]
        },
        {
            "id": "GHSA-w476-3rpv-vw8r",
            "import_time": "2026-08-20T01:06:54.127949662Z",
            "modified_time": "2026-08-19T15:00:15Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "94d0aab60461539f1d9e4e5025f28d7fa38653699dd1bc05009d46bae9a90a4c",
            "source": "ghsa-malware"
        }
    ]
}
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

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

Affected versions

35.*
35.8.6

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_platform.js",
            "sha256": "4a42deb4bf1ca439d9606e4eed8b71d839d51e526e3bf5aeceb9b05f06f33323",
            "tlsh": "3cb1969a16aa700c4bb0ebe4c61b4826f55bf6633781d194fb9c69984f7342483b1dfc"
        }
    ],
    "package_integrity": [
        {
            "filename": "devplatform-spa-testing-35.8.6.tgz",
            "hashes": {
                "sha1": "d910ea3fb388b03f3747dd0b2b95cc3def343945",
                "sha512_sri": "sha512-MvE2nH/RnvuvEJ01pzaHL2V32l2sKstXafvJk0TkUqvYn3/7WUkymnWrIIgiyIkszpr8XxvRJjVooKaeAjcaVQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-testing/MAL-2026-12784.json"