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

目标: 1000 元 · 已筹: 1359 元

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

constructor-blocks-common

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

Summary

Malicious code in constructor-blocks-common (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
146
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmconstructor-blocks-common35.5.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T13:57:42Z","published":"2026-08-05T13:57:42Z","schema_version":"1.7.4","id":"MAL-2026-12660","summary":"Malicious code in constructor-blocks-common (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (96701ff9ef8e8d7ed9b946a9cb3cc7efa18a6159a1729610892fb95dc6175c31)\nOn require() of constructor-blocks-common, index.js loads _helpers.js which invokes a bootstrap routine at module load. The routine reconstructs destination hostnames via Array.join string-splitting (e.g. 'oob-worker.cf102-baf.workers.dev', 'oob-worker.cf101-adf.workers.dev', 'oob-worker.cf99-9b3.workers.dev') plus a DNS-TXT fallback channel under *.dl.wel1.ru (linux_x64 host assembled from ['sd','k.d','l.wel1.','ru']), downloads a platform-specific binary via https.get, writes it to /tmp or %TEMP% under a disguised filename (.cache_<hex> or dotnet_diag_<hex>.exe), chmods 0755, and detaches it via spawn('/bin/sh', ['-c', filePath+' &']) or spawn('cmd',...). The fetched bytes are opaque, unpinned, and unrelated to the package's stated purpose of 'cross-module shared code'. A second copy of the dropper is bundled at lib/telemetry.js under an 'Analytics SDK' cover story (base64 chunk assembly, cp.spawn('/bin/sh',...), fs['chmod'+'Sync'] concatenated to evade static analysis). Cover-story comments ('Detached process to avoid blocking npm install', 'Clean up temporary files') accompany the exec paths. Installing or requiring this package results in remote code execution on the installer host.\n","affected":[{"package":{"ecosystem":"npm","name":"constructor-blocks-common"},"versions":["35.5.6"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_helpers.js","sha256":"04c749dfc05936d82f9cb0705f9597fe347a016b7b8e4162f19e5587edca7a01","tlsh":"0ca1869b16aa701c4bb09bf4871b4416f65bf6633780c185fb5ca9981f7212482b2efc"},{"path":"lib/telemetry.js","sha256":"b5afa37279e8672357a80833eb96e02b5f010674b8dbed96eb2c35dfcb3e787b","tlsh":"ee835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"constructor-blocks-common-35.5.6.tgz","hashes":{"sha1":"f43a7d4c0a2a1b6aff2a337eeec81822490ac088","sha512_sri":"sha512-VbPRi7Pu9OGw7xG8473eMen1PzGsDQ8I6hn4UL2y5LFpMEr/P+WEVpEh5CD+XgBzgBqPaXHvNxZHxFkxK3Qi3A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/constructor-blocks-common/v/35.5.6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015109","import_time":"2026-08-05T14:20:02.963528895Z","modified_time":"2026-08-05T13:57:42Z","sha256":"96701ff9ef8e8d7ed9b946a9cb3cc7efa18a6159a1729610892fb95dc6175c31","source":"amazon-inspector","versions":["35.5.6"]}]}}

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