@risacakep/risayap@7.0.0-rc25.6
Malicious code in @risacakep/risayap (npm)
Analysis
@risacakep/risayap is a fork of the Baileys WhatsApp Web library that silently enrols every account using it into an operator-controlled WhatsApp channel. In lib/Socket/index.js the makeWASocket factory hardcodes the channel JID 120363418729056952@newsletter and registers a connection.update listener that, on every successful connection (`connection === 'open'`), calls socket.newsletterFollow() for that JID with no user action, configuration flag or opt-out; errors are swallowed so the session stays alive and the follow is retried on each reconnect. Because the call runs inside the socket factory, any bot or session built on this package follows the channel automatically. The packaged terminal banner (lib/Utils/terminal-welcome.js) prints the operator's contact handles: WhatsApp hxxps://wa[.]me/88991583829 and Telegram hxxps://t[.]me/shaaaiu. The package also ships a preinstall hook (engine-requirements.js) that only checks the Node.js major version. Other inspected code paths — the ffmpeg thumbnail shell-out, the SQLite auth store, and the remote fetches to raw[.]githubusercontent[.]com/WhiskeySockets/Baileys and web[.]whatsapp[.]com — match stock upstream behaviour; no credential, token or file exfiltration was found in the shipped code.
- analyzed by
- Leitwacht
- first seen
- Nov 10, 2026, 08:35 PM
- analyzed
- Nov 10, 2026, 08:36 PM
- weekly installs
- 1,931
Related advisories
- @risacakep/risayap@7.0.0-rc25.15 same package
- @risacakep/risayap@7.0.0-rc25.14 same package
- @risacakep/risayap@7.0.0-rc25.13 same package
- @yuanjielab/cli@0.13.0
- mock-data-sdk@1.0.1
- wertybailz@1.0.11
- @essentialai/cogent-bridge@3.26.2
- react-bootstrap-table-next-bg@9.9.10
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.