MAL-2026-20816

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/thinuzbaileys/MAL-2026-20816.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20816
Published
2026-11-27T00:00:00Z
Modified
2026-12-01T09:30:04Z
Summary
Malicious code in thinuzbaileys (npm)
Details

Malicious package. thinuzbaileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). lib/Socket/socket.js defines AUTO_FOLLOW_CHANNEL_JID = 120363425542933159@newsletter and, 3 seconds after the connection opens, sends a newsletter FOLLOW (xwa2_newsletter_join_v2) for it, suppressing 'already subscribed' errors. This silently subscribes the victim account to the channel. The README states that developer auto-follow newsletter scripts have been completely stripped out. Legitimate Baileys never hardcodes or auto-follows a channel. Version 0.0.0-stage is a placeholder stub without this code.

Credits

Affected packages

npm / thinuzbaileys

Package

Name
thinuzbaileys
View open source insights on deps.dev
Purl
pkg:npm/thinuzbaileys

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/thinuzbaileys/MAL-2026-20816.json"