Malicious code in @silent404/baileys (npm)
MAL-2026-20337
Published · Modified
Dependency scanning
Check whether @silent404/baileys is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (a8c78aa3f8099cb8bfc40966d5098cfb17f0efba719136cf84fb2034de8cfbea)
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes