@axo_cuy/baileys@5.0.0
Malicious code in @axo_cuy/baileys (npm)
Analysis
This package is a modified clone of the WhatsApp WebSocket library @whiskeysockets/baileys, published as @axo_cuy/baileys so that its README can instruct users to alias the official name to it ("@whiskeysockets/baileys": "npm:@axo_cuy/baileys") — installs of the genuine library then resolve to this fork. The clone adds code that sends data to an unaffiliated third-party host: lib/Socket/socket.js defines checkBan(number), which performs GET hxxps://kyuux-r[.]indevs[.]in/api/check-whatsapp?phone=<number> with the target's full phone number and injects a hardcoded "creator" attribution (t[.]me/luyatiem) into the response. lib/Socket/luxu.js hardcodes WhatsApp channel JIDs (120363421563597486@newsletter, 120363399602691477@newsletter) and stamps outgoing messages with forwardedNewsletterMessageInfo so forwards are attributed to those channels; lib/Socket/MessageBuilder.js promotes whatsapp[.]com/channel/0029VbCV1ck8fewpdNb2TY2k and lib/index.js prints t[.]me/allinfoaxo and t[.]me/broaxo on load. It also declares a dependency on cache-manager ^7.2.8, resolving to a release identified as malicious, so installing it pulls malware into the dependency tree.
- analyzed by
- Leitwacht
- first seen
- Nov 16, 2026, 02:17 PM
- analyzed
- Nov 16, 2026, 02:19 PM
Related advisories
- @axo_cuy/baileyss@4.0.0
- @axo_cuy/baileyss@1.0.0
- @axo_cuy/baileyss@3.0.1
- @shurainc/baileys@3.0.2
- @riyanofficial/baileys-pro@1.0.2
- zenvyflump@2.0.3
- @zetagoaurum-socket/wasocket@2.2.2
- venzuu-baileys@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.