MAL-2026-17285
Dashboard / Malicious Package / MAL-2026-17285
MAL-2026-17285
Summary: Malicious code in @akapaki/baileys (npm)
Details: Source: amazon-inspector (c14fdf44df68d2544cc235039ef40a99c7df7bcbfc968e8d5809762031f0dd16) @akapaki/[email protected] is an unofficial republish of the Baileys WhatsApp library under a new scope (author `paki`, empty README, repository `pernapasquale647-dotcom/paki-baileys`). Its package.json declares the `libsignal` dependency as `github:pernapasquale647-dotcom/paki-libsignal` — a personal GitHub source with no commit SHA, tag, or integrity pin. `npm install` will fetch whatever the repo's default branch currently contains and run any lifecycle scripts inside it on the installer's machine, giving the repository owner unilateral, unaudited control over code executed at install time. The shipped lib/ has not been diffed against upstream Baileys, so behavioral drift from the legitimate library cannot be excluded. Source: ghsa-malware (05141dbb72ff164991b09e418665ce4b79680d12dee2eccfd7b7655705529569) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/@akapaki/baileys/v/1.0.0, https://www.npmjs.com/package/@akapaki/baileys/v/1.0.2, https://www.npmjs.com/package/@akapaki/baileys/v/1.0.1, https://github.com/advisories/GHSA-gxxr-g857-qmrh
Affected packages
Package
Name: @akapaki/baileys
Purl: pkg:npm/%40akapaki/baileys
Affected ranges
Type: SEMVER
Events:
