Malicious package · npm
Malicious code in @rizzkezik/bailseys (npm)
6.7.10No safe version. Remove it.What it 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.
Reported by ghsa-malware Any 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.
No fix · Remove and contain
npm uninstall @rizzkezik/bailseysSources