VYPR

pypi · Malicious package advisory

Malware

py-slugify

MAL-2026-6976

Malicious code in py-slugify (PyPI)

Details


---
_-= Per source details. Do not edit below this line.=-_

## Source: kam193 (67a9d1e498fcf994bbfd8e10bde000990fe4579a88ba5b20848beabac1ae44cc)
During import, this malicious copy of a legitimate package downloads an encrypted data disguise as an image. It contains an archive with a next-stage script that uses the Polygon blockchain (contract 0xC7c9026a3a7e27ec6Ce2D09B19FC1FB4bc978BBb) to get the C2 address. The script then communicates with C2 over an encrypted channel to get further commands and ensures persistence. C2 delivers an executable that is executed by loading it into the memory of another process. During analysis, the encryption key and delivered binary contained test data suggesting the author experiments with building a botnet.


---

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


Campaign: 2026-07-yt-api-dlp


Reasons (based on the campaign):


 - peristence-autorun


 - Downloads and executes a remote malicious script.


 - clones-real-package


 - persistence


 - custom-crypto


 - data-from-blockchain

Compromised versions (1)

  • 0.8.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.