Uses the user's WhatsApp account to follow a target chosen by the package publisher without the user's request.
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 normal socket creation path automatically follows a hard-coded WhatsApp newsletter using the user's account. This is an unrequested account action toward a target selected by the publisher.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Calling the exported makeWASocket function.
Mechanism
The socket construction chain reaches makeNewsletterSocket, which schedules a WhatsApp newsletter FOLLOW request after one second and suppresses errors.
Attack narrative
Creating a normal socket reaches the newsletter layer, which waits one second and sends a FOLLOW request for a hard-coded newsletter. This performs an account action toward a publisher-chosen target without user consent.
Avoid installing angularsockets@1.4.5. 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.