# MAL-2026-20287: Malicious code in @izi-coder/baileys (npm)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-20
- Modified: 2026-11-20

## Affected versions

- @izi-coder/baileys (npm): 2.0.5, 6.0.9, 6.0.10

## Description

This unofficial fork of Baileys declares a production dependency sourced directly from a GitHub repository with no commit pin: `"libsignal": "github:Cogils/libsignal-node"` in package.json. `npm install` resolves that source off-registry, fetches whatever the branch tip currently holds, and runs any lifecycle scripts inside it. The referenced repository is owned by a third party (`Cogils`), unrelated to the upstream WhiskeySockets/Baileys publisher, so whoever controls that repo controls code executed on the installer's machine at install time. The package also presents low-trust provenance: it is published under `@izi-coder` as an unofficial Baileys fork, the manifest's repository URL points at a Telegram channel rather than a source host, and `lib/index.js` prints a hostile ASCII banner and Telegram self-promo links on import.

## References

- https://www.npmjs.com/package/@izi-coder/baileys/v/2.0.5
- https://www.npmjs.com/package/@izi-coder/baileys/v/6.0.9
- https://www.npmjs.com/package/@izi-coder/baileys/v/6.0.10

Page: https://cve.now/MAL-2026-20287

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
