mal-2026-12719
Vulnerability from ossf_malicious_packages
-= 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 on Unix or %TEMP%\dotnet_diag_.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.
{
"affected": [
{
"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": "_bootstrap.js",
"sha256": "c4b44b90f15a39c35c0c37884898cd45854880dcd74434765aab9dd77890566b",
"tlsh": "e4a1959a166a70098b70d7e0c2175416f65af2637380d294fb5ca5885ff3124c3b2efc"
},
{
"path": "index.js",
"sha256": "34adde36636aae20a9f0acdd0c4172733efbc566d72882d51e708d72ac7cdcc8",
"tlsh": "e011bdcb2560706602727736e793c112f86a8422a972425cfa8c77d22f71d225ab5eda"
}
],
"package_integrity": [
{
"filename": "devplatform-jscodeshift-utils-35.3.8.tgz",
"hashes": {
"sha1": "a83b83081627bfead60c124b691976802a57066c",
"sha512_sri": "sha512-omYQfhAe+QkZQUu/VeKxQJOiSCWvvhW1t4nf3SQazxGXfquwjwV2l1e7CHD4MQhML1szCJH7SLdkNTeWSbk5zg=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "devplatform-jscodeshift-utils"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"35.3.8"
]
}
],
"aliases": [
"GHSA-mfcc-hqhf-5g3f"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-015050",
"import_time": "2026-08-05T14:19:56.694589881Z",
"modified_time": "2026-08-05T13:49:00Z",
"sha256": "3b08e96920cfa51b02e6ac450e73eb86615b96651f96cd8c94f0f272880689b9",
"source": "amazon-inspector",
"versions": [
"35.3.8"
]
},
{
"id": "GHSA-mfcc-hqhf-5g3f",
"import_time": "2026-08-06T23:53:00.6862824Z",
"modified_time": "2026-08-06T16:48:29Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "d662b5ea3e0d9ad955f194ab74515a958541234a800ca195728a1b464ce67ee7",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3b08e96920cfa51b02e6ac450e73eb86615b96651f96cd8c94f0f272880689b9)\nThe package presents itself as a jscodeshift helper library exporting deepMerge/sleep/retry/chunk utilities, but index.js unconditionally invokes `try { require(\u0027./_bootstrap\u0027); } 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) \u2014 with a DNS-TXT fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru \u2014 writes the payload to /var/tmp/.cache_\u003chex\u003e on Unix or %TEMP%\\dotnet_diag_\u003chex\u003e.exe on Windows, chmods it 0755, and spawns it detached via `/bin/sh -c \"\u003cpath\u003e \u0026\"` 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_\u003chex\u003e.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\u0027s host.\n\n## Source: ghsa-malware (d662b5ea3e0d9ad955f194ab74515a958541234a800ca195728a1b464ce67ee7)\nAny 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.\n",
"id": "MAL-2026-12719",
"modified": "2026-08-06T23:54:51.855497411Z",
"published": "2026-08-05T13:49:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/devplatform-jscodeshift-utils/v/35.3.8"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-mfcc-hqhf-5g3f"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in devplatform-jscodeshift-utils (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.