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

目标: 1000 元 · 已筹: 1359 元

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

@alannxd/baileys

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

Summary

Malicious code in @alannxd/baileys (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1,466
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@alannxd/baileys2.1.2
npm@alannxd/baileys2.1.3
npm@alannxd/baileys2.1.4
npm@alannxd/baileys3.0.0
npm@alannxd/baileys3.0.3
npm@alannxd/baileys4.0.3
npm@alannxd/baileys4.0.4
npm@alannxd/baileys4.0.5
npm@alannxd/baileys5.0.5
npm@alannxd/baileys5.0.6
npm@alannxd/baileys6.0.0
npm@alannxd/baileys6.0.1
npm@alannxd/baileys6.0.2
npm@alannxd/baileys6.0.3
npm@alannxd/baileys6.0.4
npm@alannxd/baileys6.0.5
npm@alannxd/baileys6.0.6
npm@alannxd/baileys6.0.9
npm@alannxd/baileys6.1.0
npm@alannxd/baileys6.1.1
npm@alannxd/baileys6.1.2
npm@alannxd/baileys6.1.3
npm@alannxd/baileys6.1.4
npm@alannxd/baileys6.1.6
npm@alannxd/baileys6.1.7
npm@alannxd/baileys6.2.7
npm@alannxd/baileys6.2.8
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18120","published":"2026-10-21T03:24:45Z","modified":"2026-10-29T14:15:54.397152619Z","aliases":["GHSA-7345-fjw8-x55w"],"summary":"Malicious code in @alannxd/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8d2dd15da8d647385c59765df516101c97dbd343f01574a204a87b8cdaeaef3c)\nThis is a fork of the Baileys WhatsApp library. On every `require('@alannxd/baileys')`, the package's main entry (`lib/index.js`) performs an unconditional HTTPS GET to `https://raw.githubusercontent.com/alannzxd/xclient/refs/heads/main/information.json` on a mutable branch of the author's personal GitHub repo and prints one string from the response via `console.log`. The response body is only logged — it is not passed to `eval`/`exec`/`Function`/`require` — so this is a covert usage phone-home (leaks installer IP + User-Agent + import-time signal to the author on each load) rather than a remote-code-execution channel. Separately, `package.json` declares `\"libsignal\": \"npm:@alannxd/libsignal-node@latest\"`, aliasing the well-known `libsignal` import specifier to an author-scoped package tracked at `latest`; every `require('libsignal')` inside this package resolves to whatever the author currently publishes there, giving the author a persistent mutable code channel into consumers' dependency trees. The `ping` and `child_process`/HTTP patterns matched by pattern rules resolve to Baileys' normal media-upload and connectivity code paths (POST/GET against WhatsApp media endpoints), not to attacker infrastructure. No credential harvesting, no environment scraping, no filesystem enumeration, and no exfiltration of caller data were observed in the traced code. Concerns are undisclosed import-time beacon to author-controlled mutable infrastructure and an unpinned author-controlled alias overriding a well-known module name — both consent/transparency issues warranting human review of maintainer trust before recommending this fork.\n\n## Source: ghsa-malware (840c3322267f13ca6fa905016fabb93a923c1a490fa0584d9e173f0f0a8f71d0)\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":{"name":"@alannxd/baileys","ecosystem":"npm"},"versions":["6.2.8","6.2.7","6.1.7","6.1.6","6.1.4","6.1.3","6.1.2","6.1.1","6.1.0","6.0.9","6.0.6","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","5.0.6","5.0.5","4.0.4","4.0.5","4.0.3","3.0.3","3.0.0","2.1.4","2.1.3","2.1.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"},{"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"},{"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"},{"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"},{"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/index.js","sha256":"cd9d3d5d9c3d8187548a52ecbd89036de624025d59bd434850b836136260cfbe","tlsh":"ed41dcb27ce452b4a1f490a36717d102fb659b2b2b34a110f2ccb7b54bd58b125acd24"}],"package_integrity":[{"filename":"baileys-6.0.0.tgz","hashes":{"sha1":"a63a81d886c397c9ef9430942fca915a8550a5d7","sha512_sri":"sha512-ArWnR1dsfW43aPRStzqkButf3yFsLA613U56v/PL5YtoEviwBBbla4MBJljTuQh3ut6G5JvhGVTwSARpOfcSdQ=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7345-fjw8-x55w"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.2.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.2.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alannxd/baileys/v/6.1.7"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-7345-fjw8-x55w","import_time":"2026-10-21T03:30:23.309092576Z","modified_time":"2026-10-21T03:24:46Z","sha256":"840c3322267f13ca6fa905016fabb93a923c1a490fa0584d9e173f0f0a8f71d0","source":"ghsa-malware","versions":["6.2.8","6.2.7","6.1.7","6.1.6","6.1.4","6.1.3","6.1.2","6.1.1","6.1.0","6.0.9","6.0.6","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","5.0.6","5.0.5","4.0.4","4.0.5","4.0.3","3.0.3","3.0.0","2.1.4","2.1.3","2.1.2"]},{"id":"IN-MAL-2026-021999","import_time":"2026-10-29T13:37:19.178772247Z","modified_time":"2026-10-29T13:35:42Z","sha256":"0e9d7bff836cddc1be5b33cd8bfe9b921d8706e8988050d1f80e37d5277332aa","source":"amazon-inspector","versions":["6.0.0"]},{"id":"IN-MAL-2026-022008","import_time":"2026-10-29T13:37:19.448462794Z","modified_time":"2026-10-29T13:36:52Z","sha256":"973978b450f3ddfa32ac5cef7ba7ef7765f6b15a526b448aabfd36afb5adbcef","source":"amazon-inspector","versions":["6.0.1"]},{"id":"IN-MAL-2026-021993","import_time":"2026-10-29T13:37:19.000303903Z","modified_time":"2026-10-29T13:35:02Z","sha256":"cbf5f1772641d240bf31a265b35ef36c0df2d2cbf267a45814588748ec2fca7c","source":"amazon-inspector","versions":["6.0.3"]},{"id":"IN-MAL-2026-021994","import_time":"2026-10-29T13:37:19.026507282Z","modified_time":"2026-10-29T13:35:09Z","sha256":"d4b5902c2de66cb5d15b06053cf0c272db692251e02941cd70602c9046868758","source":"amazon-inspector","versions":["6.0.6"]},{"id":"IN-MAL-2026-022005","import_time":"2026-10-29T13:37:19.357227406Z","modified_time":"2026-10-29T13:36:29Z","sha256":"d4fb2a79f40e981f5c9f9d74c13e260bedf63dec8aca64dfdd2238c8450ec383","source":"amazon-inspector","versions":["6.0.9"]},{"id":"IN-MAL-2026-022048","import_time":"2026-10-29T14:14:20.864234087Z","modified_time":"2026-10-29T13:41:59Z","sha256":"3e5de9687255f11c42ec10e9ee560d489c3d58434065e4893ad09ccf28bfb3c6","source":"amazon-inspector","versions":["6.1.1"]},{"id":"IN-MAL-2026-022012","import_time":"2026-10-29T14:14:17.305604408Z","modified_time":"2026-10-29T13:37:23Z","sha256":"43c99112f23ee7df45ecbf5699bbb527827e872f3dc4a1a87a2c909a98698713","source":"amazon-inspector","versions":["6.0.5"]},{"id":"IN-MAL-2026-022118","import_time":"2026-10-29T14:14:27.382837084Z","modified_time":"2026-10-29T13:51:10Z","sha256":"530c1d9aba72b8fd3f89b57d799167275596d85e4ac2e1836be11809cd63bf6f","source":"amazon-inspector","versions":["6.2.7"]},{"id":"IN-MAL-2026-022010","import_time":"2026-10-29T14:14:17.09890855Z","modified_time":"2026-10-29T13:37:07Z","sha256":"8d2dd15da8d647385c59765df516101c97dbd343f01574a204a87b8cdaeaef3c","source":"amazon-inspector","versions":["6.1.3"]},{"id":"IN-MAL-2026-022047","import_time":"2026-10-29T14:14:20.73962242Z","modified_time":"2026-10-29T13:41:52Z","sha256":"901326b040166aaaa815e98061b8e607ac0da0d3d83963a1f8dc6cf3c9156a05","source":"amazon-inspector","versions":["6.1.2"]},{"id":"IN-MAL-2026-022264","import_time":"2026-10-29T14:14:38.566110609Z","modified_time":"2026-10-29T14:10:19Z","sha256":"976c0a4b2ed1e73be920364dc4849cb98af0fc7645ce7182a45952fcd7a53626","source":"amazon-inspector","versions":["6.0.2"]},{"id":"IN-MAL-2026-022123","import_time":"2026-10-29T14:14:27.84384693Z","modified_time":"2026-10-29T13:51:53Z","sha256":"d516b614436c8b82c0c03236cf3a95c7d2329f7dd5f06a2e3dc386c65a85a0da","source":"amazon-inspector","versions":["6.2.8"]},{"id":"IN-MAL-2026-022011","import_time":"2026-10-29T14:14:17.212358812Z","modified_time":"2026-10-29T13:37:15Z","sha256":"e300a6567291156ceceda3af4faa6e5dc7bd3eb25eacf563cc58f0b5a2f67c59","source":"amazon-inspector","versions":["6.1.0"]},{"id":"IN-MAL-2026-022064","import_time":"2026-10-29T14:14:22.469394337Z","modified_time":"2026-10-29T13:44:04Z","sha256":"3e614f0fcdb9b47d5fd7a03b925c5d621ca353d52171c0ec3d9d3a3d2d0244f8","source":"amazon-inspector","versions":["6.1.4"]},{"id":"IN-MAL-2026-022125","import_time":"2026-10-29T14:14:28.025269499Z","modified_time":"2026-10-29T13:52:07Z","sha256":"412ce37009e842aa4bfa5d55f047741cc6d897d5a9e377669740780d14637528","source":"amazon-inspector","versions":["6.1.6"]},{"id":"IN-MAL-2026-022265","import_time":"2026-10-29T14:14:38.638500193Z","modified_time":"2026-10-29T14:10:27Z","sha256":"5b2b1fc812d0b95251c634038ddc2a9d90aa191bf156f657cc5ed2669b546798","source":"amazon-inspector","versions":["6.0.4"]},{"id":"IN-MAL-2026-022066","import_time":"2026-10-29T14:14:22.610168341Z","modified_time":"2026-10-29T13:44:18Z","sha256":"b52d9b86c8bae1e7c18436c16c29cafa72a1e24a545ae030c4e66b6e4c584463","source":"amazon-inspector","versions":["6.1.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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