MAL-2026-20677

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@alexiddev/baileys/MAL-2026-20677.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20677
Published
2026-11-13T14:19:11Z
Modified
2026-11-27T01:15:04Z
Summary
Malicious code in @alexiddev/baileys (npm)
Details

Malicious package. @alexiddev/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). lib/Alex/auto-follow.js defines a default auto-follow list containing the hardcoded attacker-controlled WhatsApp channel 120363404367589225@newsletter. attachAutoFollow, called from lib/Socket/index.js for every socket, waits for the connection to open and then calls newsletterFollow for that channel, silently subscribing the victim account. The behaviour is enabled by default. Legitimate Baileys never hardcodes a channel JID or auto-follows a channel. Versions 1.0.0 and 1.0.1 carry this code; the 0.0.0-stage placeholder does not.

Database specific
{
    "iocs":  {}
}
References
Credits

Affected packages

npm / @alexiddev/baileys

Package

Name
@alexiddev/baileys
View open source insights on deps.dev
Purl
pkg:npm/%40alexiddev%2Fbaileys

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@alexiddev/baileys/MAL-2026-20677.json"