supunmd-baileys 0.0.1 is flagged as malware, and inspections show that 0.0.1 and 0.0.4 ask WhatsApp to follow a fixed channel on their own.
GitHub and the OpenSSF malicious packages database flag version 0.0.1 as malware. Amazon Inspector is the named finder.
What happened
Reads of two releases inside a locked container found code that follows WhatsApp channels without a user request.
- In
0.0.1,lib/Socket/newsletter.jsdecodes the base64 textMTIwMzYzMzk5MjA1MTQ2NDQ1QG5ld3NsZXR0ZXI=and sends a follow query for that channel ten seconds after socket creation. It suppresses request errors. - In
0.0.4,lib/socket/newsletter.jslists120363406449866977@newsletterinOWNER_CHANNELSand follows it 2.5 seconds after the connection opens. - OpenSSF MAL-2026-20674, found by Amazon Inspector, flags
0.0.1because it depends onlibsignalatgithub:tenka-san/libsignal-nodewith no commit, tag or integrity hash. The advisory describes this as a dependency hijack surface. It does not report a takeover or the follow timers. - The follow timers come from locked-container inspection, not from the advisories.
- The npm registry lists
supunfernando03as publisher of all four versions. No source states how the bad code got in.
Affected versions
0.0.1, published 20 November 2026, is flagged by GitHub and OpenSSF.0.0.4, the latest version, published 23 November 2026, contains the automatic follow code, per inspection.- Versions
0.0.2and0.0.3were not inspected. - GitHub lists no patched version.
Indicators of compromise
- In
0.0.1, the encoded channel markerMTIwMzYzMzk5MjA1MTQ2NDQ1QG5ld3NsZXR0ZXI=, which decodes to120363399205146445@newsletter. - In
0.0.4, the channel ID120363406449866977@newsletterinOWNER_CHANNELS. - OpenSSF lists the
0.0.1tarballsupunmd-baileys-0.0.1.tgzwith sha1e422f56c699febc66d25e61c74fe3960683303fa. - The unpinned dependency
github:tenka-san/libsignal-node.
How to check
Search the installed package for the channel marker:
grep -rn '120363406449866977@newsletter' node_modules/supunmd-baileys
Check the installed version:
npm ls supunmd-baileys
Review CI build logs and lockfile history for earlier installs. A current version alone cannot show which releases ran before.
What to do now
- Remove
supunmd-baileysfrom affected projects. - On each connected WhatsApp account, unfollow
120363406449866977@newsletterand120363399205146445@newsletterif the account shows them as followed. - Review any project that pulled
github:tenka-san/libsignal-nodebefore reinstalling, because the advisory says that code can change at install time. - Check lockfile history for installs of
0.0.1through0.0.4.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `supunmd-baileys` 0.0.1. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
supunmd-baileys 0.0.1
The installed library asks WhatsApp to follow a fixed channel without a user request.
No security team? See who reads the alert.
Frequently asked questions
Is supunmd-baileys a hijacked package?
No source confirms a hijack. The npm registry lists supunfernando03 as the publisher of every version. GitHub and OpenSSF flag the code in 0.0.1 as malicious.
What does the hidden code do?
Locked-container reads of 0.0.1 and 0.0.4 show timers that send WhatsApp follow queries for fixed channels after connection. The reads did not run the code.
Is the latest version safe to install?
GitHub lists no patched version. Inspection of 0.0.4, the latest version on 27 November 2026, found the automatic follow code.
Sources
Send this page to the person who looks after AI at your company.