@pasqua-dev/baileys@2.8.12
Malicious code in @pasqua-dev/baileys (npm)
Analysis
@pasqua-dev/baileys@2.8.12 ships a fork of the WhatsApp Web library @whiskeysockets/baileys under an unofficial scope, and its README examples import the library from a third, different scope (@pasqua-baileys/baileys). It declares the dependency cache-manager ^7.2.8, a semver range that resolves to cache-manager@7.2.10, and it loads that module on import: lib/Store/make-cache-manager-store.js begins with `import { createCache } from 'cache-manager'`, is re-exported through lib/Store/index.js and again through lib/index.js, so any application that imports this library executes that dependency's code in-process at load time. The package also ships lib/Utils/bug-payloads.js, a "bug payload engine" that constructs malformed WhatsApp binary stanzas intended to freeze or crash other users' clients: 1500-level alternating group/text tag towers to blow a client's parser stack, 16 MB invisible-separator bodies, stacks of zero-width/RTL bidi poison, 2048 phantom devices with oversized identity keys, sender-attribution-stripped "anonymous" strikes, a group-wide crash payload, and a "timebomb" variant described as triggering when the recipient reopens the chat. Its only lifecycle hook (preinstall, engine-requirements.js) is a Node >=20 version check; the package itself reads no credential files and no npm/GitHub/cloud token environment variables.
- analyzed by
- Leitwacht
- first seen
- Nov 27, 2026, 07:08 PM
- analyzed
- Nov 27, 2026, 07:11 PM
hxxps://github[.]com/pasquawisdom2007-beep/pasqua-baileys Request takedown / dispute →Related advisories
- @pasqua-dev/baileys@2.8.11 same package
- @pasqua-dev/baileys@2.0.0 same package
- @pasqua-dev/baileys@1.0.0 same package
- stellarfixer@1.0.0
- osinthell@1.9.5
- @lekzo/baileys@0.0.1
- bx-ui-view@1.0.0
- @versacode/baileys@1.4.5-beta.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.