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

目标: 1000 元 · 已筹: 1359 元

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

express-session-kit

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

Summary

Malicious code in express-session-kit (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmexpress-session-kit*
npmexpress-session-kit1.1.0-beta
npmexpress-session-kit1.1.1
npmexpress-session-kit1.18.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T17:12:11Z","published":"2026-07-10T15:46:24Z","schema_version":"1.7.4","id":"MAL-2026-10131","aliases":["GHSA-v8j2-pw9x-xx7p"],"summary":"Malicious code in express-session-kit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (076f813c0d0a60ee43f7a73f8aad609e5043cd8d92b57b5c3c3c08954accbb4f)\nThe package impersonates the popular express-session library by copying its name pattern, author metadata (TJ Holowaychuk <tj@vision-media.ca>), and repository field (expressjs/session-kit). The library body is a verbatim copy of express-session with a dropper appended to index.js: an initServer() function invoked at module load spawns a detached, stdio-ignored `node` subprocess to run a sibling payload script. That payload (session/check.js) performs an HTTP GET to http://check-server-state.vercel.app/server/v2 with a `bearrtoken: gemini` header, and when the endpoint responds with HTTP 404 carrying a JSON `token` field, wraps that field with `new Function(\"require\", err.response.data.token)` and immediately invokes it with the real require — granting the remote endpoint arbitrary code execution in the Node process. Delivery via a 404 error body is a covert channel designed to look like a benign failed probe. Although the current dropper references./lib/check.js while the payload actually ships at./session/check.js and the spawn/path bindings are not imported (so the current tarball's dropper would throw before spawning), the second-stage payload file is present, complete, and directly requireable; any consumer that requires the payload — or a trivial fix in a subsequent version — makes the RCE live. Combined with the typosquat cover, this is a supply-chain attack targeting developers who mistype express-session.\n\n## Source: ghsa-malware (44b1bb99fbd84a5cd6a12254371c4689b14a2b8f679157961cd58e26b87b26f9)\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-session-kit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.0-beta","1.18.1","1.1.1"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"31c408d037cbc98781927e1f07833e5dc0c3b6926021fbf1ef78cdccad721879","tlsh":"2821d024d8511c3311c862ea6c396083b67941475e84bc0db7a5125c0fdf5af24fdabd"},{"path":"session/check.js","sha256":"b54a7db3ca2b4241fd341fc42ff8ce4256a793355e354f0ec3acd3141b4a7fe1","tlsh":"2611b1792cf330798556b8e5d70b04553566d023250de8107b9d82e61febc5ea2b3bdc"},{"path":"index.js","sha256":"b22283a1bb3b311210d58c5de6483edbce3be05586375107b74a920977a8f7bc","tlsh":"8172504d39f6613a8a53f479a6af91096370c403311cca15f8ada3b06fc4d71cbe6ad9"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v8j2-pw9x-xx7p"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-session-kit/v/1.1.0-beta"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-session-kit/v/1.18.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/express-session-kit/v/1.1.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"44b1bb99fbd84a5cd6a12254371c4689b14a2b8f679157961cd58e26b87b26f9","import_time":"2026-07-10T16:03:11.237083987Z","id":"GHSA-v8j2-pw9x-xx7p","modified_time":"2026-07-10T15:46:24Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"076f813c0d0a60ee43f7a73f8aad609e5043cd8d92b57b5c3c3c08954accbb4f","import_time":"2026-07-10T17:10:16.203887263Z","id":"IN-MAL-2026-009669","modified_time":"2026-07-10T16:55:13Z","versions":["1.1.0-beta"]},{"source":"amazon-inspector","sha256":"84084741f2766cc8e25901b3c384dcfdf66bb21e0125654602a8e1d6afdc9d18","import_time":"2026-07-10T17:10:15.932673576Z","id":"IN-MAL-2026-009665","modified_time":"2026-07-10T16:54:30Z","versions":["1.18.1"]},{"source":"amazon-inspector","sha256":"dd99ddd6ed52c575514ea6e580f5f8a057c79982a532b3da554443fb801c7883","import_time":"2026-07-10T17:10:16.024143568Z","id":"IN-MAL-2026-009666","modified_time":"2026-07-10T16:54:44Z","versions":["1.1.1"]}]}}

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