@dinzid/bailstaov1@0.1.0
Malicious code in @dinzid/bailstaov1 (npm)
Analysis
This package is a WhatsApp Web API library (a renamed Baileys derivative) with hidden account-manipulation logic added to its socket layer and message builder. In lib/Socket/messages-recv.js a connection.update handler waits until the socket reports "connection open", schedules a 90,000 ms timeout whose callback reconstructs two newsletter identifiers from decimal character-code arrays — "120363408975923153@newsletter" and "120363421171049265@newsletter" — and calls sock.newsletterFollow() on both, inside a try/catch that discards every error. The result is that the victim's WhatsApp account is silently subscribed to the operator's promotion channels 90 seconds after connect, with the identifiers obfuscated so a casual read of the library does not reveal them. lib/Utils/messages.js contains a third hardcoded channel, "12036340870324179@newsletter" (newsletterName "DinZBails"), returned as a defaultAnnotation.newsletter from prepareWAMessageMedia, which injects a channel reference into outgoing media messages. lib/Utils/generics.js adds an Itsuki() helper that GETs hxxps://raw[.]githubusercontent[.]com/Itsukichann/database/refs/heads/main/itsuki.json and returns a random element of the returned array, so the returned content is controlled remotely and can be changed after publication. lib/Utils/messages-media.js uploads media to anonymous public file hosts uguu[.]se and tmpfiles[.]org and converts video through ezgif[.]com. The only lifecycle hook, preinstall (engine-requirements.js), merely enforces Node.js >= 20. No access to registry tokens, repository tokens, .npmrc, cloud credentials or SSH/AWS paths was found in the shipped tree.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:09 AM
- analyzed
- Nov 15, 2026, 09:11 AM
- weekly installs
- 238
Related advisories
- @dinzid/bailstao@0.0.7
- @dinzid/bailstao@0.0.8
- dct-dula-dev-baileys@1.0.3
- smfos-bskdz-util@1.0.1
- jmrwd-gjdob-util@1.0.1
- teahy-znrpz-util@1.0.0
- vojmd-ajgkr-util@1.0.0
- modelsdesk@0.4.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.