Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in xxoo-bale (PyPI)

The PyPI package xxoo-bale contained malicious code designed to download and execute remotely stored malware with persistence mechanisms. The malicious payload required a separate trigger to activate.

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

The xxoo-bale package published on PyPI contained embedded malicious code as part of campaign 2025-07-cas-base. The code was designed to download and execute a remote executable and establish persistence on affected systems.\n\nThe malware did not execute automatically upon installation; instead, it required an external trigger to activate. This suggests the attack was targeted or relied on specific conditions to deploy the payload.\n\nThe malicious package was identified and credited to the OpenSSF's malicious-packages repository (MAL-2026-3425). The package has been removed from PyPI following disclosure.

Indicators of compromise

Packages
  • xxoo-bale

Remediation

  • Remove xxoo-bale from all environments immediately
  • Audit systems that installed xxoo-bale for signs of malware execution or persistence mechanisms
  • Review system logs for suspicious remote executable downloads or execution
  • Scan affected systems with updated antimalware tools
  • Reset credentials on any systems that may have been compromised
  • Monitor for indicators of compromise related to campaign 2025-07-cas-base

Sources

  1. GitHub Advisory GHSA-46v8-7x99-g2w6 · GitHub Advisory Database

Cite this entry

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

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 riakcs (PyPI)

    The riakcs 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
  2. containedcritical

    Malicious code in fastapii (PyPI)

    The fastapii package on PyPI is a typosquatting attack imitating the popular FastAPI library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    2026 08 FlasqPyPITyposquattingCompromised package
  3. containedcritical

    Malicious code in idnna (PyPI)

    A malicious package named idnna was published to PyPI, imitating a legitimate library. During installation, the package executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    PyPITyposquattingCompromised package
  4. containedcritical

    Malicious code in pydanticc (PyPI)

    The PyPI package pydanticc is a typosquatting attack imitating the popular pydantic library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    2026 08 FlasqPyPITyposquattingCompromised package