@kxafunc/xbailsnpm
Advisory published Updated
@kxafunc/xbails is a confirmed malicious npm package (MAL-2026-17701) that executes malicious code on install (malicious version 0.0.8). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @kxafunc/xbails (npm)
What this malware does
package.json aliases the libsignal dependency to npm:@bellaxchuu/libsignal-node@latest — a non-standard publisher pinned to the mutable latest dist-tag with no version pin, no integrity check, and no hash. On every install, npm resolves this alias to whatever bytes @bellaxchuu/libsignal-node currently publishes, and the resolved module is loaded by lib/Signal/libsignal.js and lib/Utils/crypto.js, providing the Signal end-to-end cryptographic primitives (SessionCipher, SessionBuilder, ProtocolAddress, SessionRecord) with access to identity keys, prekeys, and plaintext messages. Whoever controls that upstream package name can push arbitrary code into every installer at any time, executing inside the Signal E2E encrypt/decrypt path. This is an off-registry-style trust relationship: the manifest itself constitutes the exposure, independent of what the current contents of the alias target happen to be.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for @kxafunc/xbails (version 0.0.8).
If you installed it — respond
Remove @kxafunc/xbails from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If @kxafunc/xbails was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @kxafunc/xbails-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.