cvelo
P2 · HighMalware

Malicious code in @krispedia/baileys (npm)

  • GHSA-3c6v-7h4r-3w46

Summary

The npm package @krispedia/baileys is a modified copy of the Baileys WhatsApp Web library that, when imported and a socket is created, starts a 120-second timer. After the timer fires, it sends a newsletter follow request for a hardcoded channel ID on the user's authenticated WhatsApp session, ignoring any errors. There is no way to disable this behavior and the README does not disclose it. The same channel ID also appears in earlier Baileys forks already reported as malicious, such as raiden-baileys and @kazehayadev1/raidenx-baileys. The record is categorized as a malicious package, with no CVSS score and no CISA known-exploited listing.

AI summary · verify against the vendor advisory

Description

@krispedia/baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to a channel chosen by its author. When an application that imports it creates a socket, `makeNewsletterSocket` in `lib/Socket/newsletter.js` starts a 120-second `setTimeout` that sends a newsletter FOLLOW query for the hardcoded 120363407277177688@newsletter on the user's authenticated session, ignoring errors. There is no option to turn it off, and the README does not mention it. The same channel ID is followed by earlier Baileys forks already reported, such as raiden-baileys and @kazehayadev1/raidenx-baileys. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/83393763a7409e848dd3f8ea0138db114f6f71c4/osv/malicious/npm/@krispedia/baileys/MAL-2026-21127.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • @krispedia/baileysnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.