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.
- 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
- 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.
Related incidents
- resolvedhigh
Malicious code in morpho-sdk (PyPI)
The morpho-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 - resolvedcritical
Malicious code in dlmm-sdk (PyPI)
dlmm-sdk, a PyPI package, was compromised with malicious code that exfiltrates environment variables, credential files, and cryptocurrency wallet directory listings upon import. The malicious campaign (2026-08-dlmm) was identified and attributed to OpenSSF's malicious-packages repository.
PyPICompromised package - 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 - 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