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

目标: 1000 元 · 已筹: 1359 元

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

sf-storybook

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

Summary

Malicious code in sf-storybook (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
68
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsf-storybook1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-24T03:15:48Z","published":"2026-06-20T23:04:18Z","schema_version":"1.7.4","id":"MAL-2026-6261","summary":"Malicious code in sf-storybook (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a5a1a34bbf1dc84732509c5c5bfbd65adcd442b2665367d0c1bd39dc8301001c)\nOn `require('sf-storybook')`, index.js shells out via child_process to run `cat /etc/passwd >./passwd.txt` and then POSTs the file contents via curl to `http://144.126.158.177:4325/$(whoami)/$(hostname)/` over plaintext HTTP. The package leaks the installer's username, hostname, and full /etc/passwd contents to a hardcoded bare-IP attacker endpoint. The package name impersonates the `storybook` ecosystem, ships empty author/description metadata, and contains only this exfiltration payload with no functionality matching its implied purpose — a typosquat lure with an embedded credential/host recon stealer.\n\n## Source: ossf-package-analysis (961d26175eb7b4d34d87e6cb162f4b9d5a9febcb520b24a4512406d492a829b5)\nThe OpenSSF Package Analysis project identified 'sf-storybook' @ 1.0.0 (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":{"ecosystem":"npm","name":"sf-storybook"},"versions":["1.0.0"],"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":"index.js","sha256":"0438b9a3d43549f4fdd313b3a9b93ffda7ff7b53342d3e10819aadab0fd9ca1e","tlsh":"68019e1a35fb1937733b54a4da0608173646d8025135ef827fee87651fcc4648aa23c6"},{"path":"package.json","sha256":"730c1b63a3164d6307a76214dd46658d88ac5e231dc2830d4ca337be23330c0e","tlsh":"56d022200a21143305c542720c2980437330cf2f04103c0c67cf182c81df6b36dfa36c"}],"package_integrity":[{"filename":"sf-storybook-1.0.0.tgz","hashes":{"sha1":"b6aee2b114cf857ded2804223bb1d72d857b75a1","sha512_sri":"sha512-G0UUHgp299ylSjnNsZjivwMCxrdgRseOKtDmaL5QrwdA+BpaBkZm0hJtqYXUc50fiymJ1UX5IwNkV03s+E+7rw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sf-storybook/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","sha256":"961d26175eb7b4d34d87e6cb162f4b9d5a9febcb520b24a4512406d492a829b5","import_time":"2026-06-22T12:33:26.070635733Z","modified_time":"2026-06-20T23:04:18Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"a5a1a34bbf1dc84732509c5c5bfbd65adcd442b2665367d0c1bd39dc8301001c","import_time":"2026-06-24T03:14:01.707656583Z","id":"IN-MAL-2026-007401","modified_time":"2026-06-24T02:45:22Z","versions":["1.0.0"]}]}}

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