cvelo
P2 · HighMalware

Malicious code in cantarelas (npm)

  • GHSA-9p3q-c7wx-2xvh

Description

A fork of the Baileys WhatsApp library whose default configuration (lib/Defaults/index.js, `DEFAULT_AUTOJOIN_CHANNELS`: 120363186130999681, 120363414017624228 and 120363431327871150) makes the installer's logged-in WhatsApp account follow each channel when the connection opens and then mute it (lib/Socket/newsletter.js, the FOLLOW query then the MUTE query, with retries), so the follow does not show to the user. It runs unless `autoJoinChannels` is set to false. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ad20a83dd54cdd09aef8ee5b683f9b80ac82d95c/osv/malicious/npm/cantarelas/MAL-2026-20819.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

  • cantarelasnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.