MAL-2026-20339: Malicious code in @iky-zan/baileys (npm)

Published Nov 23, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e01a7dc5ccaed485aa64e740a0efaa42ed9397e7b5ad407e7595c727a2b37fcf) package.json declares libsignal as github:tenka-san/libsignal-node — a bare GitHub repository reference with no commit SHA, branch, or tag pin. On npm install, npm fetches whatever HEAD of that repository returns at install time, installs it as a dependency, and runs any lifecycle scripts inside it, with no integrity check and no version pinning. The referenced GitHub account tenka-san is unrelated to the package's declared publisher scope @iky-zan, so the code that executes on the installer's machine is controlled by a third party outside the publishing identity. The content of the referenced repository can change at any time without any update to this package, so the code installed today may differ from the code installed tomorrow.

Affected Software

1 affected component
npm/@iky-zan/baileys=0.1.0

Event History

Nov 23, 2026
Advisory Published
via OSV·03:59 AM
Data Sourced
via OSV·03:59 AM
DescriptionAffected Software

Frequently Asked Questions

1

What systems are exposed to this risk?

Systems that run npm install for @iky-zan/baileys may fetch and execute code from the unpinned GitHub dependency github:tenka-san/libsignal-node. The fetched code can vary between installations because npm retrieves the repository's current HEAD.

2

What does an attacker need to exploit this?

An attacker would need the ability to change the contents of the tenka-san/libsignal-node repository. A changed repository HEAD could then be fetched during a subsequent npm installation and its lifecycle scripts could run on the installer's machine.

3

Is a normal installation affected, or does this require a special configuration?

A normal npm install is affected because the dependency is declared as a bare GitHub repository reference with no commit, branch, or tag pin. No integrity check or version pin is specified for the fetched dependency.

4

What can be done if the package cannot be removed immediately?

Avoid fresh or repeated npm installs that could retrieve a changed repository HEAD. Pin the libsignal dependency to a specific reviewed commit SHA and ensure installation does not execute unreviewed lifecycle scripts.

5

How can I determine whether an environment may be affected?

Check whether @iky-zan/baileys is present in the dependency tree or package manifests, and inspect its resolved libsignal dependency. Environments that installed it at different times may have received different repository contents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203