Skip to content

MAL-2026-6976 Malicious code in py-slugify (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= 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

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi py-slugify(PyPI) = 0.8.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi py-slugify(PyPI) = 0.8.2 No fix listed

References