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

目标: 1000 元 · 已筹: 1336

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

@demopack/www

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

Summary

Malicious code in @demopack/www (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
0.0.12archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@demopack/www0.0.12
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-14T16:11:38Z","published":"2026-08-14T16:11:38Z","schema_version":"1.7.4","id":"MAL-2026-14041","summary":"Malicious code in @demopack/www (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d65caef119676a35e0ed5c3ef5a3be0d08c6a487c57270c802319fe68521dadd)\nPackage.json describes the package as 'Static assets distribution', but the shipped HTML/JS is an iOS-version-gated payload loader. js/index.js unconditionally appends a <script> tag loading https://cdn.jsdelivr.net/npm/@cdnshell/loader/a188ps10.js (an unrelated npm scope, no integrity attribute) into the page. 01_iframe.js gates on an iOS user-agent and appends a hidden 0x0 iframe to https://unpkg.com/@themepack/dark/ah3zhsl.html?t=<timestamp> (also an unrelated scope). 02_probe.js computes the iOS build number and selects per-iOS-version 'lanes' (iOS 15.2-17.x) executed inside a Worker; in-code Chinese comments explicitly describe primitive injection, sandbox status, and running attack code via Worker ('真实原语注入模块经 Worker 跑攻击代码'), with gate-exit branches for Mac desktop / older versions. Non-iOS visitors are silently ignored; iOS visitors receive the hidden iframe delivering remote HTML. The publisher scope (@demopack) is unrelated to the scopes hosting the loaded code (@cdnshell, @themepack). A developer who integrates these assets into their site would serve a drive-by iOS exploit chain to their end users. There are no lifecycle scripts, so the harm is not to the npm installer directly, but to the visitors of any site that ships these assets; the advertised purpose is a cover story for browser-side exploit delivery.\n","affected":[{"package":{"ecosystem":"npm","name":"@demopack/www"},"versions":["0.0.12"],"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":"js/02_probe.js","sha256":"273c04a72bfef32d464d2e2944432e309ad9c1a32eea714c08d60822d2dcd028","tlsh":"5222b51654f3807a2436e0ac870f50292baa642b6497d9c0b78cc7147fe193ac3dafdd"},{"path":"js/index.js","sha256":"08925c4b21296941c5d08be8bd28664469941d6fbd90134af93ae0297d1b2a77","tlsh":"f421036c5d6db791852d00e02421e5983df540bf7948ea41cdbf8d1c1ed8f6c10abd52"},{"path":"js/01_iframe.js","sha256":"8bc03dfd3a4ddbc5f29c200bc8e3beb33f32583a5cd2022747bc2c059e194bd5","tlsh":"f51172be073899c4373006d91587f6243b3380b69baa4600d2fee66c6484a641553da6"},{"path":"package.json","sha256":"aeb6853b01c40d67e6d035918e53d55733b3c608198796f851291025c9041316","tlsh":"6dd0a7160e10917306c88678dc245617ab1e052a384c2d1887ea561d135d6f320b676d"}],"package_integrity":[{"filename":"www-0.0.12.tgz","hashes":{"sha1":"635e4e635c8756d403668e5cd75cc2798b5a6ecf","sha512_sri":"sha512-4Smp/WOHl6mUDw8mk1a9grYdGXULVBBDdoFuKHTpyJw7G+DIYjTOVL0a4nVO4KskH/6leH/a/OL6kMoR1AbBjQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@demopack/www/v/0.0.12"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017911","import_time":"2026-08-14T16:22:16.116142005Z","modified_time":"2026-08-14T16:11:38Z","sha256":"d65caef119676a35e0ed5c3ef5a3be0d08c6a487c57270c802319fe68521dadd","source":"amazon-inspector","versions":["0.0.12"]}]}}

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