Skip to main content
Menu
Advisories

Malicious code in ldk-node (PyPI)

MAL-2026-19954Published Updated OpenSSFMalware

Description

--- -= 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 versions

References

bad-packages.kam193.eu