Skip to main content
Menu
Advisories

Malicious code in ldk-node (PyPI)

GHSA-VXJX-JRJX-WWM8Published Updated GitHubMalware

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.

---

Credit: OpenSSF (source)

Affected versions

References

bad-packages.kam193.eu

GitHub · ossf/malicious-packages

GitHub Advisory Database