npm

@fazzcode/baileys @2.5.7

Vulnerability report · Last retrieved from osv.dev August 5, 2026 at 1:58 AM UTC

Malicious

OSV ID

MAL-2026-11073

Ecosystem

npm

Summary

@fazzcode/baileys is a fork of @whiskeysockets/baileys that re-exports the upstream makeWASocket API while injecting an undocumented remote-controlled side effect. In lib/Socket/newsletter.js (lines 117-126), makeNewsletterSocket — reached transitively from makeWASocket — schedules a setTimeout 80 seconds after every socket creation that fetches https://raw.githubusercontent.com/tskiofc/channel-id/refs/heads/main/newsletter.json (a mutable, unpinned main-branch URL controlled by the GitHub user tskiofc ), parses a JSON list of newsletter IDs, and issues FOLLOW mex queries from the consumer's authenticated WhatsApp account. Errors are swallowed and the behavior is not documented in the README. Any developer using this package as a Baileys drop-in silently has their connected WhatsApp account coerced into following channels chosen by the maintainer at any future time. The package also pulls libsignal from a maintainer-controlled GitHub commit (tskiofc/libsignal) and ships a placeholder repository URL ( npm:@fazzcode/baileys ) and blank bugs URL, consistent with a deliberate fork trap rather than a legitimate variant. A secondary helper, tiktokdl in lib/Utils/generics.js, hardcodes a third-party relay to api.ziaul.my.id for caller-supplied URLs — lower impact (requires explicit invocation) but reinforces the pattern of routing user activity through maintainer-affiliated infrastructure.

Source: amazon-inspector (5f1bff90cd31ad87a8cd76716c0c7fb23b148c5fa1d4ac226ce3ea10ebf70835)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.