npm

@silent404/baileys npm Malware Advisory

Updated 30 Nov 2026 · Incident date 17 Nov 2026

GitHub and the OpenSSF malicious packages database flag the npm package @silent404/baileys as malware, and npm removed all of its releases.

The package was a republish of the Baileys WhatsApp library under the @silent404 scope. It had 3,795 downloads before npm removed it.

What happened

Two malware records name this package. npm replaced it with a security holding package on 30 November 2026.

  • OpenSSF record MAL-2026-20337, found by Amazon Inspector, lists versions 7.0.0, 7.0.1, 7.0.2 and 7.2.1.
  • The record says package.json declares libsignal as git+https://github.com/whiskeysockets/libsignal-node with no commit, tag or ref pin.
  • The record says whoever controls that repository can run code on any machine that installs the package. It does not describe a payload.
  • GitHub advisory GHSA-5fvq-jq2v-254v covers all versions (>= 0) and lists no patched version.
  • npm removed the code, so it was unavailable for inspection.

Affected versions

  • OpenSSF lists 7.0.0, 7.0.1, 7.0.2 and 7.2.1.
  • GitHub covers every version, including 7.0.0-rc.9-patch.4, 7.0.3, 7.0.4 and 7.2.2.
  • npm dates 7.0.0 to 17 November 2026 and 7.2.2 to 21 November 2026.

Indicators of compromise

  • Any installed copy of @silent404/baileys.
  • OpenSSF lists baileys-7.0.2.tgz with sha1 d2f7bc4571a3abc52e3eaf9955db3b245e74d2f5.
  • OpenSSF lists the flagged package.json with sha256 4e06fc67de1c61aa958422540eed53052b4dd3d0be43913f2e04683e0eb7caaa.

How to check

Check for the package in the project:

npm ls @silent404/baileys

Search the lockfile for the package:

grep -n '@silent404/baileys' package-lock.json

Check lockfile history and CI build logs for earlier installs.

What to do now

  1. Remove @silent404/baileys from every project.
  2. If a machine installed it, rotate its secrets and keys from a different computer, as GitHub advises.
  3. Check CI build logs for installs between 17 and 30 November 2026.

What Vigilance would show

These examples show an install hold and the corresponding owner report.

Example install message

Vigilance blocked `@silent404/baileys` 7.0.0. This version is too new or changed in a way Vigilance must check first.

Example owner report

Bad update

@silent404/baileys 7.0.0

Installing the package pulls and runs code from an unpinned outside repository.

See what to do now.

No security team? See who reads the alert.

Frequently asked questions

Is @silent404/baileys the official Baileys package?

No. OpenSSF describes it as a third-party republish of the Baileys library under the @silent404 scope.

What does the malicious code do?

The advisories do not describe a payload. OpenSSF cites an unpinned git dependency that runs whatever that repository holds at install time. npm removed the code, so it was unavailable for inspection.

Sources

  1. github.com/advisories/GHSA-5fvq-jq2v-254v
  2. api.osv.dev/v1/vulns/MAL-2026-20337
  3. registry.npmjs.org/@silent404%2Fbaileys

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