The user's WhatsApp account is made to follow a channel without a request. The source also embeds a promotional newsletter identity in event-message metadata.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
The socket's default construction path schedules an unrequested follow of a hard-coded WhatsApp channel. This is an account action unrelated to the library's stated socket functionality, so the package should be blocked.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Creating the messages socket; a timer fires two minutes after the newsletter socket is constructed.
Mechanism
A timer calls the newsletter FOLLOW operation for a fixed channel ID, with errors silently ignored.
Attack narrative
When the normal messages socket creates its newsletter layer, the package schedules a follow request for a fixed WhatsApp newsletter two minutes later. This changes the connected account without user consent; related event metadata contains a hard-coded promotional newsletter identity.
Creating the newsletter socket schedules an automatic FOLLOW request to the hard-coded WhatsApp newsletter ID `120363329486691279@newsletter` after two minutes.
The messages socket constructs the newsletter socket, making that timer part of normal socket creation.
Event-message metadata also defaults to the promotional name `alip shop #information` and a hard-coded newsletter ID.
Evidence against
The preinstall hook only checks the Node.js major version and exits on versions below 20.
The package otherwise presents a WhatsApp socket library with user-invoked messaging and newsletter methods.
Behavioral surface
SourceChild process · Crypto · Filesystem · Network · Shell · Web socket
Supply chainHigh entropy strings · URL strings
ManifestNo manifest risk signals triggered.
Scanned 102 files · 1.79 MB of source
5 external domains referenced
call.whatsapp.com
raw.githubusercontent.com
wa.me
web.whatsapp.com
www.whatsapp.com
Oversized source lightweight scan
WAProto/index.js4.23 MB file, sampled 256 KB
No sampled risky behavior triggered.
Findings
6 high · 4 medium · 6 low
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Avoid installing nishiki-bail@1.1.10. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.