Version 1.0.6 of the spencer-baileys npm package silently joined WhatsApp groups and followed channels on the connected account.
The package mimics the Baileys WhatsApp library for Node. npm has since removed the whole project. Any computer or server that connected a WhatsApp socket through version 1.0.6 was exposed.
What happened
Version 1.0.6 added code inside lib/Socket/newsletter.js that acted on the user's WhatsApp account without asking.
- It base64-decoded a hidden address and fetched a list from
savage-prox.onrender.com. - It joined every WhatsApp group in that list with
groupAcceptInvite. - It followed every WhatsApp channel in the list with a follow query.
- The code ran 90 seconds after a connection opened, then every 3 hours, with all errors hidden.
Vigilance caught version 1.0.6 at 11:27 UTC on 15 November 2026, 1 minute 4 seconds after it appeared on npm.
Affected versions
1.0.6, published 11:26 UTC on 15 November 2026, carried the hidden-join code.1.0.5was the last clean release in the comparison record.- npm has removed every version of the package.
Indicators of compromise
- A WhatsApp socket created with
spencer-baileys1.0.6, inlib/Socket/newsletter.js. - Requests to
savage-prox.onrender.com/api/v1/links. - Unexpected group memberships or channel subscriptions on the connected WhatsApp account.
How to check
Use a shell outside the affected project. Run it in the folder that holds your lockfile.
npm ls spencer-baileys
If the package is already gone from your project, check your CI build logs and lockfile history for version 1.0.6. npm removed the package, so a clean install today cannot rule out earlier exposure.
What to do now
- Remove
spencer-baileys1.0.6 and rebuild the project from a clean lockfile. - Check the connected WhatsApp account for unexpected groups and channels, and leave any you did not join.
- Review the contacts, chats and files the session shared, and rotate any credentials it shared.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `spencer-baileys` 1.0.6. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
spencer-baileys 1.0.6
Acts on the connected WhatsApp account on a timer, following lists fetched from the attacker's server.
No security team? See who reads the alert.
Frequently asked questions
What did the hidden code do?
It fetched a list from savage-prox.onrender.com, joined every WhatsApp group on it, and followed every channel on it, repeating every 3 hours.
Which versions are affected?
Version 1.0.6. The comparison record shows 1.0.5 without this code, and npm has removed the whole project.
Is the package still on npm?
No. npm has removed every version of spencer-baileys.
Sources
Send this page to the person who looks after AI at your company.