@vanzzo/priject@1.0.2
Malicious code in @vanzzo/priject (npm)
Analysis
This is a WhatsApp library (a fork of baileys) that silently forces the user's paired WhatsApp account to subscribe to attacker-chosen channels. In lib/Socket/newsletter.js the newsletter socket factory hardcodes a remote control URL, hxxps://raw[.]githubusercontent[.]com/kiryzzo/vanzzooffc/refs/heads/main/vanzzopushch, and schedules a setTimeout of 120000 ms; when it fires it fetches that URL, parses the response as a JSON array of WhatsApp channel JIDs, and calls the newsletter FOLLOW query (newsletterWMexQuery(id, QueryIds.FOLLOW)) for each channel, with an 11000 ms setTimeout between each follow to stay under rate limits. The channel list is attacker-controlled and can be changed at any time without republishing the package, and the two-minute delay pushes the action well past the point where a user would associate it with the install. The package also fetches hxxps://raw[.]githubusercontent[.]com/z4phdev/client/refs/heads/main/information[.]json at require time and prints the returned text as a "latest update" banner, and lib/index.js renders a startup banner built from the session's pairing reference, noise key and identity key while advertising the Telegram handle @vanzzo. The preinstall hook (engine-requirements.js) only checks that Node.js is version 20 or newer.
- analyzed by
- Leitwacht
- first seen
- Nov 10, 2026, 12:17 AM
- analyzed
- Nov 10, 2026, 12:18 AM
Related advisories
- @skycodee/baileys@8.0.15
- @zaiinlin/bails@1.0.7
- charape@1.0.21
- charape@1.0.4
- @denzz221/baileys@8.0.5
- @denzz221/baileys@7.0.0
- @zhengliyoux/baileys@1.0.4
- @rizzkezik/bails@6.1.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.