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

目标: 1000 元 · 已筹: 1359 元

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

@xrelly-stack/bails

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

Summary

Malicious code in @xrelly-stack/bails (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1,106
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@xrelly-stack/bails*
npm@xrelly-stack/bails2.3.20
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17843","published":"2026-10-12T16:27:03Z","modified":"2026-10-29T13:38:34.794361976Z","aliases":["GHSA-8qfw-qm7w-8239"],"summary":"Malicious code in @xrelly-stack/bails (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (195817f808f7604633cfab5e678aea8d4bb53f116c72605d9a2f0852834c5ae3)\npackage.json declares `whatsapp-rust-bridge-baron` as `git+https://github.com/7ucg/whatsapp-rust-bridge.git` — an unpinned git URL with no commit SHA and no tag. On `npm install`, npm fetches whatever the current HEAD of that repository returns and runs any lifecycle scripts inside it, with no integrity check and no version pinning. Whoever controls that GitHub repository controls install-time code execution on every machine that installs this package, and can change that code at any time without republishing to npm. The dependency name (`-baron` suffix) is also a sibling of the primary `whatsapp-rust-bridge` registry dependency listed alongside it, sourced entirely from a third-party GitHub account rather than the npm registry. Combined with the package's `@xrelly-stack/bails` scope resembling the Baileys WhatsApp library ecosystem, the manifest itself is the delivery vector regardless of the contents of the JavaScript shipped in the tarball.\n\n## Source: ghsa-malware (50a8bf97baef2afe279a36ada416d0c235247d68c31748c360ca9bf863cdbe49)\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":"@xrelly-stack/bails","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.3.20"],"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":"package.json","sha256":"dd18bf286a6a92201401c3f506860260eb52736450e304adfc10acd3986c6663","tlsh":"31419d33d5989e6701f967e4b8b92202f5220b1f5890cc1b71bd439c4fb2587322ab6d"},{"path":"lib/WABinary/constants.js","sha256":"a20461ce3d3c2e963e2c779aed02e6a14aa9d1678db3bb4468e9a6ecbdf2c8a2","tlsh":"6672870757f67d656ae3ffa1ce28751f9fbb0484d5023df6b801a2e8290d34096e2417"}],"package_integrity":[{"filename":"bails-2.3.20.tgz","hashes":{"sha1":"0b1ecf868b827a346afb60346cd7634a24554677","sha512_sri":"sha512-w6V4va5hibArJRO39T4oL9uH4h622i8cS9duH+Eyta6adUCXTRyS8TtOsvGy7XKZKk/hxk9vB5FP9M2hQWdRLg=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8qfw-qm7w-8239"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@xrelly-stack/bails/v/2.3.20"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-8qfw-qm7w-8239","import_time":"2026-10-12T16:30:26.94015604Z","modified_time":"2026-10-12T16:27:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"50a8bf97baef2afe279a36ada416d0c235247d68c31748c360ca9bf863cdbe49","source":"ghsa-malware"},{"id":"IN-MAL-2026-021879","import_time":"2026-10-29T13:37:14.677416125Z","modified_time":"2026-10-29T13:19:52Z","sha256":"195817f808f7604633cfab5e678aea8d4bb53f116c72605d9a2f0852834c5ae3","source":"amazon-inspector","versions":["2.3.20"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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