@risacakep/risayap@7.0.0-rc25.13
Malicious code in @risacakep/risayap (npm)
Analysis
This package is a third-party Baileys WhatsApp library fork that manipulates the installing user's WhatsApp account without consent. In lib/Socket/index.js it hardcodes CLARISSA_NEWSLETTER_JID = '120363418729056952@newsletter' and registers a connection.update handler that, whenever the socket reports connection === 'open', calls socket.newsletterFollow(CLARISSA_NEWSLETTER_JID): the consumer's account is automatically subscribed to the author's newsletter channel on every connection, failures are swallowed, and no configuration option or documentation exposes the behaviour. The package additionally declares a dependency named 'risayap-disabled'@0.0.0 that has no role in the code, depends on 'whatsapp-rust-bridge'@0.5.4 (a bundled native module re-exported as md5/hkdf/LTHashAntiTampering/expandAppStateKeys), and ships a preinstall hook, engine-requirements.js, that aborts installation with process.exit(1) unless the environment variable CLARISSA_INSTALL is set to 1.
- analyzed by
- Leitwacht
- first seen
- Nov 10, 2026, 11:11 PM
- analyzed
- Nov 10, 2026, 11: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.6 same package
- @trashcore/baileys@4.1.8
- @langitdeveloper/baileys@2.1.1
- @trashcore/baileys@4.1.3
- @vinzsocket/baileys@3.3.1
- @alzx7z/baileys@2.0.5
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.