Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedhigh

Malicious code in abseil-py (PyPI)

Malicious code was published in the abseil-py package on PyPI that exfiltrates basic host information (IP address, username) during installation. The package overrides the install command in setup.py to execute the malicious code.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
PyPI users who installed the malicious abseil-py package
Ecosystems
Attack vectors
Affected entities
  • abseil-pyMalicious package on PyPI

A malicious version of abseil-py was published on PyPI containing code designed to exfiltrate basic system information from the host machine, including IP address and username. The attack was executed by overriding the install command in setup.py to run malicious code during package installation.

The malicious package was identified and attributed to the source kam193 (hash: 6b0ae8e92b62a5524d9ca665a07b3139a9cd4af2af0a0016dc6d425ecc2cc72e). The OpenSSF malicious-packages repository cataloged this incident as MAL-2026-10760.

The attack was classified as a low-harm pentest-style package with limited risk scope, as it only performed basic data exfiltration without additional destructive or persistent capabilities. The incident was reported through the GitHub Advisory Database (GHSA-94ch-c5j7-22jq).

Indicators of compromise

Packages
  • abseil-py

Remediation

  • Remove the malicious abseil-py package from affected systems
  • Audit systems that installed the malicious package for signs of data exfiltration or compromise
  • Use only official abseil-py releases from trusted sources
  • Monitor PyPI for similar typosquatting or compromised package variants
  • Consider using package verification and integrity checking tools in your supply chain

Sources

  1. GitHub Advisory GHSA-94ch-c5j7-22jq · GitHub Advisory Database

Cite this entry

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

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

    2025 11 UzipPyPICompromised package