Malicious code in ldk-node (PyPI)
MAL-2026-19954
Published · Modified
Dependency scanning
Check whether ldk-node is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes