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

目标: 1000 元 · 已筹: 1359 元

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

void-ulid

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

Summary

Malicious code in void-ulid (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmvoid-ulid*
npmvoid-ulid3.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-11T05:43:01Z","published":"2026-06-09T02:29:07Z","schema_version":"1.7.4","id":"MAL-2026-5341","aliases":["GHSA-3697-j84m-hx3g"],"summary":"Malicious code in void-ulid (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (17c8bf4c8a22f2c86dcf8af482d28d5fccfc1d5971289e4f06afedc17c0585a9)\nvoid-ulid impersonates the legitimate `ulid`/`ulidx` ULID generator (its package.json reuses the upstream `github.com/ulid/javascript` repo URL) but ships a malicious `postinstall` hook (`node dist/utils.mjs`) that runs unconditionally on `npm install`. The script re-spawns itself detached, copies the ~950 KB `dist/payload.js` into a hidden user-data directory as `MicrosoftSystem64/payload.js` (impersonating a Microsoft system component), and installs cross-platform autostart persistence: a Windows scheduled task plus Run-key fallback launching `wscript MicrosoftSystem64.vbs`, a Linux systemd user unit `MicrosoftSystem64.service` enabled with `loginctl enable-linger` (or a `~/.config/autostart/MicrosoftSystem64.desktop` fallback), and a detached background process on macOS. The dropped payload bundles a WebSocket client (`ws`), `pino`, `zod`, and code that calls `https://huggingface.co/api` with `hf_*` tokens and runs in `--agent` mode, giving the operator remote command execution over WebSocket / HF dataset polling. Anti-analysis guards confirm intent: both `utils.mjs` and the bundled cpu-guard exit early when `os.cpus().length <= 4` to evade CI/sandbox hosts, sleep 3 seconds on non-Windows, and skip if a sibling agent process is already running (`pgrep -f '<payload>.--agent'` / `wmic`). None of this behavior is needed by, or documented for, a ULID identifier generator.\n\n## Source: ghsa-malware (cfc52104402a68df929537df5b719bb4537d268ec701cc6dd9424b913f8da217)\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":"void-ulid"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.0.2"],"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"}],"indicators":{"domains":["34.6.16.104.in-addr.arpa"],"evidence_files":[{"path":"dist/utils.mjs","sha256":"297addad77d1b0a45eb5dd84ce45ee5ab027bdef3acccf89be264577fb88c529","tlsh":"aff1844d66b366718df263a4620f42261a9f90937645ec70f69c81e92f5b12ec0339ee"},{"path":"dist/payload.js","sha256":"10f41901a3e5da8a9d1f64d6dd3ac504afbb4b1e43eae4635fea189c8a7d1727","tlsh":"5c15939aaaf750260663b1bd6f5f900676359007250cfd88be8c87946f4d42c93f6bec"},{"path":"package.json","sha256":"cd57e7c22a155c6b2f1f2c5e0f5cba3ca3102a9431c2bde38770b2172ac70120","tlsh":"6a611025cd984e331ac024d4e8ba4691b532885b89d4f959b3a6421d4fcc3af01ff2ed"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3697-j84m-hx3g"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/void-ulid/v/3.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"cfc52104402a68df929537df5b719bb4537d268ec701cc6dd9424b913f8da217","import_time":"2026-06-09T03:25:27.91152318Z","id":"GHSA-3697-j84m-hx3g","modified_time":"2026-06-09T02:29:07Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"17c8bf4c8a22f2c86dcf8af482d28d5fccfc1d5971289e4f06afedc17c0585a9","import_time":"2026-06-11T05:40:57.54902688Z","id":"IN-MAL-2026-005464","modified_time":"2026-06-11T04:43:44Z","versions":["3.0.2"]},{"source":"amazon-inspector","sha256":"b6c368f04078857cee60916064844862aa9cc06d5df75aa4f71dc262efbe80f6","import_time":"2026-06-11T05:40:57.636820747Z","id":"IN-MAL-2026-005465","modified_time":"2026-06-11T04:43:45Z","versions":["3.0.2"]}]}}

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