-= Per source details. Do not edit below this line.=-
On 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.
The OpenSSF Package Analysis project identified 'sf-storybook' @ 1.0.0 (npm) as malicious.
It is considered malicious because:
{
"malicious-packages-origins": [
{
"sha256": "961d26175eb7b4d34d87e6cb162f4b9d5a9febcb520b24a4512406d492a829b5",
"import_time": "2026-06-22T12:33:26.070635733Z",
"source": "ossf-package-analysis",
"modified_time": "2026-06-20T23:04:18Z",
"versions": [
"1.0.0"
]
},
{
"sha256": "a5a1a34bbf1dc84732509c5c5bfbd65adcd442b2665367d0c1bd39dc8301001c",
"import_time": "2026-06-24T03:14:01.707656583Z",
"source": "amazon-inspector",
"modified_time": "2026-06-24T02:45:22Z",
"versions": [
"1.0.0"
],
"id": "IN-MAL-2026-007401"
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sf-storybook/MAL-2026-6261.json"
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"sha256": "0438b9a3d43549f4fdd313b3a9b93ffda7ff7b53342d3e10819aadab0fd9ca1e",
"tlsh": "68019e1a35fb1937733b54a4da0608173646d8025135ef827fee87651fcc4648aa23c6",
"path": "index.js"
},
{
"sha256": "730c1b63a3164d6307a76214dd46658d88ac5e231dc2830d4ca337be23330c0e",
"tlsh": "56d022200a21143305c542720c2980437330cf2f04103c0c67cf182c81df6b36dfa36c",
"path": "package.json"
}
],
"package_integrity": [
{
"filename": "sf-storybook-1.0.0.tgz",
"hashes": {
"sha1": "b6aee2b114cf857ded2804223bb1d72d857b75a1",
"sha512_sri": "sha512-G0UUHgp299ylSjnNsZjivwMCxrdgRseOKtDmaL5QrwdA+BpaBkZm0hJtqYXUc50fiymJ1UX5IwNkV03s+E+7rw=="
}
}
]
}