MAL-2026-19954: Malicious code in ldk-node (PyPI)

Published Nov 16, 2026
·
Updated

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

Source: kam193 (44588499f90f7a3fe46da6e8cdab060505859066418cfbf68980e9c7eb4eee9b) During import, the package exfiltrates basic environment information as well as all LDK environment variables. It pretends to be a compatibility wrapper for a non-Python package.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-11-ldk-node

Reasons (based on the campaign):

- dependency-confusion

- exfiltration-env-variables

- The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

Affected Software

1 affected component
pip/ldk-node=0.7.9999

Event History

Nov 16, 2026
Advisory Published
via OSV·10:35 AM
Data Sourced
via OSV·10:35 AM
DescriptionAffected Software

Frequently Asked Questions

1

What information could be exposed if this package is imported?

During import, the package exfiltrates basic environment information and all environment variables whose names begin with LDK.

2

What action triggers the malicious behavior?

The described exfiltration occurs during import, so environments that import the package are exposed to the behavior.

3

Why might this package be installed unexpectedly?

The campaign is identified as dependency confusion, and the package presents itself as a compatibility wrapper for a non-Python package.

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