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

目标: 1000 元 · 已筹: 1359 元

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

express-initial

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

Summary

Malicious code in express-initial (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmexpress-initial*
npmexpress-initial12.1.10
npmexpress-initial12.1.7
npmexpress-initial12.1.8
npmexpress-initial12.1.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:04:35Z","published":"2026-06-26T21:40:14Z","schema_version":"1.7.4","id":"MAL-2026-6543","aliases":["GHSA-fh43-48vc-c9r9"],"summary":"Malicious code in express-initial (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a8d292a4664135ed1869f907d62fb6472839ab54a59aedb2f3a88022a0c70095)\npackage.json declares `\"postinstall\": \"node index.js\"`, so `npm install express-initial` automatically runs the package's main script. index.js is heavily obfuscated (obfuscator.io-style 317-entry RC4-encoded string array, base64 decoder, array-rotation self-shuffle, control-flow flattening) which hides the destination URL, AES key material, and command strings from any plain-text inspection. At runtime the script imports http/https, fs, path, os, crypto, and child_process, performs an HTTPS GET against a hard-coded remote host, splits the response on ':' into IV and ciphertext, decrypts via `crypto.createDecipheriv('aes-256-...', <sha256-derived key>, Buffer.from(iv,'base64'))`, writes the decrypted bytes into `path.join(os.tmpdir(), <name>)` with flag 'w+', and immediately invokes the dropped file via `child_process.exec`/`execFile` with `windowsHide: true`. This is a fetch-decrypt-and-execute dropper firing on default install. The package name also leverages the popular `express` framework while shipping empty author/description/repository metadata and a generic README that itself notes the script is obfuscated — consistent with a deliberate supply-chain lure rather than a legitimate helper.\n\n## Source: ghsa-malware (7e5efd40dc0c1b6d6087636366132ffd18b77da665b9984fddb61c9bb72a80de)\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":"express-initial"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["12.1.9","12.1.10","12.1.8","12.1.7"],"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":{"evidence_files":[{"path":"index.js","sha256":"9ecade5bfc69696b2077c067bcb38d77ca75563ad1432b8a43acef5e87f0010b","tlsh":"c682778c3fd1b0a15633b0f77a1b6496f1795c88b38d8948f796f058fd28318e496b68"},{"path":"package.json","sha256":"1a736723cd34a5e32c8301b6a6858e3329712eeb6306f3f3962e5cb5f64cf9e5","tlsh":"9bd097220e920a3366b046962c3a818bb2a04f2f24307c0b71ff053c42e33318cee718"}],"package_integrity":[{"filename":"express-initial-12.1.9.tgz","hashes":{"sha1":"e60bc20725873207cc80e2d5ad3b47a5e4acbea4","sha512_sri":"sha512-VDv/DISstAYC5rkKglhg5QD1Tc6GX/j1wpRT1AKh/p0MtIwf8Ta8TtFbVUAgfgDTJfI0s1kZ4BpZBTPJ8f3R/g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-initial/v/12.1.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-initial/v/12.1.10"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fh43-48vc-c9r9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-initial/v/12.1.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-initial/v/12.1.7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"1ba96d5070924af79839d4dbc950b28c3f59ad9515890cf83f1d631a6678c120","import_time":"2026-06-26T22:30:41.298649551Z","id":"IN-MAL-2026-007670","modified_time":"2026-06-26T21:40:14Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["12.1.9"]},{"source":"amazon-inspector","sha256":"a8d292a4664135ed1869f907d62fb6472839ab54a59aedb2f3a88022a0c70095","import_time":"2026-06-26T22:30:41.346416062Z","id":"IN-MAL-2026-007671","modified_time":"2026-06-26T21:40:25Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["12.1.10"]},{"source":"ghsa-malware","sha256":"7e5efd40dc0c1b6d6087636366132ffd18b77da665b9984fddb61c9bb72a80de","import_time":"2026-07-06T19:53:47.952858147Z","id":"GHSA-fh43-48vc-c9r9","modified_time":"2026-07-06T18:53:35Z","versions":["12.1.10","12.1.9"]},{"source":"amazon-inspector","sha256":"05b5a3016dcada528db43d8794eeeee3e636bf0dbeb9da9762cc9346aefed819","import_time":"2026-07-09T22:02:32.791475731Z","id":"IN-MAL-2026-009449","modified_time":"2026-07-09T21:57:29Z","versions":["12.1.8"]},{"source":"amazon-inspector","sha256":"56d221644585c365a01de2a02700d57d67968e1c903036f40f8a93e6af31637f","import_time":"2026-07-09T22:02:29.467260427Z","id":"IN-MAL-2026-009419","modified_time":"2026-07-09T21:53:13Z","versions":["12.1.7"]}]}}

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