The user's WhatsApp account joins a channel chosen by the package publisher without a request from the user.
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 package automatically uses the user's WhatsApp account to follow a publisher-selected newsletter during ordinary socket setup. This unrequested account action is malicious under the review rules.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
Normal socket construction; the follow is scheduled for 120 seconds later.
Mechanism
The newsletter socket sends a FOLLOW query for the hard-coded channel ID over the authenticated WhatsApp socket and suppresses errors.
Attack narrative
When the package constructs its normal WhatsApp socket, it builds a newsletter socket that schedules a FOLLOW query after two minutes. The query targets a publisher-selected newsletter and runs through the user's authenticated WhatsApp connection without an explicit request, silently ignoring failures.
Creating the newsletter socket schedules a follow to the publisher-selected WhatsApp newsletter `120363329486691279@newsletter` after 120 seconds, with no user action or consent check.
The newsletter socket is created by the message socket setup, which is reached through the package's normal socket construction chain.
The preinstall script only checks the Node.js major version and exits on versions below 20.
Evidence against
The flagged media helper's network and file operations are used for WhatsApp media handling.
The install-time Node.js requirement check does not contact the network or collect host data.
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.80 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
7 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.17. 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.