@pasqua-dev/baileys@2.0.0
Malicious code in @pasqua-dev/baileys (npm)
Analysis
@pasqua-dev/baileys is a combosquat that reuses the canonical basename of the WhatsApp Web library @whiskeysockets/baileys under an unrelated scope, shipping a lightly modified copy of the upstream source tree rebranded as a "PASQUA edition" (its own README still instructs users to install @pasqua-baileys/baileys). The package declares a runtime dependency on cache-manager with the range ^7.2.8, which resolves to a release that is itself part of a malicious-package chain, so installing this package pulls a compromised dependency into the installer's dependency tree. It also carries a preinstall lifecycle script in package.json ("preinstall": "node ./engine-requirements.js"); in this version that script only checks the Node.js major version and exits, and the bundled lib/ JavaScript contains no obfuscated payload, no credential or ~/.npmrc harvesting, and no hardcoded command-and-control endpoint — the network calls present (fetch() against link-preview URLs, media URLs, web[.]whatsapp[.]com, WhatsApp GraphQL endpoints, and an optional user-configured webhook) are ordinary WhatsApp-client behaviour. Packages: @pasqua-dev/baileys@2.0.0; transitive risk: cache-manager ^7.2.8.
- analyzed by
- Leitwacht
- first seen
- Nov 27, 2026, 07:06 PM
- analyzed
- Nov 27, 2026, 07:08 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.8.12 same package
- @pasqua-dev/baileys@1.0.0 same package
- alwaysrizz@2.0.0
- @animebails/baileys@0.0.0-stage
- @hanzofc/baileys@7.2.4
- @dekzypedia/baileys@7.0.0-dekzy.3
- @leonoremods/baileys@1.2.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.