Skip to main content
Menu
Advisories

Malicious code in @iky-erza/baileys (npm)

MAL-2026-20284Published Updated OpenSSFMalware

Description

package.json declares the runtime dependency libsignal as github:tenka-san/libsignal-node with no commit SHA, tag, or semver pin. On npm install, npm fetches whatever the repository's default branch HEAD currently points at and runs any lifecycle scripts inside it on the installer's machine, with no integrity check and no version pinning. Whoever controls that GitHub account can change the resolved code at any time without republishing this package, and installers running npm install @iky-erza/baileys will pick up the change on the next install. This is an off-registry, mutable dependency source — a different trust surface from the registry-published libsignal used by upstream Baileys. A separate static match on lib/Utils/generics.js corresponds to standard cross-platform ping dispatch for connectivity checks and is not by itself indicative of exfiltration.

Affected versions

References