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

目标: 1000 元 · 已筹: 1336

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

vue-compiler-sfc-plugin

MAL-2026-4707
2026-08-25 17:27:33
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in vue-compiler-sfc-plugin (npm)

凭据/密钥窃取远程访问后门安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
25
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
3.5.25unavailable
3.5.26unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmvue-compiler-sfc-plugin*
npmvue-compiler-sfc-plugin3.5.25
npmvue-compiler-sfc-plugin3.5.26
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-4707","published":"2026-05-25T15:12:28Z","modified":"2026-08-25T17:27:32.571352758Z","aliases":["GHSA-v29w-qjvw-fm35"],"summary":"Malicious code in vue-compiler-sfc-plugin (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c320320435358c109567ef3776ced079a2196b831b583b66c87323ddf402bae9)\nPackage name and README impersonate the official @vue/compiler-sfc package; index.js merely re-exports it. The npm postinstall hook runs postinstall-run.cjs which invokes tooling-bootstrap.cjs. tooling-bootstrap.cjs concatenates a fragmented base64 array (BOOTSTRAP_B64), decodes it, writes the resulting JS to ~/.gradle/daemon/tooling-api-runtime.mjs (a Gradle-daemon cover name), and detached-spawns it with the user's node binary (spawn(nodeBin, args, { detached: true, stdio: 'ignore', windowsHide: true }); child.unref()). Activation is gated by victim-project sentinels (ALLOWED_PROJECT_SENTINELS includes 'src/businessCom/BLinker.vue' and 'src/api/gameCategorie.js'), so the RAT only deploys inside the intended victim's repo — evading sandboxed install scanners. The decoded payload is a long-running C2 agent that POSTs hostname, OS user, and OS info to https://npmjs.it.com/api/register, persists an agent id at ~/.gradle-cache/.aid, polls https://npmjs.it.com/api/task/<agent>, and dispatches operator-issued ops: exec (spawn /bin/sh or cmd.exe with attacker-supplied command), ls, download (read arbitrary path and POST bytes to /api/file/<agent>/<task>), upload (write attacker-supplied base64 to arbitrary path), delete (fs.rmSync), move, ps. C2 defaults to https://npmjs.it.com/ (a typosquat of npmjs.com) and TLS verification can be disabled via C2_TLS_INSECURE. This is a fully-featured backdoor enabling credential theft (~/.aws, ~/.ssh,.env,.npmrc), arbitrary code execution, and persistent remote control of any machine where install hits the targeted project.\n\n## Source: ghsa-malware (743229aa3fd9708fcc81bfda9b4937eb5202d988c0eb704aa0f4c3393a4dc3c3)\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":{"name":"vue-compiler-sfc-plugin","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.5.25","3.5.26"],"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"}],"indicators":{"evidence_files":[{"path":"tooling-bootstrap.cjs","sha256":"611d046e90549a66bed104e3039df93ff33a7618e5c8bcc285d788c6095f7620","tlsh":"9e6281a6cc9b2d448350461ab5ce28c9284e87833d967dddb6ee82dc6f4e42f01f51ed"}],"package_integrity":[{"filename":"vue-compiler-sfc-plugin-3.5.25.tgz","hashes":{"sha1":"0f1e240ae86d31a345fdc4721855ff55717ad728","sha512_sri":"sha512-70fyCWXaP91GGi3Cs13ZuA9eoOSr3dfdWeddGwM8BiqWQqMXW6ldnyR4ZC8KD8en3sgWhEiCTh6TzrHWghi4AQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vue-compiler-sfc-plugin/v/3.5.25"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vue-compiler-sfc-plugin/v/3.5.26"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v29w-qjvw-fm35"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004696","import_time":"2026-05-26T05:53:06.374150363Z","modified_time":"2026-05-25T15:12:28Z","sha256":"c320320435358c109567ef3776ced079a2196b831b583b66c87323ddf402bae9","source":"amazon-inspector","versions":["3.5.25"]},{"id":"IN-MAL-2026-004915","import_time":"2026-05-26T15:07:42.35599729Z","modified_time":"2026-05-26T14:14:28Z","sha256":"ccae84b1e69608b53868c4776df642dd816aa47b9110e8958aa03fcb6899f5e8","source":"amazon-inspector","versions":["3.5.26"]},{"id":"GHSA-v29w-qjvw-fm35","import_time":"2026-08-25T17:25:28.280668655Z","modified_time":"2026-08-25T16:54:22Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"743229aa3fd9708fcc81bfda9b4937eb5202d988c0eb704aa0f4c3393a4dc3c3","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}

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