Skip to content
OpenAdvisories
Malicious MAL-2025-934

huggingleg2

PyPI package · versions 0.1

Reported Dec 4, 2024 · Updated Mar 19, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (19ba00b8fab08e8016af3bfb4ba9fbb18510b2aa823dfb82a46a5b3ecd477655)
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.