Skip to main content
MalwarePublished

@sauruslord/libsignal (npm) · Malicious Code

Affects @sauruslord/libsignalSource GCVE Database

0

Malicious package : remove @sauruslord/libsignal and rotate any secrets on hosts that installed it.

Data as of 15 Jul 2026, 12:45 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10659

What to do

Remove @sauruslord/libsignal from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@sauruslord/libsignalAffected
  • =2.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package @sauruslord/libsignal version 2.0.2 impersonates the legitimate libsignal-node package but contains malicious code. Upon requiring the package, it waits one second, then overwrites a file in the installer's @whiskeysockets/baileys dependency with attacker-controlled code. This code abuses the installer's authenticated WhatsApp session to auto-follow an attacker-controlled newsletter channel without user consent. The package also terminates the host application shortly after import. The original overwritten file is destroyed with no backup restoration. Any system with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…