Malicious code in xorg-renderproto (PyPI)
Malicious code was discovered in the xorg-renderproto package on PyPI. The package contained intentional malicious functionality and was identified by the OpenSSF malicious packages project.
- Disclosed
- Last updated
- Blast radius
- PyPI package repository; all systems that installed affected versions of xorg-renderproto
- Ecosystems
- Attack vectors
- Affected entities
- xorg-renderprotoPyPI package
The xorg-renderproto package published on PyPI was found to contain malicious code. This appears to be a typosquatting or name-confusion attack, as the legitimate xorg-renderproto is an X.Org protocol specification package, not a Python package.\n\nThe malicious package was identified and cataloged by the OpenSSF's malicious packages project (reference MAL-2025-41800). The incident was disclosed via a GitHub Security Advisory (GHSA-x66f-7x29-8cj8) on July 21, 2026.\n\nAny system that installed this malicious package would have been compromised by the embedded malicious code.
Indicators of compromise
- Packages
- xorg-renderproto
Remediation
- Remove xorg-renderproto from all systems where it was installed
- Audit systems that installed this package for signs of compromise
- Check pip install logs and dependency trees to identify affected deployments
- Use only verified, legitimate packages from trusted sources
- Consider using package verification tools and security scanning in CI/CD pipelines
Sources
- GitHub Advisory GHSA-x66f-7x29-8cj8 · GitHub Advisory Database
Cite this entry
"Malicious code in xorg-renderproto (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-xorg-renderproto-pypi-1wp1ax
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Compromised PyPI Package: mrmustard 0.7.4 Steals SSH, Cloud, and Kubernetes Credentials
PyPI package mrmustard version 0.7.4 was compromised with malicious code that stole SSH keys, AWS credentials, and Kubernetes credentials upon import. The malicious version has been removed from PyPI.
PyPICompromised package - resolvedcritical
Malicious code in adv2099m2 (PyPI)
Malicious code was discovered in the adv2099m2 package on PyPI. The package was identified and cataloged by the OpenSSF malicious-packages project.
PyPICompromised package - resolvedcritical
Malicious code in adminbypasser (PyPI)
Malicious code was published in the adminbypasser package on PyPI. The package silently downloads and executes remote code, establishing persistence via autostart mechanisms. The remote domain used by the malware no longer exists at the time of analysis.
PyPICompromised package - resolvedcritical
Malicious code in adpaypal (PyPI)
The adpaypal package on PyPI contained malicious code executing spyware and information-stealing malware. It was part of a campaign by EsqueleSquad group that published nearly 6,000 malicious PyPI and NPM packages.
EsquelesquadPyPICompromised package