MAL-2026-12755

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-cli/MAL-2026-12755.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12755
Aliases
  • GHSA-9v5f-vp7v-fq6x
Published
2026-08-05T13:43:30Z
Modified
2026-08-06T01:20:35.448723092Z
Summary
Malicious code in devplatform-spa-cli (npm)
Details

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

Source: amazon-inspector (e9cf6b251dcd1cb74d6b5dd84f62868d0213365ea555bbb8eb1d99dcdafedc26)

index.js requires./polyfill on module load, which asynchronously fetches a platform-selected binary from runtime-assembled Cloudflare Workers subdomains (oob-worker.cf100-*.workers.dev / cf101/cf102/cf103 variants) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru. The payload is written under /var/tmp or %TEMP% with a cover-story name (.cache<hex> on POSIX, dotnetdiag<hex>.exe on Windows), chmod 0o755, and detach-spawned via /bin/sh -c "<file> &" or cmd.exe /c start /b. Destination hostnames and the child_process require are assembled by array-join string concatenation to evade static inspection. A second implementation of the same drop-and-exec chain (endpoint rotation, DNS TXT failover, chmod 0755, /bin/sh spawn) is present in lib/telemetry.js. There is no hash or signature verification, the hosts are anonymous mutable Cloudflare Workers unrelated to any declared publisher, and execution occurs automatically when the module is required.

Source: ghsa-malware (36443e0787665837807370cbdc48a50575843492f93f4f657f3bb8b68bf54384)

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": [
        {
            "import_time": "2026-08-05T14:19:52.729431479Z",
            "modified_time": "2026-08-05T13:43:30Z",
            "versions": [
                "35.9.2"
            ],
            "id": "IN-MAL-2026-015014",
            "sha256": "e9cf6b251dcd1cb74d6b5dd84f62868d0213365ea555bbb8eb1d99dcdafedc26",
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-06T00:58:53.34439117Z",
            "modified_time": "2026-08-05T17:19:14Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-9v5f-vp7v-fq6x",
            "sha256": "36443e0787665837807370cbdc48a50575843492f93f4f657f3bb8b68bf54384",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-spa-cli

Package

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

Affected ranges

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

Affected versions

35.*
35.9.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-cli/MAL-2026-12755.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "29e30403dfd184c7367da7de3cbc57295095aeb1",
                "sha512_sri": "sha512-X5iWUum163WWZCzElq3F8wwe3QEM2SAjPZg0u9Q79VEegHHlIwu7+PVAGsfpn0oW0El8m8nfHZ8wclZAEcslNQ=="
            },
            "filename": "devplatform-spa-cli-35.9.2.tgz"
        }
    ],
    "evidence_files": [
        {
            "tlsh": "eaa1b75a157670088bb09be48b2b4415f95bf663378082c4fbaca4985f7613483b2dfc",
            "path": "_polyfill.js",
            "sha256": "1b6b4f872328b778d9258f1e76ac672dbb9fb05a5dad7cd0eaf05528f13752f7"
        }
    ]
}