Skip to content
OpenAdvisories
Malicious MAL-2024-5325 SNYK-PYTHON-LIBSOCK-6139261

libsock

PyPI package · versions 1.1.3, 1.1.0

Reported Jun 25, 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 (8894e90cf943b19a12209f27fbd96009bc1c0c63af51f723208570e1afae2c47)
---

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

Campaign: 2023-11-update-information-endpoint

Reasons (based on the campaign):

- obfuscation

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

- typosquatting