@rizzkezik/bailseysnpm
Advisory published Updated
@rizzkezik/bailseys is a confirmed malicious npm package (MAL-2026-20335) that executes malicious code on install (malicious version 6.7.10). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @rizzkezik/bailseys (npm)
What this malware does
package.json declares the libsignal dependency as github:tenka-san/libsignal-node with no commit SHA or tag. On npm install, npm clones whatever bytes currently sit at that personal GitHub repository's default-branch HEAD and installs them into the dependency tree, running any lifecycle scripts the fetched payload defines. There is no version pin, no integrity check, and the source is a non-registry, personal-account repository under third-party control — whoever controls tenka-san/libsignal-node can substitute arbitrary code at any time, and every subsequent install of @rizzkezik/bailseys will execute it. The project is a Baileys (WhatsApp library) fork; libsignal is a core cryptographic dependency normally sourced from a pinned registry release, so an unpinned mutable git reference in that slot is a direct install-time code-inclusion path from an untrusted control sphere.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for @rizzkezik/bailseys (version 6.7.10).
If you installed it — respond
Remove @rizzkezik/bailseys 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 @rizzkezik/bailseys 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 @rizzkezik/bailseys-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.