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

目标: 1000 元 · 已筹: 1359 元

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

@emcd-vue/loans

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

Summary

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

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@emcd-vue/loans*
npm@emcd-vue/loans7.1.7
npm@emcd-vue/loans7.1.8
npm@emcd-vue/loans7.1.9
npm@emcd-vue/loans7.2.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T05:14:04Z","published":"2026-06-01T07:05:43Z","schema_version":"1.7.4","id":"MAL-2026-5165","aliases":["GHSA-q777-mww2-r86p"],"summary":"Malicious code in @emcd-vue/loans (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 distribute multiple malicious packages posing as internal tooling. This package was published 90 seconds after sibling package `@emcd-vue/auth` on 2026-06-01 by the same anonymous account (`emcd-vue@proton.me`).\n\nConfirmed to use identical infrastructure and dropper logic as `@emcd-vue/auth`: downloads a platform-specific second-stage payload from `https://oob.moika.tech/payload/{platform}` using `X-Secret: l95HdDaz3kQx1Zsg3WxH6HvKANf51RY1`, writes it to `~/.emcd-vue_init.js` (dot-prefixed hidden file), and executes it as a detached, unref'd process that persists after npm exits. Beacons installation metadata to `https://oob.moika.tech/report` on completion.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7b5f346a554fe9f5f7cfc733c36d4c92c373aea12e245ef70e1031f41ff76f05)\nOn `npm install`, the declared postinstall script `scripts/postinstall.js` executes a heavily obfuscated (obfuscator.io-style) bundle that collects host identifiers (hostname, username, homedir), the full `process.env` (with Windows-specific keys such as USERDOMAIN, COMPUTERNAME, APPDATA, LOCALAPPDATA, TEMP, PROGRAMDATA), the tail of shell history, and the contents of a hardcoded list of files under the user's home directory that the package itself never created. The collected object is transmitted to a remote endpoint over HTTP(S) and additionally over a covert DNS channel: the payload is base32-encoded into subdomain labels and issued as `dns.Resolver().resolveTxt(...)` queries in chunks, bypassing HTTP egress filters. Endpoint hostnames, header names, and API strings are reconstructed at runtime via a shuffled string array with RC4/XOR decoders. Before exfiltrating, the script checks `process.argv` and `NODE_OPTIONS` for debugger indicators and performs a timing check to detect sandboxes, skipping the exfil if analysis instrumentation is detected. The package also exhibits dependency-confusion shape: metadata references an internal-looking scope and registry (`@emcd-vue`, `npm.emcd-vue.io`, `github.emcd-vue.io`) while being published to the public npm registry, and `dist/index.js` re-exports a `../src/index.js` that is absent from the tarball, so the package has no functional library surface — the postinstall is its only executable code.\n\n## Source: ghsa-malware (21b6c74231987d412324ad5320918c42d954a7921042a39b549415cd799b6ad6)\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/loans"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["7.1.8","7.1.7","7.1.9","7.2.0"],"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":["oob.moika.tech.ec2.internal","oob.moika.tech"],"evidence_files":[{"path":"scripts/postinstall.js","sha256":"d6642a67d569aa9008b3f17ecf0ca4644d6f56038f73f70027df1b394d13c45e","tlsh":"19526644eb8061427b079b7b372bb0d4f4194d9176d6098be2087b7cfc46629e5fae34"}],"package_integrity":[{"filename":"loans-7.1.8.tgz","hashes":{"sha1":"5e87e577e1a66e00c162dbf51ca2fd25eb83a7bc","sha512_sri":"sha512-1peMtksqIA/s5NFn+Gftk28ml3JovorSULyPMnfqtc7XGaJZf10ly0BjtQDWLa3gv+n7+F5mr2KmZ5Qgc5YGsQ=="}}]}}}],"references":[{"type":"REPORT","url":"https://safedep.io/oob-moika-tech-dependency-confusion-campaign/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/loans/v/7.1.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/loans/v/7.1.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/loans/v/7.1.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@emcd-vue/loans/v/7.2.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q777-mww2-r86p"}],"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":"5533f10b35ebd7228376d5d97b22009e7d836f198069a2ed894f0cc709fb2d44","import_time":"2026-06-12T19:43:38.061479074Z","id":"IN-MAL-2026-005832","modified_time":"2026-06-12T19:02:54Z","versions":["7.1.8"]},{"source":"amazon-inspector","sha256":"febfe36bf4efb63283bdcac20e625459b8f63358c2e32921a747f29bb2d65917","import_time":"2026-06-12T19:43:37.973434802Z","id":"IN-MAL-2026-005831","modified_time":"2026-06-12T19:02:53Z","versions":["7.1.8"]},{"source":"amazon-inspector","sha256":"2ddab0dbe6a6a3771f688fd4986cb466c88abaf10035e3a774f9ebecf0cf8268","import_time":"2026-07-08T20:32:35.003194327Z","id":"IN-MAL-2026-008486","modified_time":"2026-07-08T20:17:51Z","versions":["7.1.7"]},{"source":"amazon-inspector","sha256":"40ef599bb2c80cdbd97c90ce707427cce812aaba1f050297dc0633634458a4f2","import_time":"2026-07-08T20:32:35.324357171Z","id":"IN-MAL-2026-008489","modified_time":"2026-07-08T20:18:19Z","versions":["7.1.9"]},{"source":"amazon-inspector","sha256":"7b5f346a554fe9f5f7cfc733c36d4c92c373aea12e245ef70e1031f41ff76f05","import_time":"2026-07-09T16:20:57.818890016Z","id":"IN-MAL-2026-009291","modified_time":"2026-07-09T15:56:12Z","versions":["7.2.0"]},{"source":"ghsa-malware","sha256":"21b6c74231987d412324ad5320918c42d954a7921042a39b549415cd799b6ad6","import_time":"2026-07-14T05:12:22.023293842Z","id":"GHSA-q777-mww2-r86p","modified_time":"2026-07-14T05:00:30Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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