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

目标: 1000 元 · 已筹: 1359 元

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

@sauruslord/libsignal

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

Summary

Malicious code in @sauruslord/libsignal (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@sauruslord/libsignal*
npm@sauruslord/libsignal2.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T08:52:53Z","published":"2026-07-15T05:14:18Z","schema_version":"1.7.4","id":"MAL-2026-10659","aliases":["GHSA-p9pv-49fq-8f6m"],"summary":"Malicious code in @sauruslord/libsignal (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b0c2cf2672d98396a7b66cb732741d269732f5faae72293ea46e06b879e7a45b)\nPackage name impersonates Open Whisper Systems' libsignal-node but ships unrelated code. On require() of index.js, after a 1-second delay, install.js locates the installer's @whiskeysockets/baileys directory and overwrites lib/Socket/newsletter.js with an attacker-supplied stub. The replacement stub schedules a setTimeout that, 120 seconds after the host application starts, silently invokes newsletterWMexQuery('120363425694844039@newsletter', QueryIds.FOLLOW) using the installer's authenticated WhatsApp session — auto-following an attacker-controlled WhatsApp newsletter channel without user consent. The original newsletter.js is destroyed (a restoreBackup export is referenced but no backup is ever written). install.js also schedules process.exit(0) 20 seconds after import, terminating the host application. Declared dependencies list `crypto`, `fs`, and `path` as npm packages rather than Node builtins, pulling in registry placeholders/typosquats. Installer harm: any developer who imports this package and also depends on @whiskeysockets/baileys has a third-party dependency silently rewritten on disk and their authenticated WhatsApp session abused on every subsequent run.\n\n## Source: ghsa-malware (cd9e1693f1fd1477895da39b9f225bbc2f7c4ee466044f9db234e0475e403849)\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":"@sauruslord/libsignal"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.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":{"evidence_files":[{"path":"install.js","sha256":"17ea4f900139649f6c1e9c082601673cf8d22c15019ebc265a48c3f4f47b4880","tlsh":"4d72b49665fa67a917a37054a67fb0e0b324f243751598667f8cd0020f4a2dce8f3bd8"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p9pv-49fq-8f6m"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sauruslord/libsignal/v/2.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"cd9e1693f1fd1477895da39b9f225bbc2f7c4ee466044f9db234e0475e403849","import_time":"2026-07-15T06:01:05.251124927Z","id":"GHSA-p9pv-49fq-8f6m","modified_time":"2026-07-15T05:36:35Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"b0c2cf2672d98396a7b66cb732741d269732f5faae72293ea46e06b879e7a45b","import_time":"2026-07-15T08:51:04.302055891Z","id":"IN-MAL-2026-010621","modified_time":"2026-07-15T07:53:42Z","versions":["2.0.2"]}]}}

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