npm

supunmd-baileys Hidden WhatsApp Channel Follows

Updated 27 Nov 2026 · Incident date 20 Nov 2026

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.js decodes the base64 text MTIwMzYzMzk5MjA1MTQ2NDQ1QG5ld3NsZXR0ZXI= and sends a follow query for that channel ten seconds after socket creation. It suppresses request errors.
  • In 0.0.4, lib/socket/newsletter.js lists 120363406449866977@newsletter in OWNER_CHANNELS and follows it 2.5 seconds after the connection opens.
  • OpenSSF MAL-2026-20674, found by Amazon Inspector, flags 0.0.1 because it depends on libsignal at github:tenka-san/libsignal-node with 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 supunfernando03 as 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.2 and 0.0.3 were not inspected.
  • GitHub lists no patched version.

Indicators of compromise

  • In 0.0.1, the encoded channel marker MTIwMzYzMzk5MjA1MTQ2NDQ1QG5ld3NsZXR0ZXI=, which decodes to 120363399205146445@newsletter.
  • In 0.0.4, the channel ID 120363406449866977@newsletter in OWNER_CHANNELS.
  • OpenSSF lists the 0.0.1 tarball supunmd-baileys-0.0.1.tgz with sha1 e422f56c699febc66d25e61c74fe3960683303fa.
  • 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

  1. Remove supunmd-baileys from affected projects.
  2. On each connected WhatsApp account, unfollow 120363406449866977@newsletter and 120363399205146445@newsletter if the account shows them as followed.
  3. Review any project that pulled github:tenka-san/libsignal-node before reinstalling, because the advisory says that code can change at install time.
  4. Check lockfile history for installs of 0.0.1 through 0.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.

See what to do now.

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

  1. github.com/advisories/GHSA-g54c-cvw3-h9f4
  2. raw.githubusercontent.com/ossf/malicious-packages/main/osv/malicious/npm/supunmd-baileys/MAL-2026-20674.json
  3. registry.npmjs.org/supunmd-baileys

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 202 attacks in the library · npm supply chain attacks · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start freeBrowse the attack library