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

目标: 1000 元 · 已筹: 1359 元

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

@kxa/xbails

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

Summary

Malicious code in @kxa/xbails (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
383
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@kxa/xbails*
npm@kxa/xbails0.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17363","published":"2026-10-06T14:39:02Z","modified":"2026-10-29T13:38:34.618189319Z","aliases":["GHSA-7gvw-4c75-pc6p"],"summary":"Malicious code in @kxa/xbails (npm)","details":"This package is part of a large family (100+ identified as of September 2026) of near-identical\nforks of the Baileys WhatsApp Web library that inject a covert channel-subscription action into\nthe WhatsApp socket layer. On connect, the injected code issues an authenticated `w:mex` FOLLOW\nquery (query_id 7871414976211147) against one or more attacker-chosen WhatsApp Channel/Newsletter\nJIDs, using the installer's own authenticated WhatsApp session -- silently subscribing the\nvictim's account to channels it never asked to join.\n\nThe target JID(s) are hidden from casual source review via one of several obfuscation techniques\nobserved across the family: a plain string literal, base64 encoding, base64+XOR, or a char-code\narray reconstructed at runtime. Some variants instead fetch a mutable, attacker-controlled remote\nJSON/JS list of target JIDs from GitHub or another host at runtime, letting the target list change\nafter installation without a new npm publish. Every sample in the family shares the same underlying\nmechanism (a wrapped/patched socket-connect routine that fires the FOLLOW query some seconds after\nconnect), even though the package name, JID value(s), and obfuscation/delivery method differ per\nfork.\n\nThe malicious action abuses the installer's own authenticated WhatsApp session to gain reach and\nsubscribers for attacker-controlled channels; it does not exfiltrate credentials, establish\npersistence, or execute arbitrary remote code.\n\nAffected package: @kxa/xbails (npm), version(s): 0.0.5.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c79f4db658740bd17ea887f006f17b540a7d94fc79561df03035725e0986d590)\npackage.json for @kxa/xbails@0.0.5 declares its libsignal dependency via an npm alias to an unofficial scope pinned to a mutable tag: \"libsignal\": \"npm:@bellaxchuu/libsignal-node@latest\". The official libsignal-node used by Baileys is published under WhiskeySockets; @bellaxchuu is an unrelated third-party scope. Because the alias uses the @latest tag with no version pin and no integrity constraint, every `npm install` of @kxa/xbails resolves whatever bytes that scope currently publishes and executes any lifecycle scripts (preinstall/install/postinstall) contained in them on the installer's host. The manifest itself is the install-time execution vector: the shipped code does not need to be malicious for arbitrary third-party code to run during install, and the resolved payload can change at any time without a new release of this package.\n\n## Source: ghsa-malware (1cc30c634ae2ff3ecb9a8a19343735301003bc57a51c63901090a3a60eb7c990)\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":"@kxa/xbails","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.5"],"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":"bf4b825902d03f0bc05d5af5a207276b76ece23173bce20801522d7bcfaf7b14","tlsh":"ea81db34cd18cea30ac526e9a9bd014294b958539ec1fc0cb35447ac8f1e25fb2b9b2d"}]},"iocs":{"domains":[],"files":[],"ips":[],"urls":["https://t.me/setorankxa"]}}}],"references":[{"type":"ARTICLE","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7gvw-4c75-pc6p"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@kxa/xbails/v/0.0.5"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-7gvw-4c75-pc6p","import_time":"2026-10-06T15:28:00.043697815Z","modified_time":"2026-10-06T14:39:03Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"1cc30c634ae2ff3ecb9a8a19343735301003bc57a51c63901090a3a60eb7c990","source":"ghsa-malware"},{"id":"IN-MAL-2026-021918","import_time":"2026-10-29T13:37:16.538374634Z","modified_time":"2026-10-29T13:25:03Z","sha256":"c79f4db658740bd17ea887f006f17b540a7d94fc79561df03035725e0986d590","source":"amazon-inspector","versions":["0.0.5"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OX Security","type":"FINDER"}]}

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