MAL-2026-12719

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-jscodeshift-utils/MAL-2026-12719.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12719
Aliases
  • GHSA-mfcc-hqhf-5g3f
Published
2026-08-05T13:49:00Z
Modified
2026-08-07T00:04:56.052718404Z
Summary
Malicious code in devplatform-jscodeshift-utils (npm)
Details

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

Source: amazon-inspector (3b08e96920cfa51b02e6ac450e73eb86615b96651f96cd8c94f0f272880689b9)

The package presents itself as a jscodeshift helper library exporting deepMerge/sleep/retry/chunk utilities, but index.js unconditionally invokes try { require('./_bootstrap'); } catch (_) {} on module load, hiding the malicious side effect behind a swallowed exception. bootstrap.js selects a platform-specific payload path, downloads bytes from one of three hardcoded Cloudflare Workers hostnames (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev) — with a DNS-TXT fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru — writes the payload to /var/tmp/.cache<hex> on Unix or %TEMP%\dotnetdiag<hex>.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c "<path> &" or cmd /c start. Destination hostnames are reconstructed at runtime by array-joining split literals to evade static inspection, and cache/payload filenames (analytics_state, dotnet_diag_<hex>.exe) are chosen to blend in with legitimate telemetry artifacts. An 80KB lib/telemetry.js is shipped but never referenced from index.js, consistent with cover-story padding. Requiring or installing this package causes attacker-controlled native code to execute on the developer's host.

Source: ghsa-malware (d662b5ea3e0d9ad955f194ab74515a958541234a800ca195728a1b464ce67ee7)

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:56.694589881Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015050",
            "versions": [
                "35.3.8"
            ],
            "modified_time": "2026-08-05T13:49:00Z",
            "sha256": "3b08e96920cfa51b02e6ac450e73eb86615b96651f96cd8c94f0f272880689b9"
        },
        {
            "import_time": "2026-08-06T23:53:00.6862824Z",
            "sha256": "d662b5ea3e0d9ad955f194ab74515a958541234a800ca195728a1b464ce67ee7",
            "id": "GHSA-mfcc-hqhf-5g3f",
            "modified_time": "2026-08-06T16:48:29Z",
            "source": "ghsa-malware",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-jscodeshift-utils

Package

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

Affected ranges

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

Affected versions

35.*
35.3.8

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-jscodeshift-utils/MAL-2026-12719.json"
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-omYQfhAe+QkZQUu/VeKxQJOiSCWvvhW1t4nf3SQazxGXfquwjwV2l1e7CHD4MQhML1szCJH7SLdkNTeWSbk5zg==",
                "sha1": "a83b83081627bfead60c124b691976802a57066c"
            },
            "filename": "devplatform-jscodeshift-utils-35.3.8.tgz"
        }
    ],
    "evidence_files": [
        {
            "tlsh": "e4a1959a166a70098b70d7e0c2175416f65af2637380d294fb5ca5885ff3124c3b2efc",
            "path": "_bootstrap.js",
            "sha256": "c4b44b90f15a39c35c0c37884898cd45854880dcd74434765aab9dd77890566b"
        },
        {
            "sha256": "34adde36636aae20a9f0acdd0c4172733efbc566d72882d51e708d72ac7cdcc8",
            "path": "index.js",
            "tlsh": "e011bdcb2560706602727736e793c112f86a8422a972425cfa8c77d22f71d225ab5eda"
        }
    ]
}
cwes
[
    {
        "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",
        "name": "Embedded Malicious Code"
    }
]