# MAL-2026-20292: Malicious code in @kingorwot/my-baileys (npm)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-20
- Modified: 2026-11-23

## Affected versions

- @kingorwot/my-baileys (npm): 2.0.0, 3.0.0

## Description

This package is a fork of the Baileys WhatsApp library with two installer-facing issues. First, package.json declares a runtime dependency `whatsapp-rust-bridge-baron` sourced from a bare git URL (`git+https://github.com/7ucg/whatsapp-rust-bridge.git`) with no commit SHA, tag, or integrity hash. On `npm install`, npm fetches whatever HEAD of that third-party GitHub repo currently returns and installs it with lifecycle scripts enabled; no vendored copy is shipped despite the bundledDependencies listing. The repository owner (7ucg) is independent of the publisher, so whoever controls that repo can ship arbitrary code into the installer's node_modules at any future install. Second, on socket creation in lib/index.cjs a hidden `setTimeout(..., 120000)` fetches `https://raw.githubusercontent.com/dgxeonking/strings/refs/heads/main/strings.json` from the author's GitHub at a mutable branch and iterates the list, silently invoking `QueryIds.FOLLOW` on the installer's logged-in WhatsApp session to add the installer's account as a follower of each channel ID. The behavior is undocumented and the list is author-mutable. The off-registry unpinned git dependency is the primary installer-harm vector; the covert auto-follow is a secondary misuse of the installer's authenticated WhatsApp session.

## References

- https://www.npmjs.com/package/@kingorwot/my-baileys/v/2.0.0
- https://www.npmjs.com/package/@kingorwot/my-baileys/v/3.0.0

Page: https://cve.now/MAL-2026-20292

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
