目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

@emcd-vue/auth

MAL-2026-5163
2026-07-14 05:14:04
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @emcd-vue/auth (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@emcd-vue/auth*
npm@emcd-vue/auth6.4.5
npm@emcd-vue/auth6.4.8
npm@emcd-vue/auth6.4.9
npm@emcd-vue/auth7.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T05:14:04Z","published":"2026-06-01T07:04:12Z","schema_version":"1.7.4","id":"MAL-2026-5163","aliases":["GHSA-gj65-7753-2q9f"],"summary":"Malicious code in @emcd-vue/auth (npm)","details":"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","affected":[{"package":{"ecosystem":"npm","name":"@emcd-vue/auth"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["6.4.5","7.0.0","6.4.8","6.4.9"],"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"domains":["pik-libs.ru"],"evidence_files":[{"path":"scripts/postinstall.js","sha256":"17d188fa4897d1b6d9fc6829b38bd9f8b8defeed9eeeeef72083e821e67118ac","tlsh":"6163f0c43a81e007659e9ba3bf52aafdd02f689352c8740be3507d9df8a911bc674dc4"},{"path":"package.json","sha256":"0bba3711fc79db3b3e21824492ab3c12ca0d729a1a95b44d87775fe94264e607","tlsh":"98119931caa48d336ad425d6ade40503baaa280f1c4afc1c33c7002d8b8e19b44fd67e"}],"package_integrity":[{"filename":"auth-6.4.5.tgz","hashes":{"sha1":"50417870ff0b425e8c838f1df89c6c2b6273fac0","sha512_sri":"sha512-fROufaDzeeZ3g3+5yGrpJuYMPQwEriWZ/QLJbA8wQ0azTe8o7KCxS44gTJtPMZ1kH61LjDRr/5kF83UyK2gzbw=="}}]}}}],"references":[{"type":"REPORT","url":"https://safedep.io/oob-moika-tech-dependency-confusion-campaign/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/auth/v/6.4.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/auth/v/7.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/auth/v/6.4.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/auth/v/6.4.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gj65-7753-2q9f"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"SafeDep","type":"FINDER","contact":["https://safedep.io"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"600739f96b23cdddf4ff3f36734e4db70832c7fa065fec5f2e019b7951230255","import_time":"2026-06-12T19:43:47.248196652Z","id":"IN-MAL-2026-005916","modified_time":"2026-06-12T19:04:47Z","versions":["6.4.5"]},{"source":"amazon-inspector","sha256":"f8bc285b34b9a2e8abc8e2a86a7a0c8738823d504bbc7e30a4e56b1ec9810162","import_time":"2026-06-12T19:43:47.138542521Z","id":"IN-MAL-2026-005915","modified_time":"2026-06-12T19:04:46Z","versions":["6.4.5"]},{"source":"amazon-inspector","sha256":"327318b337cb5c74f7c13c7347e3d0cfa993be83201e0efd61a634ca1d785b77","import_time":"2026-07-08T20:32:30.944031508Z","id":"IN-MAL-2026-008456","modified_time":"2026-07-08T20:13:13Z","versions":["7.0.0"]},{"source":"amazon-inspector","sha256":"ef019cb5dff581c91837e6bca7268bc58a67b2da2709b0d0ebb295fceccffcda","import_time":"2026-07-08T20:32:30.793640184Z","id":"IN-MAL-2026-008455","modified_time":"2026-07-08T20:13:03Z","versions":["6.4.8"]},{"source":"amazon-inspector","sha256":"2ee7b3fd00827023aedf9460100adab7232aa8521a815bdf6fb03769214d0cb6","import_time":"2026-07-08T21:54:09.806456711Z","id":"IN-MAL-2026-008623","modified_time":"2026-07-08T21:35:14Z","versions":["6.4.9"]},{"source":"ghsa-malware","sha256":"dfd43164e739de65fb308237cdf44f0f849d11ae459d967c0aae2be068af476a","import_time":"2026-07-14T05:12:22.003323132Z","id":"GHSA-gj65-7753-2q9f","modified_time":"2026-07-14T05:00:24Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0