Skip to main content
MalwarePublished

@kingorwot/my-baileys (npm) · Malicious Code

Affects @kingorwot/my-baileysSource GCVE Database

0

Malicious package : remove @kingorwot/my-baileys and rotate any secrets on hosts that installed it.

Data as of 20 Nov 2026, 06:22 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20292

What to do

Remove @kingorwot/my-baileys 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@kingorwot/my-baileysAffected
  • =2.0.0
Fixed in–

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

Description

The @kingorwot/my-baileys npm package (version 2.0.0) includes malicious code that automatically causes the installer's WhatsApp session to follow arbitrary channels without disclosure. This occurs via a delayed task that fetches a mutable JSON file from a personal GitHub repository, enabling the attacker to control which channels are followed. The package depends on an unpinned third-party repository, allowing arbitrary code execution during installation.

References

Community reviews

Loading reviews…