Malicious code in @silent404/baileys (npm)
- GHSA-jp35-8w3r-pg4h
Description
package.json declares `libsignal` as `git+https://github.com/whiskeysockets/libsignal-node` with no commit SHA, tag, or ref pin. On `npm install`, this fetches whatever the default branch currently points to and executes any lifecycle scripts it contains, with no integrity check and no version pin. Control of that repository (or of its default branch) translates directly into code execution on any machine installing this package. The package is a third-party republish under the `@silent404` scope of the Baileys library and transfers install-time trust to an external repository it does not itself control. Other static matches (a `ping`-keyword co-occurrence in lib/Utils/generics.js) correspond to the library's documented WebSocket keep-alive/ping logic, not an exfiltration path. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e731fd4d6693f084cf4183f25f62a73e1a316684/osv/malicious/npm/@silent404/baileys/MAL-2026-20337.json))
Text from the GitHub Advisory record.
Affected
@silent404/baileysnpm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.