{"id":"GHSA-gj65-7753-2q9f","revision":null,"records":[{"revision":"f32d9e0bae2a468593d5a068905e20e3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5163","aliases":["GHSA-gj65-7753-2q9f"],"title":"Malicious code in @emcd-vue/auth (npm)","description":"Part of a coordinated multi-package supply-chain attack impersonating EMCD (emcd.io), a legitimate Russian cryptocurrency exchange and mining pool. The attacker registered the `@emcd-vue` npm scope to pose as an internal Vue.js front-end tooling package from \"EMCD Platform Engineering.\" The package contains no functional library code — the entire package is a delivery vehicle for a multi-stage dropper embedded in a 137.5 KB single-line obfuscated postinstall hook (JScrambler/WaCk-style; 811-element encoded string array).\n\n**Trigger:** `scripts.postinstall` → `scripts/postinstall.js`\n\n**Execution flow:**\n- Checks `EMCD_VUE_NO_TELEMETRY` env var as a kill-switch (README misleadingly documents a different, non-functional kill-switch name)\n- Computes a per-host/project dedup key to execute only once\n- Detects platform (`linux-x64`, `darwin-arm64`, `win`)\n- Downloads platform-specific second-stage: `GET https://oob.moika.tech/payload/{platform}` with `X-Secret: l95HdDaz3kQx1Zsg3WxH6HvKANf51RY1`\n- Writes payload to `~/.emcd-vue_init.js` (dot-prefixed hidden file)\n- Spawns payload as a detached, unref'd process — persists after npm exits\n- Beacons installation metadata to `https://oob.moika.tech/report`\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f8bc285b34b9a2e8abc8e2a86a7a0c8738823d504bbc7e30a4e56b1ec9810162)\n@emcd-vue/auth@6.4.5 is a hollow shell package whose only functional content is a malicious postinstall script. package.json advertises this as an 'Internal @wildberries/service-router package' (a dependency-confusion lure targeting builds that expect an internal @wildberries/* mirror), but dist/index.js is a one-line re-export `module.exports = require('../src/index.js')` pointing at a path that does not exist in the tarball — the package provides no library functionality. scripts/postinstall.js is heavily obfuscated using an obfuscator.io-style shuffled string array with RC4 + base64 decoders and hex-encoded property accesses; critical strings (host, URL path, secret header) are assembled only at runtime via `atob(...)+atob(...)` concatenation to evade static inspection. On `npm install` the script issues an HTTPS GET with a custom `X-Secret` header to the runtime-assembled URL, writes the response buffer to a randomly-named.js file under `os.tmpdir()`, and spawns it with `process.execPath` (Node) detached, `stdio:'ignore'`, `windowsHide:true`, then `.unref()`s the child so it survives the installer. Host-identifying data is exfiltrated as part of the fetch (hostname-keyed string selection via `os.hostname()`, CWD walk-up via `process.cwd()`, Node version check), and the spawned child receives the installer's full `process.env` plus additional atob-decoded secret values, handing any environment-resident credentials to the attacker-controlled payload.\n\n## Source: ghsa-malware (dfd43164e739de65fb308237cdf44f0f849d11ae459d967c0aae2be068af476a)\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","state":0,"publishedAt":"2026-06-01T07:04:12+00:00","modifiedAt":"2026-07-14T05:21:55.2477528+00:00","affected":[{"ecosystem":"npm","name":"@emcd-vue/auth","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["6.4.5","7.0.0","6.4.8","6.4.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://safedep.io/oob-moika-tech-dependency-confusion-campaign/","https://www.npmjs.com/package/@emcd-vue/auth/v/6.4.5","https://www.npmjs.com/package/@emcd-vue/auth/v/7.0.0","https://www.npmjs.com/package/@emcd-vue/auth/v/6.4.8","https://www.npmjs.com/package/@emcd-vue/auth/v/6.4.9","https://github.com/advisories/GHSA-gj65-7753-2q9f"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5163","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5163","identifiers":["MAL-2026-5163","GHSA-gj65-7753-2q9f"]},"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-25T01:18:30.5290389+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T01:18:30.5290389+00:00","lastSuccessAt":"2026-11-25T01:18:30.6705522+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:18:30.6705537+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-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":431850,"lastAttemptAt":"2026-11-25T01:16:34.841515+00:00","lastSuccessAt":"2026-11-25T01:16:34.8333088+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:16:34.841515+00:00","snapshotPublishedAt":"2026-11-25T00:34:35+00:00","importing":false,"stagedRecords":0,"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-e1d1f494fbcb4a27a8ca80fa6b80d42f","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T01:19:38.338737+00:00","lastSuccessAt":"2026-11-25T01:19:38.332+00:00","error":"65 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T01:19:38.332+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13910,"expectedIdentifiers":13986,"failedIdentifiers":65},{"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-25T01:18:30.5290389+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T01:18:30.5290389+00:00","lastSuccessAt":"2026-11-25T01:18:30.671369+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:18:30.6713693+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-01e95ac6b13c4e638f57827fb0c076bb","complete":false,"records":13950,"lastAttemptAt":"2026-11-25T01:18:56.2337678+00:00","lastSuccessAt":"2026-11-25T01:18:56.229+00:00","error":"25 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T01:18:56.229+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13961,"expectedIdentifiers":13986,"failedIdentifiers":25},{"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-25T01:18:30.034104+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:18:30.034104+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-25T01:16:34.9953425+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:16:34.9953425+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-25T01:18:30.4764058+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:18:30.4764058+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-9c9951438d6c717a698ba55ff3f940cbec4dcd9513985b5620a301383384f82e","complete":true,"records":233046,"lastAttemptAt":"2026-11-25T01:18:29.899066+00:00","lastSuccessAt":"2026-11-25T01:18:28.6314102+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:18:29.899066+00:00","snapshotPublishedAt":"2026-11-25T00:48:33+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}