npm

The @kingorwot/my-baileys npm Malware Advisory

Updated 27 Nov 2026 · Incident date 20 Nov 2026

GitHub published a reviewed malware advisory for the npm package @kingorwot/my-baileys, and npm removed every version of the package.

The advisory covers all versions of the WhatsApp Baileys fork @kingorwot/my-baileys. npm replaced the package with a security holding entry on 27 November 2026, so the code is no longer available for inspection.

What happened

GitHub published the reviewed malware advisory GHSA-xf6c-v2mp-cw3j on 27 November 2026 at 15:45 UTC. It covers every version of the npm package @kingorwot/my-baileys.

  • The advisory describes the package as malware with a severity of critical and the weakness CWE-506, Embedded Malicious Code.
  • It gives the standard full compromise guidance and names no affected version range beyond >= 0.
  • The advisory publishes no technical findings. It lists no files, hashes, servers or commands.
  • npm removed all four versions and now serves only the holding versions 0.0.0-stage and 0.0.1-security under the npm-support account.
  • Because npm removed the code, this page is an attributed advisory summary. The malicious code was unavailable for inspection.

Affected versions

The advisory covers all versions of @kingorwot/my-baileys. The npm registry records four releases before removal:

  • 1.0.0, published 20 November 2026 at 04:32 UTC.
  • 2.0.0, published 20 November 2026 at 04:38 UTC.
  • 3.0.0, published 20 November 2026 at 19:24 UTC.
  • 4.0.0, published 27 November 2026 at 05:02 UTC.
  • npm replaced the package with 0.0.1-security, a security holding package, on 27 November 2026 at 15:46 UTC.

npm removed the package one week after the first release.

Indicators of compromise

The advisory publishes no indicators. It names no files, hashes, domains, IP addresses or commands. npm removed the tarballs, so no code review can add them.

The one verifiable mark is package level: any installed copy of @kingorwot/my-baileys comes from a package that GitHub marks as malware.

How to check

First list the installed version records. Run this command:

npm ls @kingorwot/my-baileys

Then search the lockfile. Use this command:

grep -n '@kingorwot/my-baileys' package-lock.json

An install today cannot prove that an earlier build did not pull the package. The releases ran from 20 to 27 November 2026.

What to do now

The advisory guidance, with the removal noted, is:

  1. Remove @kingorwot/my-baileys from every project that uses it.
  2. Treat any computer that ran the package as fully compromised.
  3. Rotate all secrets and keys that computer can reach. Do this from a different, clean computer.
  4. Review logs on the affected computer for follow-on activity after the removal.

The advisory warns that removing the package does not guarantee removal of all malicious software it installed.

What Vigilance would show

These examples show an install hold and the corresponding owner report.

Example install message

Vigilance blocked `@kingorwot/my-baileys` 4.0.0. This version is too new or changed in a way Vigilance must check first.

Example owner report

Bad update

@kingorwot/my-baileys 4.0.0

A WhatsApp automation package that people install was marked as malware, so computers that run it must be treated as compromised.

See what to do now.

No security team? See who reads the alert.

Frequently asked questions

Is @kingorwot/my-baileys safe to install now?

No. GitHub lists the package as malware in advisory GHSA-xf6c-v2mp-cw3j, and npm has replaced it with a security holding package. Do not install it.

What did the malware in @kingorwot/my-baileys do?

The advisory does not say. It gives full compromise guidance with no technical findings, and npm removed the code, so it cannot be inspected. This page limits itself to the advisory and registry facts.

Which versions of @kingorwot/my-baileys are affected?

All of them. The advisory covers every version from 0 up, and the registry served four releases, 1.0.0 to 4.0.0, before removal.

Sources

  1. github.com/advisories/GHSA-xf6c-v2mp-cw3j
  2. registry.npmjs.org/@kingorwot/my-baileys

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 202 attacks in the library · npm supply chain attacks · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start freeBrowse the attack library