{"id":"MAL-2026-6723","revision":null,"records":[{"revision":"3325b4489697428d97e30f93442d82fc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6723","aliases":[],"title":"Malicious code in electron-orbit (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7faf51a6c9d6ed9fce8cf9de9ea8afee0e9c3dc1fb254e8cd0c3c2a8ca61323f)\nOn `require('electron-orbit')`, the module unconditionally fires an auto-prefetch pipeline in Node contexts (when no `document` is present) that opens a raw `node:net` socket to `electronorbit.blob.core.windows.net:443` and speaks a hand-written TLS 1.3 stack (custom ClientHello, HKDF key schedule, AES-128-GCM in aetherls.ts) rather than using `https`, bypassing standard TLS interception and static inspection. Every network-related string — the Azure hostname components, `node:net`, `connect`, ALPN `http/1.1`, HTTP request line, marker filename, and `process.env` enumeration keys — is XOR-obfuscated through a helper `__s(key, arr)`. The postinstall script `install.js` writes an install marker to `os.tmpdir()/electron_orbit_install_marker.txt` containing `process.env` entries whose keys match `path` (PATH-family variables) plus `process.cwd()`, and separately stages `os.hostname()`, `os.userInfo().username`, `process.version`, platform and arch into a decoy file under `bin/formatters/` prefixed with a fake native-binary magic byte. On `require`, index.ts reads the tmpdir marker, XORs it with the string `electron-orbit`, hex-encodes it, and appends the result as a query-string suffix to the Azure blob URL, so the storage account's HTTP request logs capture the installer's PATH-family environment and working directory. Activation is gated: the destination host is only populated when the SHA-256 of `process.env.BuildType` is a substring of a hardcoded 64-hex constant (`0ceaa396…8295`); otherwise the source is set to `%TEMP%` and the request fails to resolve, keeping the payload dormant on non-targeted installers and firing only when a specific env var is set (e.g., in a chosen CI environment). The advertised purpose (Electron-style runtime discovery) has no relationship to icon fetching or SVG rendering; the icon surface is a pretext — `getRegisteredIcon` returns a hardcoded empty `<svg>` regardless of the network response.\n","state":0,"publishedAt":"2026-07-01T21:15:10+00:00","modifiedAt":"2026-07-13T22:31:57.0306124+00:00","affected":[{"ecosystem":"npm","name":"electron-orbit","ranges":[],"versions":["1.0.21","1.0.11","1.0.14","1.0.4","1.0.22","1.0.23","1.0.13","1.0.20","1.0.26","1.0.10","1.0.15","1.0.12","1.0.3","1.0.33","1.0.34","1.0.36","1.0.28","1.0.27","1.0.29","1.0.30","1.0.25","1.0.7","1.0.16","1.0.5","1.0.9","1.0.8","1.0.6","1.0.24","1.0.32","1.0.18","1.0.31","1.0.37"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/electron-orbit/v/1.0.21","https://www.npmjs.com/package/electron-orbit/v/1.0.11","https://www.npmjs.com/package/electron-orbit/v/1.0.14","https://www.npmjs.com/package/electron-orbit/v/1.0.4","https://www.npmjs.com/package/electron-orbit/v/1.0.22","https://www.npmjs.com/package/electron-orbit/v/1.0.23","https://www.npmjs.com/package/electron-orbit/v/1.0.13","https://www.npmjs.com/package/electron-orbit/v/1.0.20","https://www.npmjs.com/package/electron-orbit/v/1.0.26","https://www.npmjs.com/package/electron-orbit/v/1.0.10","https://www.npmjs.com/package/electron-orbit/v/1.0.15","https://www.npmjs.com/package/electron-orbit/v/1.0.12","https://www.npmjs.com/package/electron-orbit/v/1.0.3","https://www.npmjs.com/package/electron-orbit/v/1.0.33","https://www.npmjs.com/package/electron-orbit/v/1.0.34","https://www.npmjs.com/package/electron-orbit/v/1.0.36","https://www.npmjs.com/package/electron-orbit/v/1.0.28","https://www.npmjs.com/package/electron-orbit/v/1.0.27","https://www.npmjs.com/package/electron-orbit/v/1.0.29","https://www.npmjs.com/package/electron-orbit/v/1.0.30","https://www.npmjs.com/package/electron-orbit/v/1.0.25","https://www.npmjs.com/package/electron-orbit/v/1.0.7","https://www.npmjs.com/package/electron-orbit/v/1.0.16","https://www.npmjs.com/package/electron-orbit/v/1.0.5","https://www.npmjs.com/package/electron-orbit/v/1.0.9","https://www.npmjs.com/package/electron-orbit/v/1.0.8","https://www.npmjs.com/package/electron-orbit/v/1.0.6","https://www.npmjs.com/package/electron-orbit/v/1.0.24","https://www.npmjs.com/package/electron-orbit/v/1.0.32","https://www.npmjs.com/package/electron-orbit/v/1.0.18","https://www.npmjs.com/package/electron-orbit/v/1.0.31","https://www.npmjs.com/package/electron-orbit/v/1.0.37"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6723","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6723","identifiers":["MAL-2026-6723"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T00:08:10.7926749+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T00:08:10.7926749+00:00","lastSuccessAt":"2026-11-25T00:08:11.0016636+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:11.0016646+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-8f2fbb5e0a6c5ce4c972f53ff951fe65c561a8cf428273c1d8a4185ff22e04f6","complete":true,"records":431838,"lastAttemptAt":"2026-11-25T01:08:25.5914583+00:00","lastSuccessAt":"2026-11-25T00:08:09.8175782+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.041618+00:00","snapshotPublishedAt":"2026-11-24T23:24:20+00:00","importing":true,"stagedRecords":431850,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e80bb52c36364db3ad80ceff1a761e7f","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T00:09:02.5873843+00:00","lastSuccessAt":"2026-11-25T00:09:02.575+00:00","error":"68 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T00:09:02.575+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13907,"expectedIdentifiers":13986,"failedIdentifiers":68},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T00:08:10.7926749+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T00:08:10.7926749+00:00","lastSuccessAt":"2026-11-25T00:08:11.0029326+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:11.0029333+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e843b89325ec408a891907a5d77331bb","complete":false,"records":13950,"lastAttemptAt":"2026-11-25T00:08:44.1701108+00:00","lastSuccessAt":"2026-11-25T00:08:44.166+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T00:08:44.166+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13882,"expectedIdentifiers":13986,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T00:08:10.6882396+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.6882396+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T00:08:10.0957786+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.0957786+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T00:08:10.7043692+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.7043692+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-559908ee6c12892d81d70208c376c9d0372a339467ddd588b3bb32122a40e9bf","complete":true,"records":233046,"lastAttemptAt":"2026-11-25T00:08:10.5691772+00:00","lastSuccessAt":"2026-11-24T23:10:56.4993211+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.5691772+00:00","snapshotPublishedAt":"2026-11-24T22:48:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}