Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in yzip (PyPI)

The yzip package on PyPI contained malicious code that downloads and executes multi-stage malware during archive-support class initialization. The malware exhibits obfuscation and infosteal capabilities, tracked as campaign 2025-11-uzip.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
All users who installed the malicious yzip package from PyPI
Ecosystems
Attack vectors
Threat actor
Affected entities
  • yzipPyPI package containing malicious code

The yzip package published on PyPI contained embedded malicious code designed to execute during the initialization of the archive-support class. Upon installation and import, the package would download and execute a remote executable payload, representing a multi-stage malware attack.

The malicious code included obfuscation techniques and was identified as part of campaign 2025-11-uzip. Analysis indicates clear malicious intent consistent with infostealer functionality, suggesting the attack aimed to compromise user systems and exfiltrate sensitive data.

The incident was identified and documented by the OpenSSF's malicious-packages repository (MAL-2025-192468), which tracks confirmed malicious packages across package ecosystems. The package has been removed from PyPI following disclosure.

Indicators of compromise

Packages
  • yzip

Remediation

  • Immediately uninstall yzip from all systems where it was installed
  • Scan affected systems for signs of compromise or malware execution
  • Review system logs and network traffic for indicators of the downloaded malware payload
  • Change credentials and review account activity on systems that may have been compromised
  • Monitor for data exfiltration or unauthorized access following the installation period

Sources

  1. GitHub Advisory GHSA-qw6w-66xx-g6w9 · GitHub Advisory Database

Cite this entry

"Malicious code in yzip (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-yzip-pypi-1i5q9u

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedhigh

    Malicious code in joule-sbx-poc (PyPI)

    The PyPI package joule-sbx-poc contained malicious code that exfiltrates system information and establishes a reverse shell during installation. The package appears to have been an internal test or pentest tool accidentally uploaded to the public PyPI repository.

    2026 08 Joule Btp ExtensionPyPICompromised package
  2. resolvedcritical

    Malicious code in telebot-pro (PyPI)

    Malicious code was discovered in the telebot-pro package on PyPI. The package contained a hidden exfiltration thread that collects Telegram session files, pictures, and machine information including connected WiFi networks.

    PyPICompromised package
  3. resolvedhigh

    Malicious code in euler-sdk (PyPI)

    The euler-sdk package on PyPI contained malicious code that exfiltrates basic host information (IP address, username) during installation. The package overrides the install command in setup.py to execute the malicious payload when installed.

    PyPICompromised package
  4. resolvedcritical

    Malicious code in joule-btp-extension (PyPI)

    Malicious code was published in joule-btp-extension on PyPI (version 0.1.6). The package contained code to exfiltrate system information, establish reverse shells, and communicate with domains associated with malicious activity. The incident appears to have been an internal test accidentally uploaded to a public repository.

    PyPICompromised package