MAL-2025-934 Malicious code in huggingleg2 (PyPI)

Malicious package Published
Package
huggingleg2
Registry
PyPI

What is MAL-2025-934?

MAL-2025-934 is a malicious package in huggingleg2, published on 4 Dec 2024.

Official description

Installing the package starts a revshell


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

Campaign: 2024-12-huggingleg2

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

  • The package overrides the install command in setup.py to execute malicious code during installation.

What should I do about MAL-2025-934?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-934 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free