Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in ziphash (PyPI)

The ziphash package on PyPI contained malicious code that downloads and executes multi-stage malware during archive-support class initialization. The malware exhibits obfuscation and remote code execution capabilities, classified as part of the 2025-11-uzip campaign.

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

The ziphash package published on PyPI was found to contain malicious code injected into the archive-support class initialization routine. Upon package import, the code downloads and executes a remote executable, representing a direct supply chain compromise.\n\nThe malware demonstrates typical infostealer characteristics including obfuscation techniques and multi-stage payload delivery. The incident was identified and attributed to the 2025-11-uzip malware campaign by the OpenSSF's malicious-packages repository.\n\nThe malicious behavior was triggered during normal package initialization, meaning any installation and import of the affected ziphash package would execute the malware without additional user action. This represents a critical supply chain risk to all downstream consumers.

Indicators of compromise

Packages
  • ziphash

Remediation

  • Immediately uninstall the ziphash package from all systems
  • Scan systems that installed ziphash for signs of malware infection and data exfiltration
  • Review package dependencies to identify any projects that depend on ziphash
  • Use only verified, trusted versions of archive-handling libraries from reputable sources
  • Implement package verification and scanning in your dependency management pipeline
  • Monitor for indicators of compromise from the 2025-11-uzip campaign

Sources

  1. GitHub Advisory GHSA-4277-hrwh-9pfm · GitHub Advisory Database

Cite this entry

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

Suggest a correction

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

  1. resolvedcritical

    Malicious code in afrit-name (PyPI)

    Malicious code was discovered in the afrit-name package on PyPI. The incident was identified and documented by the OpenSSF malicious packages project.

    PyPICompromised package
  2. resolvedcritical

    Malicious code in adv2099m7 (PyPI)

    Malicious code was discovered in the adv2099m7 package on PyPI. The package was identified and cataloged by the OpenSSF malicious packages project.

    PyPICompromised package
  3. resolvedcritical

    Malicious code in adrandom (PyPI)

    The adrandom package on PyPI contained malicious code that executed spyware and information-stealing malware. It was part of a campaign by the EsqueleSquad group that published nearly 6,000 malicious packages across PyPI and NPM.

    EsquelesquadPyPICompromised package
  4. resolvedcritical

    Malicious code in adv2099m6 (PyPI)

    Malicious code was discovered in the adv2099m6 package on PyPI. The package contained intentional malicious functionality and has been flagged by the OpenSSF malicious packages database.

    PyPICompromised package